• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Is there anyway to expose the item ID in the DIP or column in a document library?

I need to create a unique file name in my document library.

I'd like to use the unique item ID on save in Excel VBA.

is it possible to get at this information?
0
sullisnyc44
Asked:
sullisnyc44
  • 3
  • 2
1 Solution
 
GeorgeGerguesCommented:
You cannot edit the ID field it is a read only .
even on the API it is a read only attribute.
0
 
sullisnyc44Author Commented:
ok. No need to edit it, just want to read it.

How can I expose it?
0
 
GeorgeGerguesCommented:
You can use InfoPath to edit , and republish the template.

it is an InfoPath form and you can set it anyway you want.

Here is a nice article about 2010 but it applies to 2007.

http://msdn.microsoft.com/en-us/library/ms494347.aspx

The attribute might be named coreProperties:Identifier or you can create a new connection into the same list and get the ID.

The problem is You are coding against the Content Type not the list, that will be tricky.

best of luck.
0
 
sullisnyc44Author Commented:
ah, I see.

I think you are probably right - thanks for the info though - I will try it out (and post back if it works)
0
 
sullisnyc44Author Commented:
Sounds plausible - need to test.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now