cancel
Showing results for 
Search instead for 
Did you mean: 

Create Node only if user submits properties in add content

anujs86
Champ in-the-making
Champ in-the-making
Hi,

I have a requirement where, the document should not be uploaded unless user provides mandatory properties in second stage of add content.

Right now when I am uploading content and clicks on ok, it loads edit properties page.
Here, I have added an action for deletion of Node when user clicks on cancel.

But I want to delete the node on any other action except 'OK'.
Suppose user clicks on breadcrumb, still I need to delete the node as it gets uploaded without mandatory properties.
1 REPLY 1

jego
Star Contributor
Star Contributor
I would recommend you to write a component which replaces the standard upload dialog and integrates both- the upload control and the metadata form. By using this approach you can achieve that the user can only click on Ok if the metadata is filled. We have done this for a customer recently. You can use the formservice to load the metadata form.

Thanks,
Jens