Select to view content in your preferred language

Dynamic Title in custom Layout and Legend issues

2479
3
09-14-2012 06:25 AM
DavidAlford1
Occasional Contributor
I have configured a custom layout to print using Flexviewer, but have a couple of issues.

1. I need to be able to have the end user put their own title in my custom layout where I have the title already. It needs to change dynamically or be placed in the location where I want it to go.

2. When the legend is placed on the PDF it shows all the layers that show up at that scale. I only want the legend to show the layers that are on the screen.
Tags (2)
0 Kudos
3 Replies
JasonNielsen
Regular Contributor
I have configured a custom layout to print using Flexviewer, but have a couple of issues.

1. I need to be able to have the end user put their own title in my custom layout where I have the title already. It needs to change dynamically or be placed in the location where I want it to go.

2. When the legend is placed on the PDF it shows all the layers that show up at that scale. I only want the legend to show the layers that are on the screen.


I am interested in this as well. I've spent the last few days trying to get the legend working correctly but it appears to be random for the most part on what it displays and doesn't honor the legend location and spills out over the total area allowed for the legend. Also the symbols used, Points, lines or polygons looks really bad. See image.[ATTACH=CONFIG]17696[/ATTACH] I was wondering if you knew where you can control what is showing up in the legend as i would like to remove items from the legend as well.

To get the title to show up on a custom layout this is what i did on the MXD. Create a text on the layout and place it where you want the text to show up on the layout. Copy and paste the code below into that text and you should get the title to display on the layout. Once you are in the print widget just enter in your title you want and it should display properly.

<dyn type="document" property="title" emptyStr = " "/>
0 Kudos
MegPeterson
Regular Contributor
Did either of you find a fix for this? I'm running into the same problem with Flex Viewer 3.0. Thanks -
0 Kudos
RhettZufelt
MVP Notable Contributor
Meg,

Not sure which problem you are experiencing, but did you see this post?

Look at the bottom, and the link in second post.

http://forums.arcgis.com/threads/67032-Flexviewer-3.0-Print-Widget-Custom-Layouts

R_
0 Kudos