PDF Generation

671 views
Skip to first unread message

besumm...@gmail.com

unread,
Oct 15, 2015, 6:41:33 AM10/15/15
to Fujitsu RunMyProcess Developer Community
Hello,
I try follow the tutorial of pdf generation of RMP, but I can't know how I can generate. Somebody can help me step by step?

besumm...@gmail.com

unread,
Oct 15, 2015, 7:34:58 AM10/15/15
to Fujitsu RunMyProcess Developer Community, besumm...@gmail.com
Please somebody help me

Pankaj Kumar

unread,
Oct 15, 2015, 7:51:27 AM10/15/15
to Fujitsu RunMyProcess Developer Community
Hi,

The RMP User Guide link (http://docs.runmyprocess.com/Developer_Guide/Process/Design/PDF) is self explanatory. Can you give us the detail on which step you are struck?

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

On Thu, Oct 15, 2015 at 5:04 PM, <besumm...@gmail.com> wrote:
Please somebody help me

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/15594e9e-241a-433f-8ba4-8566cc6b0692%40runmyprocess.com.

besumm...@gmail.com

unread,
Oct 15, 2015, 8:04:24 AM10/15/15
to Fujitsu RunMyProcess Developer Community
Thank you for your answer. I already saw this link.
I have an application, and I add one activity as script, for generate pdf. I send images in attachments. I already created the xsl file and put the xsl file in script tab. But when i run the output variable I get an error, that how it is possible see in image that I send. But my doubt is, what I should put in web interface for do the connection with process, for generate the pdf file. Can you help me?

Files: http://www.filedropper.com/files_7

Sweta Suman

unread,
Oct 17, 2015, 7:11:22 AM10/17/15
to suppor...@runmyprocess.com
Hi,

Query 1 -

In order to display image/logo in PDF you have to upload the logo/image into RMP Server(Go To--> Project-->Files-->Add File) as a public file.

Pass file url into <fo:external-graphic> tag of XSL as -

<fo:external-graphic content-width="57.75pt" content-height="44.25pt" src="url(url_of file_uploaded)">
</fo:external-graphic>

Query 2 -

If you want to send data of WI into pdf. You just need to pass those values in my_var_main in following format -(refer attachment process_design)

{
   "my_var_main":
            {
   "client_name":"${client_name}",            // values from WI
"client_location":"${client_location}", // from WI
"users_array":[{"name":"John","age":"35"},{"name":"Jessica","age":"28"},{"name":"James","age":"52"}]
}

Please refer attachment for better understanding and sample XSL/PDF file.

Hope this helps you.




--
Thanks,
Sweta 
Fujitsu RunMyProcess
WI_design.png
process_design.png
xsl_fo_example_1.xsl
Sample_pdf.pdf

besumm...@gmail.com

unread,
Oct 20, 2015, 5:56:55 AM10/20/15
to Fujitsu RunMyProcess Developer Community
Thank you very much. It works :)
Reply all
Reply to author
Forward
0 new messages