Solved

How to display Sharepoint document version in an Infopath form?

Posted on 2009-04-04
2
932 Views
Last Modified: 2012-05-06
Usually we define the fields in Infopath form and they get promoted when published in Sharepoint. They are then  visible in Sharepoint along with Sharepoint's Version number when versioning is enabled for the doc lib. How to display the Sharepoint document version in an Infopath form published in Sharepoint?
0
Comment
Question by:samy2222
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
MelMc earned 20 total points
ID: 24092312
If you notice, there are not Version is not a column in the library. If you go to Version History of a document then check out the URL, you will notice it looks like this:
http://<site>/<subsite>/_layouts/Versions.aspx?list={GUID}&ID=<DocID>&FileName=<docname>&Source=<source>

So, you cannot simply make a receive connection the library to retrieve the information. I do not know of any web services to accomplish this either. I did find this resource that discusses how to accomplish this with Word and SharePoint with custom code.

There is a versions web service that you might be able to retrieve this information from. You would have to know the list GUID for sure, maybe the doc id.

http://www.csharphelp.com/archives4/archive602.html
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question