Hello,
I am trying to customized the content of the dialogbox used by the IdentityManager (according IdentityManager | API Reference | ArcGIS API for JavaScript ) .
Is there any way to change (customize) the text "Please sign in to access the item ...." ?
Solved! Go to Solution.
Try this:
Customize the text if you want:
// identiy manager sign in content
esri.bundle.identity.info = "Text Here. ${server} ${resource}"; // ${server} ${resource}" hidden via CSS
Hide links:
/* sign in dialog */
.serverLink{
display: none;
}
.resLink{
display: none;
}
Try this:
Customize the text if you want:
// identiy manager sign in content
esri.bundle.identity.info = "Text Here. ${server} ${resource}"; // ${server} ${resource}" hidden via CSS
Hide links:
/* sign in dialog */
.serverLink{
display: none;
}
.resLink{
display: none;
}
Hi Brandon,
I have just tried what you suggested. It works perfectly !
Many thanks for the solution .
hi, where to edit this code with arcgis server side.thanks
This solution works by adding the code to your JavaScript and CSS, not by changing anything server side.
Hi , I have similar problem in my WAB application. so please can you tell which .js file of web app builder to put it in?
It looks like this CAN be changed. Refer to this page in the documentation. Under the identity object, change the message for the info property. The default text for the info property is "Please sign in to access the item on ${server} ${resource}"
Thanks Steve,
I have dig into this link: very very useful.
Thanks again.