Select to view content in your preferred language

Print Secured Services using IWA

42
1
4 hours ago
vijaybadugu
Frequent Contributor

I am using ArcGIS JavaScript SDK to export the map to PDF. I do not have any issues the service shared with everyone, when i tried to share it to organization, it is throwing an error " Failed to create layer from service ". 

Print service is also shared with organization. is there a way to pass the credentials or token ?

0 Kudos
1 Reply
SteveCole
Honored Contributor

One thing to check out is on the SDE side of things. I was getting the same error through an Experience Builder app (thread here) and, through some exploration, we discovered that the layer that would throw the error did not have the same accounts listed on SDE's Manage->Privileges compared to other layers which did print fine. Again, not saying that this is your issue but it's something to check.

Steve

0 Kudos