Hi,
I have a form to grab email id and other info for registration and saving as nodes.
I just want an advice on how right or safe to use email id as Node name.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @hptarora
If your application requires any specific logic to create node based on certain name you can use that else you can generate node name using UUID:
UUID uuid = UUID.randomUUID();
String nodeName = uuid.toString();
Now all the form values can be stored as a node property in the node so it will be something like below:
Thanks!
Hi @hptarora
If your application requires any specific logic to create node based on certain name you can use that else you can generate node name using UUID:
UUID uuid = UUID.randomUUID();
String nodeName = uuid.toString();
Now all the form values can be stored as a node property in the node so it will be something like below:
Thanks!
Views
Replies
Total Likes
@hptarora There is no such documentation, but this might be helpful where it says 150 chars.
https://issues.apache.org/jira/browse/OAK-2644
You can put upto 350 characters (500 characters is max) as per the above ticket.
But using the GUID should not be an issue as I am using already this on my system and it works perfectly fine.
Views
Replies
Total Likes
Hi,
you can encode an email to get a unique node name and use that as a node name.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies