Hi,
Based on one condition when user creates a opportunity record through the sub grid that is on contact form, I would like to refresh the sub grid through JS.
Please advise the JS code to achieve my criteria
Thanks!
Hi,
Based on one condition when user creates a opportunity record through the sub grid that is on contact form, I would like to refresh the sub grid through JS.
Please advise the JS code to achieve my criteria
Thanks!
Hello James,
Since you wanted to refresh the sub grid , Its better to have a code on the Opportunity sub grid present in the contact form.
you can also have a try writing the same js to refresh the Opportunity form and cross verify once .
Hi Adarsha,
Where should I place the script in?
Is it in the contact form where the opportunity subgrid is on or on load of the opportunity form?
Please advise.
Hi Partner,
In order to refresh we have an OOB feature which ,
Asynchronously refreshes and optionally saves all the data of the form without reloading the page.
docs.microsoft.com/.../refresh
Syntax :
formContext.data.refresh(save).then(successCallback, errorCallback);
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156