Select to view content in your preferred language

Title on Custom Printing Layout

3088
5
09-18-2012 08:02 AM
DavidAlford1
Occasional Contributor
I have created a custom Layout, configured it using the ExportWebMap, and made it a service on my ArcGIS server 10.1.  Problem is, I am trying to find a way to make the Title of my map change (dynamic) by allowing the user to put their own title.

I have posted this before and have not got ANY response by ESRI...

HELLO...Where are you ESRI? Your tutorial doesn't cover this!!
Tags (2)
0 Kudos
5 Replies
BjornSvensson
Esri Regular Contributor
I have created a custom Layout, configured it using the ExportWebMap, and made it a service on my ArcGIS server 10.1.  Problem is, I am trying to find a way to make the Title of my map change (dynamic) by allowing the user to put their own title.


Hi David - thanks for creating a separate thread 🙂

Are you using version 3.0?
Are you using the application builder to create your application?

If you use the application builder and configure the print widget to "Print with ArcGIS Server", then the default is to allow your end users to set the "Title" etc.  See the example in the resource center - http://resources.arcgis.com/en/help/flex-viewer/live/index.html?config=apps/config-print.xml
If this not happening in your case, could you share the URL to the application?  Or if not public, show us what the printwidget xml file looks like - it should probably be similar to http://resources.arcgis.com/en/help/flex-viewer/live/widgets/Print/PrintWidget.xml


I have posted this before and have not got ANY response by ESRI...

HELLO...Where are you ESRI? Your tutorial doesn't cover this!!


The forum is primarily a user-to-user forum, if you need to contact Esri for Technical Support, please see http://support.esri.com/.
0 Kudos
DavidAlford1
Occasional Contributor
Yes...we are using the most current version 3.0.

The link to the application is....  

http://webmaps.es2-inc.com/flexviewers/Denham_PW/


I would like to know the code to put in my template so the user's title that the put in will go where I have "Site Location Map" and the code so that the auther and copyright infoo shows up on the bottom right hand side of my template.
0 Kudos
BjornSvensson
Esri Regular Contributor
Thanks for sharing the URL.  It seems like the "title" is being sent correctly to your print service, but that your map template is ignoring it.

See the "layoutOptions" section in http://resources.arcgis.com/en/help/main/10.1/index.html#/ExportWebMap_specification/0154000004w8000... on how to setup the "titleText".

I'm not sure if it will help or confuse, but there is an older forum thread on how to add custom elements, but that should not be needed in your case - http://forums.arcgis.com/threads/62361-Print-Task-API3-AGS-10.1-Layout-Option-CustomTextElements?p=2...).
0 Kudos
DavidAlford1
Occasional Contributor
I want to thank you for helping. That did the trick.

I have several issues revolving different ESRI applications, and you were one of the only people to promptly help me get through my problem.

I appreciate the help and hope the rest of the ESRI crew take a page from your book!!

Thanks again!!!
0 Kudos
DavidAlford1
Occasional Contributor
One other issue we just noticed.

In our layout, all of the layers that are on show up in the legend. How do I make just the layers in the data frame show up in the legend and not all of them that are turned on at that scale?
0 Kudos