Veronica, Are you talking about using Application builder or the Flex Viewer uncompiled in Flash Builder or something else?
<operationallayers> <layer label="City_voting_locations" type="feature" visible="true" alpha="1" mode="onDemand" url="http://services.arcgis.com/4B9WU9185SohZnyi/arcgis/rest/services/City_voting_locations/FeatureServer/0"/> </operationallayers>
Veronica, Not sure why you are using 2.3 when you could be using 3.0 but anyway... Here is what you need to add to the main config.xml <operationallayers> <layer label="City_voting_locations" type="feature" visible="true" alpha="1" mode="onDemand" url="http://services.arcgis.com/4B9WU9185SohZnyi/arcgis/rest/services/City_voting_locations/FeatureServer/0"/> </operationallayers>Don't forget to click the top arrow (promote).Follow the steps as shown in the below graphic:
<?xml version="1.0" ?> <configuration> <title>{VOTING_LOC}</title> <fields> <field name="PRECINCT" alias="Precinct" visible="true"/> <field name="VOTING_LOC" /> <field name="ADDRESS" alias="Address" visible="true"/> </fields> <showattachments>false</showattachments> </configuration> <!-- Pop-up configuration file for: http://services.arcgis.com/4B9WU9185SohZnyi/ArcGIS/rest/services/City_voting_locations/FeatureServer/0 See pop-up documentation at http://links.esri.com/flexviewer/popups -->
<layer label="City_voting_locations" type="feature" visible="true" alpha="1" popupconfig="popups/PopUp_Voting.xml" url="http://services.arcgis.com/4B9WU9185SohZnyi/ArcGIS/rest/services/City_voting_locations/FeatureServer/0"/>
Veronica, You have to setup your own popup configuratione file. Here is what you will need:Create a PopUp_Voting.xml file in the popups folder in your Flex Viewer<?xml version="1.0" ?> <configuration> <title>{VOTING_LOC}</title> <fields> <field name="PRECINCT" alias="Precinct" visible="true"/> <field name="VOTING_LOC" /> <field name="ADDRESS" alias="Address" visible="true"/> </fields> <showattachments>false</showattachments> </configuration> <!-- Pop-up configuration file for: http://services.arcgis.com/4B9WU9185SohZnyi/ArcGIS/rest/services/City_voting_locations/FeatureServer/0 See pop-up documentation at http://links.esri.com/flexviewer/popups -->and add the popoupconfig attribute to the main config.xml like this:<layer label="City_voting_locations" type="feature" visible="true" alpha="1" popupconfig="popups/PopUp_Voting.xml" url="http://services.arcgis.com/4B9WU9185SohZnyi/ArcGIS/rest/services/City_voting_locations/FeatureServer/0"/>
Veronica,Another option is to use the web map as authored on arcgis.com. To do this, you would just set the map tag like this:<map itemid="c4670a647b2f42e3b6818edc7cb485cd"></map>
Veronica, As your data is public I used your data and got the popup to work with what I sent you. You need to double check your sets and see if you missed something.
Veronica,Sure you can change the symbology in the portal web map and re-publish. The other way would involve changing code in the Flex Viewer source.
See these help pages:http://help.arcgis.com/en/arcgisonline/help/index.html#/Using_a_single_symbol/010q0000008q000000/http://help.arcgis.com/en/arcgisonline/help/index.html#/Saving_item_properties/010q0000009n000000/
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.