SetLayerDefinition - get?
If you've used 'SetLayerDefinition' in one workflow... is it possible to 'get' it to use in another workflow? There seem to be corresponding Get/Set for some properties but not LayerDefinition. (Not to be confused with dynamic definition.)
Thanks.
-
I'd like to have this too.
@Latitude : Can we make this into a feature request?
0 -
Great idea. This is now under development.
--Ryan
0 -
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 -
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 -
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 -
The workflow posted above is missing complete text 0 -
Sorry, Eric. I've taken the original xaml and hosted it as a file. 0
Please sign in to leave a comment.
Comments
7 comments