Joget V6 - FormPdfUtil.createPdf not rendering hash variables

Confluence User - 29 Apr, 2019

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!

form;pdf;service;hashvariable;plugins

5


01 May, 2019
confluenceUser
confluenceUser

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

02 May, 2019
confluenceUser
confluenceUser

Attached sample Document. I used hash variables in customHtml field

02 May, 2019
confluenceUser
confluenceUser

05 May, 2019
confluenceUser
confluenceUser

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.
06 May, 2019
confluenceUser
confluenceUser

Am using in my custom web service plugin

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print