Hoppa till huvudinnehållet

Select features after creating buffer

Kommentarer

3 kommentarer

  • Victor Catalán

    Hi Alexander,

    The Layer ID is the unique identifier of a layer within an Esri WebMap. You can find more details about layer specifications and the id property here: Esri WebMap Layer Specification.

    To find the Layer IDs in your webmap, you can use the VertiGIS Studio Item Manager. Here’s an example of what it looks like:

    Additionally, according to the help documentation, “The ID of the layer to be retrieved. In applications that use the 4.x ArcGIS Maps SDK for JavaScript, the title of the layer is also searched if no matching ID is found.” This means you can use the layer name if it’s easier for you. Just be mindful of duplicate names to avoid any confusion.

    Hope this helps!

    1
  • Alexander Bureaux

    Hello,

    Thank you for pointing me in the right direction. Something still seems to be missing though.

    I got ID by:

    1. Go to <Portal URL>/<Adapter>/sharing/rest/generateToken
    2. Select “Webapp URL” and enter <Portal URL>/<Adapter>/sharing/rest/content/items/<WebMap ID found in Portal>/data
    3. Click “Generate Token” and copy result
    4. Go to <Portal URL>/<Adapter>/sharing/rest/content/items/<WebMap ID found in Portal>/data?f=json&token=<Token>

    This gave me a json result with ID:

    I used this ID in the workflow, and the error disappeared, and the Workflow was able to complete. However, no features were selected:

    Workflow:

    1
  • Alexander Bureaux

    Got it!

    Needed to add the URL (found in the JSON imaged above) to the “Url” field of Query Layeri (also imaged above).

    Now I just need to create a report to summarize the results ^^

    1

Du måste logga in om du vill lämna en kommentar.