refreshRibbon (Client API reference)

Applies to Dynamics 365 for Customer Engagement apps version 9.x

Causes the ribbon to re-evaluate data that controls what is displayed in it.




Name Type Required Description
refreshAll Boolean No Indicates whether all the ribbon command bars on the current page are refreshed. If you specify false, only the page-level ribbon command bar is refreshed. If you do not specify this parameter, by default false is passed.


This function is typically used when a ribbon (RibbonDiffXml) depends on a value in the form. After your code changes a value that is used by a rule, use this method to force the ribbon to re-evaluate the data in the form so that the rule can be applied.