1
0
-1

I want to be able to provide a URL to a task that embeds the tracking code rather than the submission key (default). Is this possible?

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hi Ben,

      You can use following pattern to do so.

      https://SERVER_CONTEXT_PATH/servlet/SmartForm.html?formCode=FORM_CODE&saveChallenge=true&referenceNumber=REF_NUMBER

      If you want to generate this URL in groovy (server side) then you can use following method as well -

      com.avoka.fc.core.util.PortalUtils.getFormDataServletUrl(Portal portal, boolean htmlForm)

      That class has several other methods to get other URLs as well if you are interested in.

      hope this helps.

      cheers, Parth

        CommentAdd your comment...