Discover SharePoint Path - InfoPath Dev
in

InfoPath Dev

Discover SharePoint Path

Last post 07-29-2008 07:48 AM by Hilary Stoupa. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-29-2008 06:09 AM

    Discover SharePoint Path

    Hi! I have published my infopath form in two SharePoint Folders: Folder A and Folder B.
    Now I'd like to know if there is a jscipt function that when I open the form discover if the form is from Folder A or Folder B.
    Thank You

  • 07-29-2008 07:26 AM In reply to

    Re: Discover SharePoint Path

    I know there is a path variable which can be harveted via code.

    It should be in a blog or post om this site.

  • 07-29-2008 07:48 AM In reply to

    Re: Discover SharePoint Path

    I think you can also use a formula to get what you need:

    substring-before(substring-after(/processing-instruction()[local-name(.) = "mso-infoPathSolution"], 'href="'), '"')

    gets me the location of my published form, regardless of where it is published.

    Hilary Stoupa

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.