I have a simple hosted layer showing six universities in Virginia:
https://services1.arcgis.com/7SazdyBTbp9w1Fga/arcgis/rest/services/VA_colleges_web_doc_test/FeatureServer/0
The attributes include hex values for the individual school colors: COLOR1 and COLOR2. I want to take these attribute values and use them to color the symbology and label for each school. I want COLOR1 to become the color of the point on the map and I want COLOR2 to become the color of the label on top of each point.
I could use a UniqueRenderer but, from what I've read, I would have to type out each unique value in the code. I don't want to do that. I want the program to go through the attribute table and collect the values it finds. Is this possible? If so, is there some code that can point me in the right direction?
Thank you.