Don't know where to put this question.
I created an mxd and then created a print service that I put up in my ArcGIS Server. I then created an AGOL web application and referenced this print service....This works great.
My question is can I add some sort of user input parameter to allow them to create a title for the map when they use the print service via ArcGIS online web app? Right now I can only hard code a title in the layout before it goes to print service.
When I view the "Get Layouts Templates Info" via the rest end point I can see the 3 CustomTextElements (see below image)
But when I go to print I dont see the option to add text to these Custom Text Elements in the Advanced Window. I dont see anywhere in the advanced settings to add test to these Custom Text Elements...
Anyone have any ideas why this is not working? Or did I do something wrong?
Solved! Go to Solution.
Jay,
If I use a text element I have to have something in the text which defaults to that and gives no option to add a user specified text.
Why do you have to have something in the text as a default. I don't have anything as a default.
Steps:
If I add a Text Element I have to have somethign in the box or does not allow me to add to the layout.
Jay,
OK I see now that I just added a blank space to my elements
Do I need to resister the Export Web Map and Get Layout Template Info with the server I am running this on?
I am publishing from a different server.
Jay,
So in the browser console is it still saying there was an error get the layout info?
This is the browser I am consuming the AGOL app from
Is it because of this error when I publish the service...I just figured it would copy it over as it states
Jay,
Have you re-published the service to synchronous as I pointed out earlier?
yes