Skip to main content

Run a command from url in a form

Comments

2 comments

  • John Nerge

    Is there a reason you need to run the workflow from a link? You can capture whether or not the user clicks the link by capturing the argument in a display form, but I don't know if a hyperlink item supports running a command. It would be much simpler to add a button and use an If control or flow switch to determine what to do based on which button the user chooses.

    0
  • Permanently deleted user

    I am trying to replicate a custom flex app I built. It does a drill through on many layers and returns the results. The result has a "Show Map" link which will turn on the associated mase map. (See the image, it will make more sense).

    I cant run a command from a form, but I can run it from a featuredescription result. So now I am testing the 'SelectFeature' workflow command with a dummy featureset, but pass in my result details in the "Long Description Format" as a string. It seems to work. I can post a follow up once I have it set up and confirmed it is working. 

    So not sure if it is a bug or design feature that command links do not work from the workflow form control.

     

    My flex api app results panel. In Geocortex, 'Show map' would be  <a href="command:SelectBaseMap?Zoning">Show Map</a>

    /customer/servlet/servlet.FileDownload?file=00P6000000em1SUEAY

     

    0

Please sign in to leave a comment.