Hyperlink default to http:// - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Hyperlink default to http://

Last post 06-28-2011 04:04 PM by Shankara. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-15-2011 04:51 AM

    • theguj
    • Not Ranked
    • Joined on 01-04-2010
    • Posts 3

    Hyperlink default to http://

    I wish to open either as a link or using rules this

    %windir%\system32\Rundll32.exe dsquery.dll OpenQueryWindow

    when i use hyperlink (with file:) it defaults to http://

    is there another way to do this?

  • 06-15-2011 06:06 AM In reply to

    Re: Hyperlink default to http://

    I'm not sure if it will work, but try setting the link to file:// instead of http://

    You can use a rule to set the value of the link field:

    value =  concat("file", substring-after(., "http"))

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 06-15-2011 08:00 AM In reply to

    • theguj
    • Not Ranked
    • Joined on 01-04-2010
    • Posts 3

    Re: Hyperlink default to http://

    Thanks ErnestoM 

    I tried "file" but no joy, i am not sure what you mean by setting value to link field.

  • 06-28-2011 04:04 PM In reply to

    Re: Hyperlink default to http://

    Hi theguj,

    A hyperlink invokes browser link and opens the content inside it. You can open a file using file://<absolutefilepath>.<extn>. If the browser is configured with the required plug in, it will open the respective content type [Ex: doc,ppt,pdf]. Else you'll receive the open,save,cancel dialog box. Executing an executable file, passing command line parameters is not possible through a browser.

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