Announcements
No record found.
Hello All,
Can some one please suggest how can i hide and show grid based on application like i wan to show SubGrid on field service app but on Sales app it must hide.
any help!
Thanks & Regards
Hello my friend,
i don't know if there a way to do it with the standard of CRM but, you can do this :
On load of your form you call a javascript method that will hide your subgrid based on the app name using this
var globalContext = Xrm.Utility.getGlobalContext();
var appname = globalContext.getCurrentAppName().then(successCallback, errorCallback);
based on the appname you hide or show ur subgrid.
Hope this helps
I am not getting name
please see this
Hy Kabarousse,
i can get the name using getCurrentAppProperties() instead of using getCurrentAppName()
Thanks for reply
No problem :)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 180 Super User 2026 Season 1
11manish 123
CU11031447-0 100