Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to display Sharepoint document version in an Infopath form?

Posted on 2009-04-04
2
Medium Priority
?
991 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
2 Comments
 
LVL 8

Accepted Solution

by:
MelMc earned 80 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

972 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