Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Reload form when field value changes? (javascript)

$
0
0

Hi,

I have set a realtime workflow to be running when the user saves the form. The workflow will finally set the boolean field des1_prerunworkflowcompleted to true.

I wan't the form to be reloaded, when the value is changed to true, how can i accomblish this?

I will like to get this displayed when doing so..

http://www.crmanswers.net/2014/10/the-xrmpagedatarefresh-method.html

Something like? (I know nothing about java). But I have added the following to a new form library, and then added it to the event handler (To des1_prerunworkflowcompleted, and selected on change). But nothing is happening...

It should load when the realtime workflow is running, changing the Boolean field des1_prerunworkflowcompleted to true..

// Refresh page

                    if (prerunworkflowcompleted == true) {

                    Xrm.Page.data.refresh();

}


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images