Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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?

1 Accepted Solution

Avatar

Correct answer by
Employee

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" ...

View solution in original post

2 Replies

Avatar

Employee

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

Avatar

Correct answer by
Employee

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" ...