Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to display Sharepoint document version in an Infopath form?

Posted on 2009-04-04
2
Medium Priority
?
966 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 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

721 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