printing site name to infopath form witout code - InfoPath Dev
in

InfoPath Dev

printing site name to infopath form witout code

Last post 01-30-2009 01:07 AM by phpasp. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 01-21-2009 12:31 AM

    printing site name to infopath form witout code

    hi everyone;

    I want to print the site name to infopath form without writing a code (Because infopath forms service doesn't allow writing a code.)

     

    How can do this?? is there a way to connect the data source to site name ..??

     

    thank you

  • 01-28-2009 01:30 AM In reply to

    Re: printing site name to infopath form witout code

    are not any way for it??

  • 01-28-2009 09:32 AM In reply to

    Re: printing site name to infopath form witout code

    Hi -- you want the site name the form is published to?

    The formula:

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

    will get you the url of the published template. You can further modify it to get just the site using other string functions....

    Hilary Stoupa

  • 01-29-2009 02:21 AM In reply to

    Re: printing site name to infopath form witout code

    hi Hilary;

    thank you for your interest.

    i use "infopath forms services" 

      if i create a textbox on infopath and write this code to "value"  

     does it work??

    i really a newbie:(

  • 01-29-2009 05:49 PM In reply to

    Re: printing site name to infopath form witout code

    Put an expression box on your form -- you'll find that in the controls -- and use that for the formula. It should display the location of the template, even in forms services.

    Hilary Stoupa

  • 01-30-2009 01:07 AM In reply to

    Re: printing site name to infopath form witout code

    Thank you Hilary

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