Easy Linking document version rather than the doc itself

Oct 1, 2012 at 9:40 AM
Edited Oct 1, 2012 at 10:46 AM

Thanks for this feature ! It's nearly what I was looking for...

Does someone know if there is a feature which allows to link a specific version of a document to a library ?

I need to create a document library which contains every documents linked to the software version we are coding/delivering. But the software version is linked to specific documents versions.

Maybe is it possible to modify the current feature to do so, but I have to learn how to code that. If someone has any advice to give, I'll take it !!!

Thanks

Oct 4, 2012 at 9:59 PM

I'm glad to help you.

Like I told you in pm, i will organize and comment the Feature before it goes public.

Stay tuned.

Oct 5, 2012 at 9:21 AM
Edited Oct 5, 2012 at 9:23 AM

Ok, Thanks ! I'll wait for the code...

About my question, do you know if it's possible to do what I'm looking for,  i.e. create a link of a specific version of a document to another library ?

I'd like to be sure of the feasibility of what I want.

Oct 8, 2012 at 12:19 PM

Yes you can.

Using properties.ListItem.Versions[0].Url;

"Gets the URL of the item version relative to the Web site that contains the item."

 

More Information right here http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitemversion_members.aspx

Any questions, feel free to ask me.

Oct 8, 2012 at 3:59 PM

Thanks a lot for this info.

I'm beginning to code, but still waiting for your feature !