How to create local variable in designer

Hello, sir

I’m quite new to this, so could you show me how to create a variable that stores values without being part of a data mapper

I need to create a variable that counts pages and shows them on the template.

Thanks

Hello,
to add a a page count on the pages, you can do this on the Output Creation Settings.
You’ll have to select “Add additional content”. There you will be able to define the position and use a variable such as ${page.nr} to add the page number.
You could more information about adding content on the following webpage:
https://help.uplandsoftware.com/objectiflune/en/pres_connect/2022.2/designer/Output/Print/Interface/Additional_content_page.html
Regards

Alternatively you could create an abs position box on a master page and choose:
Insert > Special Character > Markers > Page Count.

See the screendumps below.

Erik

1 Like