How to use the editor?
Introduction Text Expanded text ediPopularIs it possible to conditionally change the component style or hide the component?
It is possible to conditionally hide and style the component. If you right-click on the component, you can use conditional formatting functionality, where you can either change the component style or hide the component if matches the condition. Right click on the component --Conditional formatting Examples If you want to change the style of particular values of your array, you can use "ChanPopularHow to share templates with other workspaces?
To share your templates with all of your users, you need to Publish your template and set the template access type to Organization. If you just want to allow other Master Users to modify your templates you need to set the template access type to Organization and keep the templates as Draft. Once the template is finalized you can Publish it to make it available for all your users. (https://storage.crisp.chat/users/helpdesk/website/11e0e518fc48ce00/screenshotselectionPopularWhich fonts, languages and characters are supported?
Arimo: Cyrillic, Greek, Hebrew, Latin Alef: Hebrew, Latin Cairo: Arabic, Latin Dejavu Sans: Arabic, Cyrillic, Greek, Hebrew, Latin El Messiri: Arabic, Cyrillic, Latin Hind: Devanagari, Latin Kanit: Latin, Thai Montserrat: Cyrillic, Latin M+ Japanese: Chinese, Cyrillic, Greek, Hebrew, Japanese, Latin Nanum Gothic: Cyrillic, Korean, Latin Noto Sans (Thai): Thai Open Sans: Greek, Cyrillic, Latin SimHei: Chinese, Cyrillic, Japanese, Latin Source Han Sans: Chinese, CyrillPopularHow can I format the input and output for a date or a date-time?
Input Format Date If the input format in your JSON dataset is YYYY-MM-DD (e.g. 2019-08-03) then the input format has to be the same in the editor. Input date Datetime Let's say the input format in your JSON dataset is YYYY-MM-DDTHH:mm:ss.SSSZ (e.g.PopularIs it possible to deploy PDF Generator API on premises?
Yes, we do offer an "on premises" deployment where we will ship the entire source code of PDF Generator API and you need to host it in your own servers. We don't limit the number of servers you use to scale vertically. We will also ship bash scripts which automate the version upgrades and deployment tasks. Please contact sales@pdfgeneratorapi.com for more information about the solution and pricing.PopularHow is the monthly usage calculated (merges)
The monthly usage (merges) is calculated based on the number of document generation requests multiplied by the number of unique datasets in the request. At the moment the monthly usage is calculated from the 1st day of the month until the last day of the month. Your billing period can be different from the monthly usage calculation period. Use-case 1: Single document generation You make a document generation request and send a single dataset or an array that contains a single dataset. InSome readersIs it possible to have multiple users and allow them to manage their templates?
The PDF Generator API provides a workspace logic that allows creating a separate workspace for each of your customers. When you sign up, you will have an independent "organization", and the email you used in the signup process is the identifier for the "Master User". Whenever you make an API request with a unique workspace identifier, a new workspace is created automatically. All templates created within a workspace are only visible to that specific workspace. You can also create default templaSome readersHow to add page numbers?
To display page numbers, you can use special placeholders currentpage and totalpages in Text component. At the moment the Text component must be in a Header or Footer component to display the page number properly. Placeholders Display current page number: currentpage Display total number of pages: totalpages Example Page: currentpage / totalpagesSome readersHow to copy a template from one workspace to another?
You can Export template from the editor and import it in another account using Import functionality. Open the template, which you need to copy, in the editor and select File Export Open the editor from a workspace where you want to use the template Use File Import to import templateSome readersHow to use the "Group by" option with the Table or Container component?
The "Group by" option for Table and Container component allows you to easily group your data sets by specific data field. At the moment the data field needs to be present in the data set and you cannot use aggregated or calculated values. The "Group by" option for the Table and Container component can be found in the Advanced Settings. Number formatting must be used to use functions like sum, count and avg. You need to use data field name without the parent e.g % sum( quantity ) %Some readersIs it possible to conditionally hide a page in the document?
It is possible to conditionally hide a page inside of your document. If you right-click on your actual page, you can use conditional formatting functionality. Editor Option Here, you can see the option "Hide page if matches a condition" and set the condition to determinate when the page should be hidden. Conditional Formatting Sidebar (https://storage.crisp.chat/users/helpdesk/website/11e0e518fc48ce00/imSome readersWhat is a Sandbox account?
The Sandbox account is a fully functional PDF Generator API account, which is free to use for the integration process and testing the service. Once you are ready to go production you can just upgrade your account and all your users and templates are available after the upgrade. You can find more information about the API integration here.Some readersIs PDF Generator API GDPR compliant?
We are committed to GDPR compliance across our services. Our infrastructure provider, Amazon Web Services, complies with the European Union’s General Data Protection Regulations and is part of the EU-US Data Privacy Framework. We also provide custom deployments in European regions provided by Amazon Web Services to help you achieve even higher standards of security. The Data Processing Agreement ensures an adequate level of data protection as prescribed by relevant legal frameworks, including iFew readersHow to create Nested Array (Multidimensional Array)?
Nested Array is a wide-spread method to iterate an array inside another array. If you want to create a nested array you need to place a Container Component (or Table Component) inside another Container Component where one of them would have data field of the main array and the one inside would have nested array data. The Outer Array (Container Component) In this case The Outer Array represents diFew readersWhat does the "white label" mean in the Enterprise plan?
The "white label" in the Enterprise plan means that you can have a custom theme for the editor that matches your software UI colour scheme and we also deploy the entire solution in separate instances so you can use your own subdomain for the editor and API calls.Few readersWhat is the difference between master and regular user?
A master user can manage other workspaces and also create and manage templates with organisation access type. The master user can log in to admin panel using email and password. The regular user can only modify templates in their workspace and they access the editor only via the API. Master Workspace / Master User A master workspace is the main/default workspace of your Organization. The email you signed up with is the Master Workspace identifier. Regular Workspace / Regular UseFew readersUnable to add new credit card, system responses "Failed to verify the credit card: Do Not Honor".
The "Do No Honor" error is returned by our payment provider if your bank is unwilling to accept the transaction. You would need to contact your bank for more details regarding this generic decline. We use Braintree Payments as our payment partner. Our current payment provider is Braintree Payments.Few readersHow to set a Background Image (Watermark)?
A Background Image is a static Image in the back of your template. Once it is set, it can not be moved in the template which is quite essential when working in the editor. A Background Image can be also used as a Watermark in your template. A background image can be imported as a local file and also as a datafield so that you can have dynamic background images.Few readersHow can I render other components behind the Image component?
If the Image component is placed on the "paper" then it is always rendered as the first layer and you cannot render other components behind the Image component. To overcome this limitation you can place the Image and other components into the Container component, where the layer order is respected and you can send the required component(s) (using right click "Send to back" ) behind the Image. This way all components are rendered correctly.Few readersHow to set up row numbering?
1. Approach with the rowindex option rowindex is our native functionality that can be used in a Container or a Table if you want to retrieve the row index/number from your array. rowindex This is how it looks in the final PDF:Few readersHow to set up alternate rows in the Container/Table component?
To set up Alternate rows for a Container component, you need to enable the Conditional formatting with the option "Change component style if matches the condition". Right click on the Container component and navigate to the Conditional formatting Select the Expression as a condition, where the expression looks like this - rowindex % 2 == 0 Conditional Formatting This is how it looks in the final PFew readersHow to connect my template with data?
How to connect my template with JSON data.Few readersHow to use QR codes
QR Code This guide provides an in-depth look at what QR codes are, how they work, and their various applications, helping you understand their importance and how to utilize them effectively with PDF Generator API. A QR code consists of black squares arranged on a white background, forming a grid. These patterns encode data that can be read by QR code scanners or smartphones with built-in cameras. The data can include URLs, text, contact information, or other types of data that direct usersFew readersHow to generate labels?
Labels - Different types In document generation, labels are crucial in creating organized, customizable, and user-friendly outputs. Whether you’re generating invoices, contracts, reports, or any other document type, labels allow you to add clarity and structure by tagging fields with relevant information. At PDF Generator API, labels enhance the flexibility of templates by making it easier to identify, filter, and manipulate data elements within a document. In this post, we’ll explore the vaFew readersHow to access a specific array elements?
It is possible to use expression language to access specific items in an array if a numeric keys are used. The array can contain strings, number or objects. Access array at index 1 % arraywithstrings 1 % ="test2" Access array at index 1 and display value of "item" % arraywithobjects 1 "item" % ="test2" Example JSONPopular