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

SOLVED

Using schema to create an Adaptive Form

tommyk80763269
Level 2
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
lesutton1
Level 3
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
smacdonald2008
Level 10
Level 10

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

tommyk80763269
Level 2
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

lesutton1
Level 3
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.

tommyk80763269
Level 2
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

tommyk80763269
Level 2
Level 2

Hi,

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

Regards

Tommy