Check if a node with a certain name already exists before saving/publish a new one with the same name
Hi,
How to implement a validation while creating a node to prevent users from creating a node that is a duplicate from existing ( Two nodes with same name )
I want to prevent the saving/publishing process and to show a warring message for him
Check if a node with a certain name already exists before saving/publish a new one with the same name
Hi,
How to implement a validation while creating a node to prevent users from creating a node that is a duplicate from existing ( Two nodes with same name )
I want to prevent the saving/publishing process and to show a warring message for him
Thanks.
Hi Saif,
what version?
Hi Marcio, I am using Version 8.4
have this code that prevents duplicate urls for umbraco 7.
https://gist.github.com/marciogoularte/aa36bf9db618ec05fec76e856e693f84
It may be possible to adapt to umbraco 8 to validate the name
https://our.umbraco.com/Documentation/Getting-Started/Code/Subscribing-To-Events/
Hi Marcio,
Thanks, yes as you said it seems it can be adapted to Umbraco8.
is working on a reply...