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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

scottsimmer
Level 2
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
Linda_Stinson
Correct answer by
Employee
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
Linda_Stinson
Employee
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

Linda_Stinson
Correct answer by
Employee
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