Expand my Community achievements bar.

SOLVED

Using schema to create an Adaptive Form

Avatar

Level 2

Hi,

We have a lot of schemas that we have used with our xdp-based forms.

Most of these schemas have include-statements to refer other schemas.

When we try to use these schemas to create an Adaptive Form, we get an error

"XML Schema Validation Error".

Is there any limitation in using include-statement when creating an Adaptive Form?

Regards

Tommy

1 Accepted Solution

Avatar

Level 3

Hi Tommy, as long as the hierarchy of the schema is the same as it was in Workbench and uploaded to AEM in the same manor, the includes should work perfectly fine.

Lee.

5 Replies

Avatar

Level 10

Are you following online AEM Form documentation. If so - can you please post the URL you are using.

Avatar

Level 2

Hi,

here is the link - Adobe Experience Manager Help | Creating adaptive forms using XML Schema

The schema is on disc and not in the repository. Maybe that is the problem.

regards

Tommy

Avatar

Level 3

Hi Tommy, as long as the hierarchy of the schema is the same as it was in Workbench and uploaded to AEM in the same manor, the includes should work perfectly fine.

Lee.

Avatar

Level 2

Hi Lee,

Workbench is not in use for the schemas in this case. They are on disc and used by the designers when they create new forms.

regards

Tommy

Avatar

Level 2

Hi,

It worked as expected when I uploaded the schema-files to AEM.

Regards

Tommy