auto populate current url in a field on my infopath webpart - InfoPath Dev
in

InfoPath Dev

auto populate current url in a field on my infopath webpart

Last post 12-18-2009 10:23 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-14-2009 12:58 PM

    • Jonathan
    • Not Ranked
      Male
    • Joined on 11-24-2009
    • Wyoming U.S.
    • Posts 2

    auto populate current url in a field on my infopath webpart

    I have embedded a browser enabled infopath webpart that displays on multiple pages on our site. I want to collect the current url for the page when the form is submitted or when the page loads. This will allow me to collect relvant product information from that specific web page. I want to avoid requiring too many user populated fields that might discourage someone from filling out the form. This information is sometimes ommitted when a the form is filled out but is very useful.

    Please wow me with your infopath knowledge.

    Jonathan

    Jonathan
  • 12-18-2009 10:23 PM In reply to

    Re: auto populate current url in a field on my infopath webpart

    Hi Jonathan,

    You can get the processing instruction from your form's XML which should have the PublishURL href attribute containing the URL of your web page. Check out the following post and send me email if you can't get it working: http://www.infopathdev.com/files/folders/misc/entry30112.aspx

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.