Hoppa till huvudinnehållet

Tying the Site and Viewer to a Workflow for Editing

Kommentarer

3 kommentarer

  • Zack Robison
    We always do this with a button or hyperlink in the layer's feature description.  You can hook viewer commands into text or images there, such as RunWorkflowWithArguments (https://docs.geocortex.com/essentials/gvh/latest/commands-help/#/commands/Workflow/RunWorkflowWithArguments) .
    0
  • Permanently deleted user

    If you are still wondering, this is what we've done:

    • publish the service from ArcMap with Feature Access enabled. Select the options you want users to have access to (e.g. create, delete, update, etc)
    • in Geocortex Manager, add the Feature Service (not the accompanying map service) to the map
    • Add a map tip for the layer
    When the feature is clicked on, there will be an option in the map tip to edit. Selecting this will open a window much as you describe, with all the attributes. Using ArcGIS 10.5.1 and Geocortex 4.12.2, domains come through with their "friendly" values. You can also get to the editing option by identifying a feature, then using the 3 dot menu on the left side of the results window.

     

     

    To create a new feature you can either add the editing section to the toolbar, or click the layer's right arrow in the layer list and choose "Create a feature".

     

     

    We didn't need to create anything custom for these to work. When the user saved the edits, they propogated back to our Oracle database. Note that this may be dependent on the authorization setup you have on your original data - for the db connection from which we added the data into ArcMap and subsequently published, we used database authentication with a user that has editing rights (not osa).

     

     

    Good luck :)

     

    Jena
    0
  • Permanently deleted user
    Wow. That was amazingly simple. Geocortex does a weird job of showing services with their little icons and their tree. But selecting the right service meant expanding the square icon, selecting the square icon, and then clicking Add to Map. After enabling Map Tips on these layers, it worked as you said! I also like how the form that comes up only shows those fields where, in the service, I had marked them False for ReadOnly.
    0

Du måste logga in om du vill lämna en kommentar.