Infopath collecting SharePoint doc library info

  • Thread starter kb at donovanhill
  • Start date
K

kb at donovanhill

I have an infopath form setup as a site content type within WSS 3 document
library,
is there anyway to extract the SharePoint document library URL location from
within the infopath form using Visual Basic?

Thanks
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

Please use this method to get the sharepoint URL where the Infopath is
published
thisXDocument.Solution.URI
Change this to VB
 
D

Dibs

Hi Kalyan,

What is 'thisXDocument' as you have referred here.
If I want to get the publish location of the infopath form in which I am
currently residing, can I use - 'this.Solution.URI' ?

I am not getting it...

Regards,
 
K

kb at donovanhill

Thank you all for your answers.

This is the Visual basic code that I used to return the template URL location
Me.Template.Uri.ToString()
 
Top