I created a content type with one column i.e. "Document Number".
Also created an event handler on item added and assigned this eventhandler to the content type. So whene ever i added a document in the library (having this content type) across multiple libraries, sites etc. "Document Number" column will be populated
automatically with specific number that has been given while assigning the event handler to the content type.
Everything is working fine..getting unique ids across all libraries..but when i upload multiple documents (say more than 6 docs) am getting duplicate document numbers. I exactly want to do as built in ID column which provies proper uniqiue id when upload
multiple documents. Can anyone suggest how to do this?
My even handler code is:
if (sWeb.Properties["DocumentUniqueId"] == null)
View Complete Post