Can't create input form | Community
Skip to main content
Level 2
February 7, 2023
Solved

Can't create input form

  • February 7, 2023
  • 1 reply
  • 881 views

Hello, Im trying to create a new input form for a custom node that I will add to our workflows. But for some reason I can't even add a 

<input xpath="@label"/>

 

 

I get this error:

So Im not sure what is wrong?

 

And when I preview I can't see anything:

Best Regards,

Martin

 

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 ParthaSarathy

Hi @marting66652718 ,

 

Make sure you have updated the database structure (Tools > Advanced > Update database structure) disconnect and reconnect.

 

Make sure the name of input form is same as schema name. Eg, if schema name is abc:test, then input form name also be abc:test (Or cross check entity-schema attribute of the <form> element is same as the schema name. eg, <form entity-schema="abc:test" ... )

 

And cross check in your schema, the attribute's name is 'label'.

If everything is correct, try clear cache > disconnect and reconnect > preview the input form again

1 reply

ParthaSarathy
Community Advisor
ParthaSarathyCommunity AdvisorAccepted solution
Community Advisor
February 7, 2023

Hi @marting66652718 ,

 

Make sure you have updated the database structure (Tools > Advanced > Update database structure) disconnect and reconnect.

 

Make sure the name of input form is same as schema name. Eg, if schema name is abc:test, then input form name also be abc:test (Or cross check entity-schema attribute of the <form> element is same as the schema name. eg, <form entity-schema="abc:test" ... )

 

And cross check in your schema, the attribute's name is 'label'.

If everything is correct, try clear cache > disconnect and reconnect > preview the input form again

~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups
Level 2
February 7, 2023

Hi! Thank you for the answer. It was as easy as this: 

 

My attribute 'label' was named 'title' in the schema. Im ashamed to admit it, but that was it haha... Thank you!

 

Best regards,

Martin