Select to view content in your preferred language

Printing Widget Configuration for Custom Layouts

1654
3
05-30-2014 10:33 AM
JonahWaterman
Regular Contributor
I have published a mxd template to our server as a Geoprocessing Service. I want to be able to print within flex to this desired template. However I am experiencing some difficulty with the confiuartion within the print widget container in Flex. Does anyone have any configuration codes available for the customized print widget that I can look at. Thx.
Tags (2)
0 Kudos
3 Replies
BjornSvensson
Esri Regular Contributor
Are you using the application builder, or creating the xml configuration file by hand?  If you're using the application builder, it should help you create those files.
0 Kudos
BrianOevermann
Frequent Contributor
Jonah,
If I recall correctly, the help outlines a couple of different methods related to using your own templates.  One is via publishing an Export Web Map gp print task.  The other is discussed under the umbrella of "advanced printing".  Are you talking about the Export Web Map gp task when you say "...published...a geoprocessing service"?  If so, you either save your mxd templates in a folder or let ArcGIS Server copy them onto the server (recommend the former) per the instructions in help.  The config file entries for the Flex viewer are really minimal, regardless if you use the Application Builder or the source code.

I suspect you were following the help related to the "advanced printing", as the result is something that you then need to program your own front end to use effectively. Just my opinion.

I effectively serve up letter-sized to E-sized templates to my users with the Export Web Map print task, with excellent results just by following the instructions in help carefully.
0 Kudos
JonahWaterman
Regular Contributor
Thanks for the help, I got it figured out.


Here is the steps I took
1) Executed "Export Web Map"
2) Go to the Geoprocessing results, right click and select to Share As a Geoprocessing Service
3) Place in correct location on the server
4)use the url for the geoprocessing service(your custom layout) and embed with the print widget
         

Print Widget Example
?xml version="1.0" ?>
<configuration>

    <taskurl>Place the URL to the Service Here</taskurl>
</configuration>
0 Kudos