Announcements
Hello,
Is there a way to configure the refresh to keep the users on the current tab after they hit the Refresh button in the Ribbon (not browser)?
For example, we have a My Work tab and Interaction tab on the lead. If I am on the Interactions tab and I hit refresh, it takes me back to the My Work tab.
Bipin Kumar I did, and there are no hide actions or any functionality surrounding this button in the XML.
Hi,
I have done multiple times in my previous project but it is strange that you are facing this issue.
Can you try exporting the solution , open customization.xml and check the RibbonDiff tag to understand what is happening ?
Xavier Monin Bipin Kumar Thank you both. Have you ever un hid a button from ribbon workbench and still not have it display in Dynamics or re-appear in Ribbon Workbench? We had a hide action on the Focus View field that we un-hid, but it still wont show in Dynamics or RW. You can still see the hide action in debug but not RW. I refreshed Ribbon Metadata multiple times.
Hi,
You can customize the Refresh button with a JS script that refresh data of the current record.
If you call formContext.data.refresh(false), the data of the form will be refreshed without losing the current tab. This call will not reload the form, only the data.
You can do it with Ribbon Workbench:
The JS function:
function refresh(selectedControl) { const formCtx = selectedControl; formCtx.data.refresh(false); }
Hi,
Instead of hiding oob button you can attach enable rule and add js code to always return false
Thank you Bipin Kumar Do you recommend hiding the current refresh using ribbon workbench? We previously have hid buttons using ribbon workbench ( Focus View button ) and then later un-hid but they still wont show in Dynamics. Microsoft said they do not support Ribbon Workbench so no one could help.
Hi,
With oob button it will not be possible to achieve what you need
How about creating custom button and 1. write Js code to get tab which is expanded and
2. then refresh the form using core, 3. then set the tab expanded based on the value you have from step -1
Hello,
As far as I know, that's not configurable.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156