combine attributes in document template

0
Hi, I'm creating a pdf with document template and want to show Street and number , these are 2 seperate attributes (cause we are using a automatic postcode fill in app) Because street length is not always same length it's hard to show street and number next to each other in correct way. so you get HOOOFDSTRAAT          14 . How can we get this in a correct view HOOFDSTRAAT 13  independent of lenght of streetname. customstring doesn't work in document. Regards,Michel.
asked
2 answers
1

create a new attribute like full adress and combine the adress in for example Before commit event microflow or in your own re-usable commit microflow. Then use the attribute in the document.

answered
0

We create a seperate object called printfields. In the object we have all kinds of concatenated strings to circumvent this problem. We also attach all the objects you need for the email template module. Because you can only go one deep, we attach all the objects you might want to use to this object.

Regards,

Ronald

 

answered