Is it possible to have two different input forms to edit the same underlying data schema? | Community
Skip to main content
Level 2
April 9, 2015
Solved

Is it possible to have two different input forms to edit the same underlying data schema?

  • April 9, 2015
  • 2 replies
  • 2662 views

I am noting that the Input Form name value must be equivalent to the underlying schema name.

Hence it would seem only one form per schema is possible?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Linda_Stinson

It appears that you can have multiple forms to work on the same schema. To designate the form to use, add the attribute


form="namespace:formName"

For example in a nodeModel open tag of a navtree

<nodeModel folderLink="program" form="xtk:folder" ...

2 replies

Linda_Stinson
Adobe Employee
Adobe Employee
April 28, 2015

The names don't have to match, but then the form XML has to explicitly call out the schema to edit with that form, using the attribute:

entity-schema="namespace:schemaName"

in the form open tag, e.g. <form entity-schema="neo:product">.

Regarding your second question, can you use multiple forms to edit the same schema, let me look into that.

Linda

Linda_Stinson
Adobe Employee
Linda_StinsonAdobe EmployeeAccepted solution
Adobe Employee
April 28, 2015

It appears that you can have multiple forms to work on the same schema. To designate the form to use, add the attribute


form="namespace:formName"

For example in a nodeModel open tag of a navtree

<nodeModel folderLink="program" form="xtk:folder" ...