Field updates only if I update browser in dynamics crm -
i wrote plugin crm. update field of entity a when create new entity b. have form entity a , in form have tab entity b. when create new entity b tab plugin change field in entity a. can't see change until reload browser page.
you're somehow losing sight of fact plugin running on server, , updates data in database on server. there no built in method of having database update trigger notification on particular client (or all). have 2 options:
- trigger xrm.page.data.refresh (or save work well, since pull down new values) within context of
entity a, after performing save ofentity b. - use polling , crmwebapi or odata endpoint query crm value updating on server side, , updating on client well.
your question little difficult understand, #1 may difficult if don't have way of knowing in context of entity a user should have created entity b. #2 work, not scale if have hundreds of users sitting there polling.



Comments
Post a Comment