Hallo,Ich habe viele Ebenen in meiner Webkarte, in denen ich ein Feld in Ebene - A mit der Attributtabelle von Ebene - B befüllen muss. Gibt es eine Möglichkeit, dies zu tun?<\/P>
Hey there!
In ArcGIS Enterprise, when you want to call or reference fields from a feature layer that is not directly part of the web map, you generally need to use Arcade expressions in a context where that feature layer is accessible. Arcade expressions are typically used for labeling, symbology, and pop-ups within the context of a web map or a web application.
If the feature layer you want to reference is outside the web map, you might need to work within an environment that allows for cross-layer querying or lookups. Here's a general approach using Arcade expressions in a scenario where you can access the data via the layer:
// Define the related layer by namevar relatedLayer = FeatureSetByName($map, "Related Layer Name");
// Filter and retrieve the desired featurevar relatedFeature = First(relatedLayer);
// Access the field values from the related featurevar relatedFieldValue = relatedFeature.YourFieldName;
// Use the value in your expressionreturn relatedFieldValue;
Always check the latest documentation or support forums for ArcGIS Enterprise, as functionality can evolve, and new features or methods may be introduced in newer versions.
Hi Nandhini,
I've a query, are you looking for a attribute just to populating? If yes, an Arcade expression can help here. Or if a permanent join, then we may think on Join in the database (Left Join) or a view layer (combining Layer A and Layer .
Let me know your thoughts!
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.