Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Recent request from a customer:
What we need to be able to do is to somehow programmatically access, in infopath, the sharepoint form library folder name from which the form was opened.
Cool way to get this done (from Scott Heim's inexhaustible code sample archive):
substring-before(substring-after(/processing-instruction(), 'href="'), '"')
Used as the default value in a text box returns this:
https://servername/URITest/Forms/template.xsn
In this case, as you can see from the returned URL, the form was opened from my document library “URITest”
Comments
- Anonymous
September 19, 2007
PingBack from http://www.mindbusiness.de/blog/2007/09/18/vorlagenpfad-in-infopath-ermitteln/