Zum Hauptinhalt gehen

Display Version On-the-fly?

Kommentare

3 Kommentare

  • Ryan Kelley

    Berand,

    Thanks for the snippet - I'll look into that. I was wondering how you were using that 'featureLayer.GdbVersion = "version 2";' syntax in your original post. Can this code be run via a workflow, whereas a user can choose their version of interest? Essentially, I need to show the records of a version, and have the user edit their vertices and/or attributes. 

    As for the versions on the fly... I am just running a quick GP task to get the username and append a date stamp, to make a unique version. So, the user has a version to write specific records to, which works, I just can't show them or utlize the info other than a graphics layer in the SLV.  I can see them all in ArcMap. Picking an existing version works in a similar way... A quick GP Task is run to allow the user to select a version that starts with his/her name.

    I may hit you up for some specifics about the custom module you have.  I'd like to know if what I am trying to achieve is even possible, before I go down this road though... Anyone?

    Ryan

    0
  • Ryan Kelley

    Hi Berend,

    If you able to share some instructions on how to use your custom module for versioning, can you email me at rkelley@blm.gov ?  This would be very helpful.

    thanks in advance,

    Ryan

    0
  • Ryan Kelley

    Hi Berend,

    I am sorry to ask for additional hand-holding. Have you already written a class or module for this activity?  It sounds like you've already written something and have tested it. "It is easy enough to build a module that sets a version on a layer, e.g. 'featureLayer.GdbVersion = "version 2";', and this will actually show features from that version on the map." - I am a total beginner in VS and don't even know where to begin writing this up, assuming that is what I need to do from the sample code you provided. Anyway, any additional help or existing files you can pass along would be greatly appreciated.

    Ryan

     

     
    0

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