Hoppa till huvudinnehållet

Set Layer Definition for Feature Service?

Kommentarer

6 kommentarer

  • Permanently deleted user

    Hi Ryan,

    Feature Server layers don't have a "layer definition" that you can set.  So, the workflow activity thinks it is not supported.

    We added some code to the Silverlight and Javascript APIs to use the WHERE clause for the layer if there was no dedicated layer definition field.  You will be able to use the Set Layer Definition activity with feature services in the next releases of the HTML5 and Silverlight viewers (1.3 and 1.10 respectively)

    Regards,

    -Malcolm

    0
  • Ryan Kelley

    Thanks for the information Malcom.

    Ryan

    0
  • Permanently deleted user

    I am running HTML5 viewer 5.13 - but can't find any of this information in the docs.

    Can you show me an example of this or direct me to this functionality?

    0
  • Permanently deleted user

    Hi Sam,

    I just tried a quick test using the Set Layer Definition workflow activity, using the Layer ID and Layer Name for a FeatureServer backed layer, and it worked as expected (only showing the features as described in the layer definition).

    What information did you expect to find in the docs?

    Regards,

    -Malcolm

    0
  • Permanently deleted user
    Sorry guys, i am new to geocortex. How do i get a correct Map Service ID? I am getting "Unable to find map service with ID '0'" error. I have a map service arcgis/rest/services/EMMA/EMMA_Commitments_20160714/FeatureServer/0 with one layer in it. I am usng SetLayerDefinition activity. It does not work for me.
    0
  • John Nerge
    The Map Service ID is specific to your Geocortex site. You can look them up by opening the site's REST endpoint (click the icon that looks like a chain link and a green arrow). Each Map Service ID is listed in parenthesis next to the Map Service Name.

     

    _img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000Xd2X&feoid=Body&refid=0EM60000000XwZe" _/_img_
    0

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