Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2007

Tip: Looking for answers? Try searching our database.

Showing Infopath Form Version No

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paresh - 04 Jul 2007 15:12 GMT
Hi All,

I would like to have a read only field in my infopath form meant for
showing the form version number once I publish my template to the
document library and start creating new documents.  This version
number is same as the document version in the sharepoint document
library,
Is this possible?

Thanks,
Paresh
Kalyan G Reddy (http://www.ggktech.com) - 04 Jul 2007 18:26 GMT
Hello Paresh

You can use the following method to get Version number in the IP form
If you are using Javascript use
    XDocument.Solution.Version

and if you are using C# use
   thisXDocument.Solution.Version

Hope this will help You
Signature

Kalyan G Reddy - INFOPATH MVP 2007
http://www.ggktech.com

> Hi All,
>
[quoted text clipped - 7 lines]
> Thanks,
> Paresh
Paresh - 04 Jul 2007 19:40 GMT
On Jul 4, 7:26 pm, Kalyan G Reddy (http://www.ggktech.com)
<KalyanGReddyhttpwwwggktech...@discussions.microsoft.com> wrote:
> Hello Paresh
>
[quoted text clipped - 22 lines]
>
> - Show quoted text -

Hi Kalyan,

Thanks for the response.  I am not able to reference XDocument rhgouth
my C# code.  I guess this is because I am designing a browser enabled
IP form.
If I am correct, is there any equivalent of the solution that you
suggested for finding form version no for browser based IP forms?

Regards,
Paresh
Paresh - 05 Jul 2007 10:41 GMT
> On Jul 4, 7:26 pm, Kalyan G Reddy (http://www.ggktech.com)
>
[quoted text clipped - 38 lines]
>
> - Show quoted text -

I would like to mention once more thing the the version which we will
get using "thisXDocument.Solution.Version" will be form template's
version no (which we can get using Tools->Form Options->versioning
from infopath designer).  This is not what I am looking for.

I want to display the version of the document/form that lies in the
sharepoint document library.

Best Regards,
Paresh
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.