Select to view content in your preferred language

Printing - "customImageElements" ?

833
2
Jump to solution
08-02-2012 06:33 AM
Drew
by
Frequent Contributor
I see in the "PrintParamaters.layoutOptions" you can have customTextElements.
Does anyone know of a way to add in custom Image Elements?

I want to pass a URL of an image to the Layout Template, but I can not see any way to properly code this in.

thoughts?

Drew
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DasaPaddock
Esri Regular Contributor
This tutorial shows how to pass in an extra custom parameter to your print service:
http://resources.arcgis.com/en/help/main/10.1/#/Tutorial_Advanced_high_quality_webmap_printing_expor...

It sets the PrintParameters.customParameters property.

e.g.,

  <esri:PrintParameters id="printParameters"          format="{formats.selectedItem}"          layoutTemplate="{layoutTemplates.selectedItem}"          map="{map}">    <esri:customParameters>     <fx:Object Georef_info="{Georef_info.selectedItem}"/>    </esri:customParameters>    <esri:layoutOptions>     <esri:LayoutOptions title="My Map">      <esri:legendOptions>       <esri:LegendOptions>        <esri:LegendLayer id="myLegendLayer" layerId="myDynamicService" />       </esri:LegendOptions>      </esri:legendOptions>     </esri:LayoutOptions>    </esri:layoutOptions>    </esri:PrintParameters>

View solution in original post

0 Kudos
2 Replies
DasaPaddock
Esri Regular Contributor
This tutorial shows how to pass in an extra custom parameter to your print service:
http://resources.arcgis.com/en/help/main/10.1/#/Tutorial_Advanced_high_quality_webmap_printing_expor...

It sets the PrintParameters.customParameters property.

e.g.,

  <esri:PrintParameters id="printParameters"          format="{formats.selectedItem}"          layoutTemplate="{layoutTemplates.selectedItem}"          map="{map}">    <esri:customParameters>     <fx:Object Georef_info="{Georef_info.selectedItem}"/>    </esri:customParameters>    <esri:layoutOptions>     <esri:LayoutOptions title="My Map">      <esri:legendOptions>       <esri:LegendOptions>        <esri:LegendLayer id="myLegendLayer" layerId="myDynamicService" />       </esri:LegendOptions>      </esri:legendOptions>     </esri:LayoutOptions>    </esri:layoutOptions>    </esri:PrintParameters>
0 Kudos
Drew
by
Frequent Contributor
Thanks for the link/info Dasa!
0 Kudos