Zum Hauptinhalt gehen

SetLayerDefinition - get?

Kommentare

7 Kommentare

  • Berend Veldkamp

    I'd like to have this too.

     

    @Latitude : Can we make this into a feature request?

    0
  • Ryan Cooney

    Great idea. This is now under development.

    --Ryan

    0
  • Ryan Kelley

    Ryan,

    Can the SetExternalValue / GetExternalValue activities accomplish this, both supported in Essentials 4.0, Geocortex Viewer for Silverlight 2.0?  The original question in this thread is exactly what I am trying to do, but seeing the date of your last post, I am assuming this cannot be done with the said commands...at least at this point.

    I am not having much luck trying to carry over or build upon an existing layer definition. Without getting into versioning and such, the customer would like the user to be able to add points to the dataset, but only see the points that user has created in their session. Therefore, I am running a startup workflow where the Layer of interest's layer def is OBJECTID = 0, and no records draw. However, once the user adds a record, I get the objectid and change the layer def to cater to their new record. So, they can see the record created, but if they create another one, they only see the new one created, and not the original.

    Ryan

    0
  • Ryan Kelley

    I think I spoke too soon. I was able to get this to work by using Set External Value and GetExternal Value! Once I get a better workflow working, I'll post it to this thread.

    Ryan

    0
  • Ryan Kelley

    This isn't the cleanest as it appends the current objectId(s) ontop of each other, but it certainly works.  I guess you could delete exisitng values from the list, but since my def query uses IN(), it doesn't really matter. I am setting objectId to 0 if there is no value to 'Get' yet.

    Built in Workflow Designer 2.20.1.3

    (http://data.latitudegeo.com/community/userfiles/rkelley/getLayerDefinition.zip) getLayerDefinition workflow

    0
  • Permanently deleted user
    The workflow posted above is missing complete text
    0
  • Permanently deleted user
    Sorry, Eric. I've taken the original xaml and hosted it as a file.
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.