Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Populate 2D barcode on click event


Level 2


I'm using Paper form barcode (Data Matrix symbology). I want to populate the barcode with field values on click of a button. But I don't want to write like this:

barcode.rawValue = Field1.rawValue + "|" + Field2.rawValue........etc till nth field.

Is there any way of encoding the field values in the barcode without having to bind each and every field like the above?



1 Reply


Level 2

you can use entire form data or collection data for you purpose. Also you can select the delimiter from the dropdown. Entire form data will take all the field values present on the page.barcodeprop.JPG