Skip to main content

is layer.IncludeInLayerList still working in GVH?

Comments

3 comments

  • Permanently deleted user
    Also tried the sample workflow provided included with the installation under Common Client\SetLayerProperty.xaml. on a static map service layer. The workflow was designed to set feature label of the specified layer to the value user enter. I could enter a value, but it didn't make any changes to the feature label showing on map. 
    0
  • Permanently deleted user
    Hi Jack,

     

    The includeInLayerList property of the layer is now deprecated, and would only be observed on Site startup.

     

    Now, the Set Layer List Item Info activity is what we use to toggle something in the layer list, since the layer list can contain layers, services, or folders.

     

    https://docs.geocortex.com/essentials/workflow/4.9/help/Default.htm#wf/help/wf_A_SetLayerListItemInfo.htm

     

    Layer Properties are intended for the arbitrary properties you may add from Essentials Manager, and won't necessarily have any effect on the object properties in the API.  So, you can use them to get and set parameters at run time, or to collect layers based on some property you have set in Manager, but you can't use the activities to change the way the layer is rendered in the viewer.

     

    Regards,

     

    -Malcolm
    0
  • Permanently deleted user
    Thanks Malcolm, that's good to know. 
    0

Please sign in to leave a comment.