How does the template picker determine the sequence of buttons?

2563
3
Jump to solution
03-29-2011 02:33 AM
by Anonymous User
Not applicable
Original User: mannus

The buttons in the template picker are based on the featuretemplates from the featurelayers. The first buttons are from the first featurelayer and so on.

This works perfectly with only one symbol per featurelayer.

Now I have two featurelayers with a simple symbol and one with a uniquevalue renderer.
How is the sequence of templates determined when you use a unique value renderer?

In the screenshots you can see the sequence in ArcMap (TOC DBKThema.jpg) and the REST-interface (86.jpg) and how it ends in the template picker. (85.jpg)

How does this work and how can I have influence on the sequence of the unique value renderer?
0 Kudos
1 Solution

Accepted Solutions
JenniferNery
Esri Regular Contributor
The TemplatePicker determines the order of its symbols by the FeatureLayer.FeatureTypes.

Try this service: http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0. Notice that the Drawing Info order and the Types order are different. Like in your sample that it is not the Renderer order that is followed but the Types order.

View solution in original post

0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor
The TemplatePicker determines the order of its symbols by the FeatureLayer.FeatureTypes.

Try this service: http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0. Notice that the Drawing Info order and the Types order are different. Like in your sample that it is not the Renderer order that is followed but the Types order.
0 Kudos
by Anonymous User
Not applicable
Original User: mannus

thanks jennifer!

again you helped me a lot 🙂
now i understand the order and i have to figure out what we can do with featuretype 🙂
0 Kudos
JenniferNery
Esri Regular Contributor
No problem 🙂 glad I could help
0 Kudos