質問

In MS Dynamics CRM I want to call post/pre update plugin when new related record is added. I think it can be done by using JS by refreshing the page but will look for other solution without page flicker.

役に立ちましたか?

解決

It sounds like you may have to periodically query CRM with JavaScript and update the sub-grid when a new record has been added. There is no way to push the update to the form when the related record has been added, you will have to pull it with JavaScript.

Here is the JavaScript to refresh a sub-grid:

Xrm.Page.ui.controls.get("sub_grid_name").refresh();

This question may be relevant.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top