Link to home
Create AccountLog in
Avatar of Uptime Legal Systems
Uptime Legal SystemsFlag for United States of America

asked on

SharePoint Foundation 2013 - Document ID (custom)

Hello;

Its my understanding that SharePoint 2013 Foundation does NOT include SharePoint's Out-of-the-Box Document ID functionality.  Within a Foundation site, I'm looking to implement a rudimentary Document ID-like functionality using existing (or developed) SharePoint functionality.

This doesn't need to be as robust and customizable as SharePoint's own Document ID functionality.  Really all I need is a unique ID (can be numeric, alphanumeric, doesn't matter) applied to or displayed for each document.  My only requirements:

1. The new "Document ID" field must be unique for each doc.
2. Users cannot change the "Document ID" field.

And--it only needs to apply to one Document Library (not the entire site).  I'm thinking the best place to start is creating a new column that's a Calculated field. It could be something as simple as a calculated field that takes the created date/time and adds some other random or unique value to come up with a random number or ID.

In fact, I tried a calculated field that was just simply:   =[ID] (hoping that every doc in a Doc Lib had some internal ID like any other item in a list), which would have worked, but new files I create/add now just show a "0" for this new field.

There must be SOME way to just simply assign a unique value to each doc.  Ideas?
Avatar of colly92002
colly92002
Flag of United Kingdom of Great Britain and Northern Ireland image

I may be missing something here, but if all you want is a unique identifier then why not use the the ID field that every item on a list/document libray gets assigned?  This is simply an incrementing integer.  I've not used SP2013 but I would be surprised if that functionality didn't still exist.
Avatar of Uptime Legal Systems

ASKER

That could work, but (ad maybe I'M missing something):

* The ID field (column) doesn't show when I go to view/show columns.
* If I make a calculated field with a value of =[ID], new created documents show a value of 0.

Am I maybe missing something simple?
I am struggling because I do not have a test SP 2013 to look at so forgive me if I'm talking rubbish.  This may simply be something that has changed, but it's quite simple in 2010 and previous versions.

Try looking at your list in datasheet view - do you get the ID in the far left column?

Can you add the ID to views?
Its a Document Library, not a list (is a Doc Lib really just al ist with a special content type?)  IN any case, the ID field that is inherent to every List either doesn't exist or is intentionally hidden from me.  See screen shot attached as I have this Doc Lib open in spreadsheet view.  
Ideas?
Doc libs are just special lists (or they were anyway).  Can you post your screenshot again I dont think t came through.
Sure.  And--thats good news, that means there HAS to be an ID column, and its just hidden.
Screen shot attcahed.
screen.png
ASKER CERTIFIED SOLUTION
Avatar of colly92002
colly92002
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer