Original Post by maryb (Imported from Ardevia Forum)
I am trying to generate a unique identifier for all new items created in a list.
I understand that each new item does receive a Unique SharePoint generated ID.
I would like to be able to customize this field if needed ie:
2015 - 1
I've looked at the post on creating an auto-increment number before saving & received the following error when testing script:
Failed eval expression: Error Occurred on evaluating expression var camlQuery
='<View><Query><OrderBy><FieldRef Name="ItemID" Ascending="FALSE"/></OrderBy></Query></View>';
RefenceError camlQuery is undefined