Hi all,
We have an issue with a model driven app. This app contains a dialog that is implemented as a custom page. The custom page is opened from a main form in the app via a button that is added via the command designer:
Xrm.Navigation.navigateTo(pageInput, navigationOptions)
.then(
function success() {
// Called when the dialog closes
formContext.data.refresh();
formContext.ui.refreshRibbon();
},
function error() {
console.log("An error occurred");
}
).catch(
function (error) {
console.log("An error occurred");
}
);
When the custom page is closed, the record that was shown on the main form in the model driven app is patched and the status of the record is changed to 'Closed'.
The solution that contains this app also includes a custom role. Now the issue is that if a user has this custom role, the button in the main form on the model driven app is not hidden after the custom page is closed (so status of the record changed to 'Closed').
When executing this logic as System Administrator, the button is hidden as expected.
Any thoughts on why this is not functioning as expected for users that only have this specific custom role?
Is this some security issue and if so what permissiong could be missing on the role?
Is there an easy way to find out why his is not working as expected for users with the custom role only?
mmbr1606
22
Super User 2025 Season 1
stampcoin
19
Michael E. Gernaey
15
Super User 2025 Season 1