How to generate unique identifier in alfresco

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2014 08:28 AM
Hi,
I have custom field ex: projectID as a numeric, during the create i want to make it as system assigned value,
How can i achieve?
Am using Alfresc 5.0b
I have custom field ex: projectID as a numeric, during the create i want to make it as system assigned value,
How can i achieve?
Am using Alfresc 5.0b
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2014 01:27 AM
You need to create a rule for that.
Create a rule which will be invoked during project creation and invoke a script.
In script add logic to generate number and assign to newly created project.
Other way:
Create new action called "Create Project"
Implement it internally to create content and assign system generated name.
Create a rule which will be invoked during project creation and invoke a script.
In script add logic to generate number and assign to newly created project.
Other way:
Create new action called "Create Project"
Implement it internally to create content and assign system generated name.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2015 06:19 AM
Hi,
I have used the content behaviors to generate the unique id on creation of new node.
It works great.
I have used the content behaviors to generate the unique id on creation of new node.
It works great.
