Hello All,
through Ribbon Workbench I created a SmartButton (Run WebHook type).
Inside the "Success Callback Javascript" section I need to refresh the form,
but to do that I need to be able to access the "FormContext" (and then run formContext.data.refresh(true) )
I know that the formContext is available inside the CrmParameter "PrimaryControl" and in fact I extract it as a parameter:
But how do I access PrimaryControl inside the section "Success Callback Javascript"?
This is the Success Callback you see in debug:
In console, if I try to access PrymaryControl I get an error:
Thanks in advance!
Regards,
Stinger