Hoppa till huvudinnehållet

Running a workflow from a hyperlink on a form

Kommentarer

8 kommentarer

  • Dan Giersz
    Try using command:

     

    <a href="command:RunWorkflowWithArguments?workflowId=<workflowid>&<argumentname>=<argumentvalue>">Text that will appear as a hyperlink</a>

     

    Or drop the with arguments part if not needed:

     

    <a href="command:RunWorkflow?workflowId=<workflowid>>Text that will appear as a hyperlink</a>
    0
  • Permanently deleted user
    When I use that syntax I get a server error:

     

    User-added image
    0
  • Dan Giersz
    Can you provide what you used? Or, better yet, put it somewhere else (like in a feature description) on the site and see if it still fails?

     

    Maybe you can't run a command through a hyperlink on a Display Form.
    0
  • Permanently deleted user
    The command for my version of the HTML viewer should be as below when attached to a feature description, and it works fine in the feature description.  Attached to the Navigate URI property of a Hyperlink in a DisplayForm it gave me the same Server Error as above. 

     

    <a href="command:RunWorkflowById?Gas_Service_Cards">GSC</a>

     

    I'm hopeful that someone from Geocortex can chime in here and give some guidance?  I really need to be able to display the basic parcel information in the DisplayForm, and then let the user shoot off into another workflow from the results in the DisplayForm.  So far I have not found any URL syntax to run in the Hyperlink control that would start a new workflow.
    0
  • Permanently deleted user
    Hi Tami,

     

    I did some looking into this, but was not able to get the workflow to run from a hyperlink.  One thing I managed was to get it to run from a button press inside the form.  If this sounds like something that would work for you, please check out my example here:

     

    http://data.latitudegeo.com/support/danny/Reset_View_Workflow.xaml

     

    If not, please open a support case, so we can help you look into this!

     

    Thanks,

     

    Danny
    0
  • Permanently deleted user
    Hi Danny, is is possible for you to provide the example in xaml format as i cannot seem to view that link you provided? I am trying to get a simmilar process working where we would like to run a workflow from a hyperlink or click in a form but having the same issues as Tami.

     

    Regards

     

    Cam
    0
  • Permanently deleted user
    Hi Cam,

     

    I just tried the link, and it worked for me.  If you send me an email (dbriggs@latitudegeo.com), I'd be happy to send the workflow to you directly if you are having trouble downloading it.

     

    Cheers!

     

    Danny
    0
  • Permanently deleted user
    Thanks for that! Yeah thought the raw XML would be easier

     

    Cheers!

     

    Cam,
    0

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