1
0
-1

Hi

Am creating web service plugin to generate PDF using formId and primary key,

 

 FormPdfUtil.createPdf(formID, primaryKey,
                appService.getAppDefinition(appDefID, appVersion), null, null, "Head", "Foot", css, true, true, true);

It's not rendering hash variable and the page number is not showing.

Please help!

    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      Are you building a plugin or using customHTML form element? In https://dev.joget.org/community/display/KBv6/Hash+Variable#HashVariable-FormDataHashVariable it clearly mentioned that the scope of use for this hash variable is 

      • In a Process Tool part of a Process.
      • In a Form.
      • In a process design.
      1. Ranjith

        Am using in my custom web service plugin

      CommentAdd your comment...
    2.  
      1
      0
      -1

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi, there is not enough information, what specific hash variable and page numbers do you mean? Any errors in the console or logs?

        1. Ranjith

          Attached sample Document. I used hash variables in customHtml field

        CommentAdd your comment...