- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2018 05:13 AM
Hi All,
Is there any way to force td width on a table in the template?
I defined
<table width="100%">
<tr>
<td width="20%">.....</td>
<td width="80%">.....</td>
</tr>
</table>
but in the PDF the width = 50% / 50% ????
Can you modify this in any way???
Greetings,
Ronald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2018 06:08 AM
Hi
I am no able to generate the PDF.
field name is automatically changed from body to u_body and table to u_table. this is the reason i am not getting PDF in attachment.
Please let me know if any change required
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 05:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2021 09:12 PM
Hi,
Can someone help me with a problem I have when exporting images that are attached to a work order record?
I am using PDF Generator to generate a pdf that can produce a report of the work order as well as the images attached by the agents, the images that will be uploaded are from the agent mobile app. I have a problem with the size of the exported images when they are very large images the images come out of the edge of the pdf.
Has someone something similar happened to him or do you have any idea how I can solve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2021 05:11 AM
Thankyou for sharing this information.
I have one question though:
I want to add image to the PDF document and you have specified below piece of code for it, but may I know what we need to pass in 'instance'?
I can see that is passed as 2nd parameter, but what is the value?
// convert to the right image path
parsedBody = parsedBody.replace(/\/sys_attachment.do\?sys_id=(\w{32})/gi, '/$1.iix');
parsedBody = parsedBody.replace(/\/sys_attachment.do\?sys_id=(\w{32})/gi, '/$1.iix');
parsedBody = parsedBody.replace(/src="\//gi, 'src="' + instance);