web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Autorefresh a table form ever 5 seconds to show externaly inserted data in the table

(0) ShareShare
ReportReport
Posted on by 127

Hi Guys,

We are creating a new app for operations in D365 CE.

the form we are creating lists a bunch of things an external Azure runbook wil do. We will also show a subgrid with a view of the logging table where Azure will write the progress of the tasks.

Is there a way to have a yes no slider of tickbox that will start a function (I asume javascript or powerA) to refresh the page every x seconds to show the new data azure runbooks have added to the logging table. Yes I am lazy ;) . We need the yes/no box or slider to make sure it does not refresh when we are inputting the data. only when we fire up the jobs we will set it to yes and then see the page refresh on its own 

I have the same question (0)
  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hi Jurgen,

    Please refer to the below links that you can use for refreshing the form. Basically, you have to register this function on Load of the form and use setTimeOut method to execute the refresh function. Also, you can put a condition in your logic to check for the field value if it is set to yes or not. Based on this you can achieve your goal.

    docs.microsoft.com/.../refresh

    www.w3schools.com/.../met_win_settimeout.asp

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at

    do you want to refresh the Form or the subgrid ?

  • ez Jurgen Profile Picture
    127 on at

    Oh even better if we could refresh the subgrid only

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hi Jurgen,

    You can follow this thread to implement the grid refresh in every 5 secs:

    community.dynamics.com/.../refresh-entity-form-after-adding-row-to-a-sub-grid

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at

    If you need you can put your code on load of the form and compare the count of the records on the grid and on backend. if it matches then you can stop the refresh else just put a wait condition for couple of seconds and go thought the same condition again.

    If you don't want this customization then just add this sub grid on separate tab and use default refresh button on the sub grid.

    Thank you,

    Amit Katariya

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans