In Microsoft Dynamics is it possible to automatically change a users default "Lookup View" or any other type of "View" based on what language the user is or what language a user selects?
*This post is locked for comments
In Microsoft Dynamics is it possible to automatically change a users default "Lookup View" or any other type of "View" based on what language the user is or what language a user selects?
*This post is locked for comments
If you are using GridControl for your views, yes there is.
There are various ViewSelector [GridControl] methods but the ones that you'd need to use are getViewSelector() and setCurrentView().
Note: your subgrid control must beconfigured to display the view selector...
Here is the sample code from MSDN
var ContactsIFollow = {
entityType: 1039, // SavedQuery
id:"{3A282DA1-5D90-E011-95AE-00155D9CFA02}",
name: "Contacts I Follow"
}
//Set the view using ContactsIFollow
Xrm.Page.getControl("Contacts").getViewSelector().setCurrentView(ContactsIFollow);
Hope it helps
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,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156