Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Field that is Calculated - Read Only - Capturing output in XML after?

Avatar

Level 1

Hello:

I have defined a Calculated - Read Only field but I have not successfully bound it or captured its value in XML.

In my Object Palette I do not have a Binding tab, so how do I capture its value in XML after?

Thanks,

Newbie in Adobe

2 Replies

Avatar

Former Community Member

You can use the exportData function to export XML data from a form. The attached contains import and export functionality.

Steve

Avatar

Level 1

Unfortunately the fields you included in that Import/Export were text fields and thus had the Binding tab available in the Object Palette.

Fields that are of type Calculated - Read Only do not have the Binding tab, so to get around that, I defined my variable to be Read Only, and added my calculation to the calculate script. The Binding tab was available and thus allowed me to bind my output.

Problem solved.

Thanks anyways,

Newbie in Adobe