Take our contest to see how fast you can generate your first PDF!

Follow the instructions below to register an account, create a free pdf element and create your first document as fast as possible.
imagealt

First, register an account. 

Register an account on https://elements.ecerium.com and you're ready to go. Your contest time counter will start when your account is registered!

Used Elements

imagealt

Create your first application

Next, create your first application, give it a name an application code and a description and press the save button.

Used Elements

The next step is to click the 'element settings' of your newly created application and add the PDF element.

Select the license you want to use for this element. you can always change your license later on.

We select a Free license in this example. Click Activate and confirm by pressing the Yes button when the popup asks for confirmation.*

* You can only change your license every 30 minutes for security purposes. 

 

imagealt

Lets head over to Settings and create our first personalised PDF file. 
Click Settings in the lower left corner of the PDF Element.

Used Elements

imagealt

First Create a pdf file with our template.
In our case we created a pdf file from a word document with our company logo on it and some text.

Used Elements

Next we import the pdf file in our PDF Element by selecting new template and adding the file

The selected pdf file can now be configured as a template, 
please be advised that you still have to save the file with the Save icon in the top right corner

You can change the file name before saving your pdf file

After this you can start by adding parameters, click the parameters tab.

Add the parameters you want to use.

Make sure you allow popups in your browser from our Element to see the Preview as they are generated pdf files.

imagealt

Thats it, hit the save icon one more time and you are done.

Used Elements

imagealt

Implement the Ecerium PDF Element in your project.

Example using Visual studio 2017 / .Net core / C#

Create a new .net core project

Used Elements

Firstly we are going to save your Application Token so we can use it to create a request. 
Get the token from the Application properties on the ecerium Platform. You can create different Tokens for different purposes.

Download a RESTClient to access the service. In our example we used RestSharp from the NuGet browser, this service also supports the serialize functions needed in this example.

For your convenience we have created a class which allows you to send out a PDF template, we will get into the details of the parts you need to configure in a minute. 

imagealt

We first create the body you need to send to our PDF creation Element. Please note that the documentName is the name of your pdf template you selected in step 11 in the configuration of our Elements page

Used Elements

Then we select the endpoint to use.

var pdfElementToBase64Url = "https://pdf.elements.ecerium.com/api/pdf/tobase64";

Next we add security and serialize the body to a JSON object, and finally we make the call.

Then we get deserialize the data from the response, using a custom class "Response"

Finally we write the response base64 string to a file

 

 

imagealt

That's it!

Your time will be noted the second your first PDF is created!

Be sure to check back again soon to view the leaderboards!

Used Elements

imagealt

Demo Application

We created a demo application that allows you to call both endpoints and check out the result.

Used Elements