Skip to main content

How does the command AddCatlaogLayer work? Can it be used programmatically?

Comments

2 comments

  • Amanda Frech
    Hello Tyson,

     

    The "layer ID" to use with this command should have the following format:

     

    SiteID.MapServiceID.DisplayName

     

    We have noted that our documentation for this command is lacking and have it filed in our bug tracker to fix in the future.

     

    Hope that helps,

     

    Amanda
    0
  • Peter Haddrill
    Just posted another example of solution on this post https://support.geocortex.com/essentialsGSCForumDetail?id=0D5f200006aOf9HCAS&main-nav=essentials&sub-nav=forum

     

     

    Specifically, if layer catalog's site ID is "MyLayerCat", and map service ID is "0", and I'm adding a layer named "Boundaries" and another layer named "Towns" then the value in the Command Parameter should be...

     

    "MyLayerCat.0.Boundaries,MyLayerCat.0.Towns".
    0

Please sign in to leave a comment.