Select to view content in your preferred language

Relationship Symbology - Not with attribute expression

258
3
Jump to solution
2 weeks ago
Labels (2)
BlakeMorrison
Frequent Contributor

Using Map Viewer and Map Viewer Classic I can access the Relationship symbology option if I am using Integers directly from my data. If I want to write an attribute expression that returns integers I do not have the same option to use a Relationship Map.

 

Can anyone else confirm this is the case? Does anyone know if there is a reason for this?

1 Solution

Accepted Solutions
RussRoberts
Esri Notable Contributor

This is because the relationship style along with predominance uses a valueexpression to calculate the values being assigned to color and this needs to be a field and cannot be an arcade expression within an arcade expression. You could add new fields and use the arcade expression to calculate those field values and then use those new fields for the relationship style.

View solution in original post

3 Replies
RussRoberts
Esri Notable Contributor

This is because the relationship style along with predominance uses a valueexpression to calculate the values being assigned to color and this needs to be a field and cannot be an arcade expression within an arcade expression. You could add new fields and use the arcade expression to calculate those field values and then use those new fields for the relationship style.

BlakeMorrison
Frequent Contributor

Thanks for confirming. Was hoping to do this dynamically.

JonathanMcD
Frequent Contributor

It's one of those irksome things. Have relationship class for inspection, want to show work priority and tasks on a task map, want to show work tasks as points and not show all assets, don't want to create joined view layer 'cos why would id for inspections

0 Kudos