Change logo at pdf template

179 views
Skip to first unread message

nas-adora...@lafarge.com

unread,
Jun 5, 2015, 12:07:17 AM6/5/15
to suppor...@runmyprocess.com
Hi Support team,

I have question. I have learned How to generate a PDF file from this tutorial link: http://docs.runmyprocess.com/Developer_Guide/Process/Design/PDF

I found in XSL-FO template there is a lines as below:
<fo:external-graphic content-width="57.75pt" content-height="44.25pt" src=""
</fo:external-graphic>

How can I change the RMP logo to my company logo which is already stored in the Desktop > Files?

Please help.
--
=================================================
Safety Our Way of Life
Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to
processing of your personal data as set out in the Lafarge Malaysia Privacy
Notice which can be viewed here
<http://www.lafarge.com.my/wps/portal/my/0_9-LegalMentions#editoEncartVide0000000000026567>
.

This email and any files transmitted with it are confidential and intended
only for the use of the person to whom it is addressed. If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this information is
strictly prohibited. Please notify the sender immediately by email if you
have received this email by mistake and delete this email from your system.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any files for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.

Sweta Suman

unread,
Jun 5, 2015, 7:12:43 AM6/5/15
to suppor...@runmyprocess.com
Hi,

Firstly upload the logo into RMP Server(Go To--> Project-->Files-->Add File) as a public file.

Pass this url to in XSL file as -

 <fo:external-graphic content-width="65.75pt" content-height="49.25pt" src="url(url_of logo_uploaded)">
</fo:external-graphic>

Please refer attachment for better understanding.

Hope this helps you.



--
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/3908d18f-02f5-4e2e-a128-42ee9ef64161%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.



--
Thanks,
Sweta 
Fujitsu RunMyProcess Support
logo.png

Nas-Adora Mohd-Dan

unread,
Jun 6, 2015, 3:01:55 AM6/6/15
to suppor...@runmyprocess.com, ssu...@runmyprocess.com
Dear Sweta,

Tq. but I got error when I launch the test. My code is below:

<fo:external-graphic content-width="57.75pt" content-height="44.25pt" src="url(https://live.runmyprocess.com/live/621461244/upload/4cf309a0-0c19-11e5-be1f-22000b5008d6/lafarge.png?P_mode=)"
</fo:external-graphic>

Please refer attachment for error message.

Thanks and regards,

NAS ADORA BINTI MOHD DAN
MYIS Department | IT APPLICATION SPECIALIST
LAFARGE MALAYSIA | 2, Jalan Kilang, Petaling Jaya
Office:  (603) 7962 3569 I Fax : (603) 77851453



=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.

This email and any files transmitted with it are confidential and intended only for the use of the person to whom it is addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any files for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/36BW8YwcV8Q/unsubscribe.
To unsubscribe from this group and all its topics, 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/.

=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.
error.PNG

Sweta Suman

unread,
Jun 6, 2015, 3:15:58 AM6/6/15
to Nas-Adora Mohd-Dan, suppor...@runmyprocess.com
Hi,

Upload the logo as public file instead of private. After upload you will get url like - https://live.runmyprocess.com/live/621461244/upload/4cf309a0-0c19-11e5-be1f-22000b5008d6/lafarge.png.

Pass this URL in XSL as-

<fo:external-graphic content-width="57.75pt" content-height="44.25pt" src="url(

Nas-Adora Mohd-Dan

unread,
Jun 6, 2015, 7:42:27 AM6/6/15
to Sweta Suman, suppor...@runmyprocess.com
Hi Sweta,

Done but the result still same.

Thanks and regards,

NAS ADORA BINTI MOHD DAN
MYIS Department | IT APPLICATION SPECIALIST
LAFARGE MALAYSIA | 2, Jalan Kilang, Petaling Jaya
Office:  (603) 7962 3569 I Fax : (603) 77851453



=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.

This email and any files transmitted with it are confidential and intended only for the use of the person to whom it is addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any files for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

Sweta Suman

unread,
Jun 6, 2015, 9:41:52 AM6/6/15
to Nas-Adora Mohd-Dan, suppor...@runmyprocess.com
Hi,

The ending angular bracket is missing in <fo:external-graphic> tag of XSL.

Could you please try with below code after replacing URL with url of public file uploaded in RMP server.

<fo:external-graphic content-width="57.75pt" content-height="44.25pt" src="url(https://live.runmyprocess.com/pub/621461244/upload/4cf309a0-0c19-11e5-be1f-22000b5008d6/lafarge.png)">
</fo:external-graphic>

If problem persist please send XSL file so that we can help you quickly.

Nas-Adora Mohd-Dan

unread,
Jun 7, 2015, 10:48:29 PM6/7/15
to Sweta Suman, suppor...@runmyprocess.com
Hi Sweta,

Good news. No error but the bad news is the logo was not displayed in the PDF file. Please refer attached xsl file & pdf file.

Thanks and regards,

NAS ADORA BINTI MOHD DAN
MYIS Department | IT APPLICATION SPECIALIST
LAFARGE MALAYSIA | 2, Jalan Kilang, Petaling Jaya
Office:  (603) 7962 3569 I Fax : (603) 77851453



=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.

This email and any files transmitted with it are confidential and intended only for the use of the person to whom it is addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any files for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

RMP Collateral.zip

Murali

unread,
Jun 7, 2015, 11:09:18 PM6/7/15
to suppor...@runmyprocess.com, nas-adora...@lafarge.com, nas-adora...@lafarge.com, ssu...@runmyprocess.com
Hi Nas,

Please try including the external closure tag and remove self closure, which is missing in your XSL file.

Current:

- <fo:inline>
  <fo:external-graphic content-width="57.75pt" content-height="44.25pt" src="url(https://live.runmyprocess.com/live/621461244/upload/f6675bf0-0c3f-11e5-9224-22000b861362/lafarge.png)" />
  </fo:external-graphic>
  </fo:inline>

Replace with :

- <fo:inline>
  <fo:external-graphic content-width="57.75pt" content-height="44.25pt" src="url(https://live.runmyprocess.com/live/621461244/upload/f6675bf0-0c3f-11e5-9224-22000b861362/lafarge.png)">
  </fo:external-graphic>
  </fo:inline>

Regards,
Murali
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.



--
Thanks,
Sweta 
Fujitsu RunMyProcess Support

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/36BW8YwcV8Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to supportforum+unsubscribe@runmyprocess.com.

Sweta Suman

unread,
Jun 8, 2015, 3:19:21 AM6/8/15
to Nas-Adora Mohd-Dan, suppor...@runmyprocess.com
Hi Nas,

Logo is not displayed because you have uploaded the logo as private file on RMP server.

You need to upload the logo as public file on RMP server. Then copy the URL and paste it in <fo:external-graphic> tag of XSL.


Please refer attachment for better understanding.
logo.png

Nas-Adora Mohd-Dan

unread,
Jun 8, 2015, 8:51:33 PM6/8/15
to Sweta Suman, suppor...@runmyprocess.com, Muralikrishna Kummaragunta
Hi Sweta,

This issue has been solved and the logo was successfully displayed in the pdf file. 

Thank you very much Sweta. 

You may close this issue.

Thanks and regards,

NAS ADORA BINTI MOHD DAN
MYIS Department | IT APPLICATION SPECIALIST
LAFARGE MALAYSIA | 2, Jalan Kilang, Petaling Jaya
Office:  (603) 7962 3569 I Fax : (603) 77851453



=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.

This email and any files transmitted with it are confidential and intended only for the use of the person to whom it is addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any files for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

Reply all
Reply to author
Forward
0 new messages