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 / March 2006

Tip: Looking for answers? Try searching our database.

infopath folder url on wss

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cosimo Galasso - 14 Mar 2006 11:56 GMT
I have a share point form library associated with an infopath template.
The template contains a web service submit secondary data source, to subimt
the form.

How can I retrieve, from the submit web service, the share point folder url
on witch the user click the 'fill out this form' link button ?

Thanks
Cosimo
S.Y.M. Wong-A-Ton - 14 Mar 2006 12:19 GMT
You can use XDocument.Solution.URI to retrieve the path to the InfoPath
template. From this you can extract the location of the form in SharePoint.
---
S.Y.M. Wong-A-Ton

> I have a share point form library associated with an infopath template.
> The template contains a web service submit secondary data source, to subimt
[quoted text clipped - 5 lines]
> Thanks
> Cosimo
Cosimo Galasso - 14 Mar 2006 15:06 GMT
Thank S.Y.M. Wong-A-Ton.
I used the solution uri too ... but I can't get the subfolder from witch the
user clicked the 'fill out this form' link button.

Suppose that a user create a sub folder inside the form library ... and from
this he clcks 'fill out this form' ...
How can I get the that sub folder url ?

Cosimo

> You can use XDocument.Solution.URI to retrieve the path to the InfoPath
> template. From this you can extract the location of the form in SharePoint.
[quoted text clipped - 10 lines]
> > Thanks
> > Cosimo
S.Y.M. Wong-A-Ton - 14 Mar 2006 15:24 GMT
Once the form has been saved to the subfolder in the WSS forms library, you
can use XDocument.URI to retrieve its full path.
---
S.Y.M. Wong-A-Ton

> Thank S.Y.M. Wong-A-Ton.
> I used the solution uri too ... but I can't get the subfolder from witch the
[quoted text clipped - 20 lines]
> > > Thanks
> > > Cosimo
S.Y.M. Wong-A-Ton - 14 Mar 2006 15:54 GMT
Forgot to mention that the location is not available before you save the
form. Since you are submitting programmatically, have you already looked into
the FolderURL property on the DAVAdapter object?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdob
jDAVAdapterObject_HV01106498.asp

---
S.Y.M. Wong-A-Ton

> Thank S.Y.M. Wong-A-Ton.
> I used the solution uri too ... but I can't get the subfolder from witch the
[quoted text clipped - 20 lines]
> > > Thanks
> > > Cosimo
 
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.