- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2016 05:42 AM
The "version" i use is a mix of ServiceNow plugin and parts of Walter Brame's version, so this might not be the ideal way.
But in GeneralPDF - under addHtml i added.
if(element.toString() == "[{!Rotate}]"){
this.document.setPageSize(PageSize.A4.rotate());
this.document.newPage();
}
You could skip the if statement, if it's every page
And then add the following in GeneralForm (if needed)
parsedBody += '{!Rotate}';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 02:10 AM
Hi Syed,
I followed all the steps but I am getting error 'Illegal attempt to access class 'com.itextpdf' via script'
I read in another post that it is due to restricted security access to Java class and it can be overridden by setting property glide.whitelist.manager.collection_mode.override=true
but I am getting below error on setting this property: Not allowing set of unsafe property value: glide.whitelist.manager.collection_mode.override=true
Any help is highly appreciated !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2017 06:17 PM
Hi Toshit,
I have the same problem. Did you ever find a solution?
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2016 11:18 PM
Thanks Syed for sharing this.
its working for me.
i have tried to configured footer, and it looks like footer image has fix size also Footer Note font size is fix. is there a way where we can change this?
But Header functionality is different from footer. whatever the size we select as Header image it displays exact same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2016 03:31 AM
Hi Faheem,
I have configured changes as per your instructions in my Personnel developer instance which is on Helsinki. But it's not generating PDF.
I confirm that UI Action is triggering Script Include below are my logs :
Could you please guide where could be the issue. In log it says issue is at line 65 generalHRForm.createPDF().