I have figured out how to add the tile, author and copyright on a custom layout template. First you have to add text to your map. Do the following in the text properties box:For Map title: Copy <dyn type="document" property="title" emptyStr = " "/> in the text box. In the Size and Position tab, type Map Title in the Element Name boxFor Copyright: Copy <dyn type="document" property="credits" emptyStr = " "/> in the text box. In the Size and Position tab, type Map Document Credits in the Element Name boxFor DATE: Copy <dyn type="date" format="MMMM d, yyy"/> in the text box. In the Size and Position tab, type Date in the Element Name boxFor DATE: Copy <dyn type="document" property="author" emptyStr = " "/> in the text box. In the Size and Position tab, type Author in the Element Name boxHope this helps
ok, I was able to get that to work using a template sort of. First of all, if I don't enter a value in Title in the widget, Title is what appears. Maybe I should just put something like My Map as a default in the xml? Second, I added a Legend but all I get for that is the word Legend on the printout and no legend. Is there a setting that needs to be made to make this work? Lastly, I put a logo on the template and it does not appear. I attached what I am seeing.
... Also, how do I force the usescale to be checked? ...
<usescale>true</usescale>
Hi, I've been playing around with the new print Widget and 10.1 Print task in 10.1 and it works great! But.. it seems the <layouttemplates defaultvalue="xyz"/> tag (as shown in the sample "PrintWidget_exportlessoptions.xml") is being ignored. I specified <layouttemplates defaultvalue="Letter ANSI A Landscape"/> and it defaults to MAP_ONLY in the dropdown.When I put in the <formats defaultvalue="PDF"/> it shows PDF by default in the dropdown.Is there a link to updated documentation for the tag references for the new print widget?THanks,Chris
<?xml version="1.0" ?> <configuration> <!-- change this URL to your own Export Web Map Task (requires ArcGIS Server 10.1), or just remove the taskurl tag to get quick printing --> <taskurl>http://servicesbeta2.esri.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export Web Map Task</taskurl> </configuration>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.