I as system admin role, have customized command bar by adding a command "Documents" to upload documents using "Run JavaScript Action". After all configuration and publishing the command bar, I can see the custom command but not the end user. Can someone help with how to make it visible to end users. Here are the screenshots of the custom command and configuration.
function openCustomPageDialog(primaryControl, firstSelectedItemId, selectedEntityTypeName)
{
// Centered Dialog
var pageInput = {
pageType: "custom",
name: "tms_trademarksdocuments_905b7",
entityName: selectedEntityTypeName,
recordId: firstSelectedItemId
};
var navigationOptions = {
target: 2,
position: 1,
height: {
value: 500,
unit: "px"
},
width: {
value: 500,
unit: "%"
},
title: "Upload Documents"
};
Xrm.Navigation.navigateTo(pageInput, navigationOptions).then(
function () {
// Refresh the main form when the dialog is closed
primaryControl.data.refresh();
}
).catch (
function (error) {
// Handle error
}
);
}
WarrenBelz
770
Most Valuable Professional
stampcoin
494
MS.Ragavendar
399