Polling status from salesforce remote action and update the components on Skuid page

pocpoc
edited October 2019 in Questions
Let's say I have a meeting page which is built on skuid.
The meeting host can stop the meeting clock or pause the meeting clock.
If the meeting status changed. All the opened meeting pages should be reflected for those attendees.
For example, when the timer is paused. The vote or comments component should be hidden or READ-ONLY.

My approach is that I will run a Javascript snippet in the background and keep polling the status via  Salesforce remote actions.
Once the status changed, I will disable/enable some Skuid components.
The thing is any direction to disable or re-query models by polling the status in the background.

Just have no idea how to re-query models or hide components using Javascript within a skuid page.

Any idea or direction?


Comments

Sign In or Register to comment.