CORE_PDF_CREATE | CORE Endpoint | |
/ondemand/core/?method=CORE_PDF_CREATE | ||
Create a PDF file. |
PARAMETERS | TYPE | NOTES | |
AttachmentType | Numeric | ||
BottomMargin | Numeric | Note: If you do not supply any margin parameters, they are read from your space's profile. ie as set via CORE_PROFILE_MANAGE settings of Top Margin (414), Bottom Margin (415), Left margin (416), Right Margin (417). If they are not set either, they default to 1 inch. The units are inches. | |
Document | Numeric | ||
DocumentFirstPage | Numeric | ||
Filename | Text | ||
LeftMargin | Numeric | ||
Object | Numeric | ||
ObjectContext | Numeric | ||
Orientation | Numeric | 1=Portrait [default],2=Landscape | |
RightMargin | Numeric | ||
StoreHTML | Text | If set to 1, it will also attach the full HTML used to generate the PDF. This can be useful when debugging | |
TopMargin | Numeric | ||
xhtmlContent | Text | ||
SendToEmail | 0/1 | Default: 0 | |
EmailTo | Text | Email Address | |
EmailToContactPerson | Numeric | ID of the contactperson |
RETURN | ||
status | OK | |
attachmentlink | ||
attachment |
EXAMPLES | |
1. | jQuery |
/jscripts/1blankspace.master.001.js |