<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Hyperlinks Issue</title><link>https://www.infopathdev.com:443/forums/thread/42840.aspx</link><pubDate>Fri, 12 Jun 2009 10:16:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42840</guid><dc:creator>mikevak</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42840.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42840</wfw:commentRss><description>&lt;p&gt;Hello&amp;nbsp; again,&lt;/p&gt;
&lt;p&gt;my DB has a field called &amp;quot;Links&amp;quot; and i store there the path of my files..let say &lt;/p&gt;
&lt;p&gt;&lt;a&gt;file:\\SSS\folder name \file.xls&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In my form i use query in order to retrieve data...so i have a text box bound on the field &amp;quot;Links&amp;quot;&lt;/p&gt;
&lt;p&gt;when i preview my form, i use the query button and i get the info i want...and in the text box appear the path --&amp;gt;&lt;a&gt;file:\\SSS\folder name \file.xls&lt;/a&gt;&amp;nbsp;(yes the main data connection is bound to my DB)&lt;/p&gt;
&lt;p&gt;Back in design mode, i change the text box to hyperlink control and i link to: Data Source: @Links&lt;/p&gt;
&lt;p&gt;In order to check that im in right way, i add&amp;nbsp;2 more&amp;nbsp; hyperlink controls on my form and the 1st one i link it to: Adress: &lt;a&gt;file:\\SSS\folder name \file.xls&lt;/a&gt;&amp;nbsp;and the second at &amp;nbsp;&lt;a href="http://www.something.com/"&gt;http://www.something.com&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;In design mode, when i right click and open hyperlink...i can oppen the file (--&amp;gt;&lt;a&gt;file:\\SSS\folder name \file.xls&lt;/a&gt;) and the webpage (&lt;a href="http://www.something.com/"&gt;www.something.com&lt;/a&gt;) but in preniew mode...only the web page. I click on the links but nothing happens&lt;/p&gt;
&lt;p&gt;I assume that the file address is right, in addition i did paste the link into browser and the file opened.&lt;/p&gt;
&lt;p&gt;Maybe you are right and its about security settings, so i tried to convert my form to fully trusted one. (Btw where i can find RegForm tool?)&lt;/p&gt;
&lt;p&gt;I dont have a Web Server in my domain to try your solution...:(&lt;/p&gt;
&lt;p&gt;I did enable full trust at security settings and i create a certificate but i noticed that in view cartificate...&amp;quot;This CA root certificate is not trusted. To enable trust, install this certificate in the Trusted Root Certification Authorities store&amp;quot;&lt;/p&gt;
&lt;p&gt;How can i enable trust?&lt;/p&gt;
&lt;p&gt;From the above mentioned, there is something that i do wrong?&lt;/p&gt;
&lt;p&gt;(i came up with the idea to use a button control to open the file from its path but i get lost in...code:P )&lt;/p&gt;
&lt;p&gt;Thank you for your response and i hope to help other users dealing the same problems&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Hyperlinks Issue</title><link>https://www.infopathdev.com:443/forums/thread/42829.aspx</link><pubDate>Fri, 12 Jun 2009 07:17:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42829</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42829</wfw:commentRss><description>&lt;p&gt;You said that http:// paths work fine. That suggests one of two things: a) the path to your file is wrong (format or just incorrect), or b) you don&amp;#39;t have security to do that through URLMON. &lt;/p&gt;
&lt;p&gt;I&amp;#39;m still confused - I don&amp;#39;t understand why this has anything related to a database. Is the main data connection bound to the database? How are you specifying the data type as hyper link? In the designer if you double click on the field in the data source does it show hyperlink? This probably isn&amp;#39;t the issue since you said that http:// paths are working fine. So, it must have to do with security of accessing files or the file path being incorrect.&lt;/p&gt;
&lt;p&gt;Running in preview is not the same security as publishing and running from server. It&amp;#39;s more restrictive to run in preview. So, please make sure the file address is correct (it doesn&amp;#39;t quite look correct for URLMON, but I forget the exact format requirements). Try a few more experiments:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Paste the link into a browser (like Internet Explorer) and make sure they open in the browser&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Publish the form to a Web Server in your domain and try to run it and open the links&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;InfoPath Designer, go to Tools-&amp;gt;Form Options-&amp;gt;Security and make the form full trust. Attach a digital certificate and publish the form to a Web Server that is in your domain. Open the form and see if the link resolves. If it does, we know the format of your path was correct and it was simply a security problem. &lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Good luck!&lt;/p&gt;</description></item><item><title>Re: Hyperlinks Issue</title><link>https://www.infopathdev.com:443/forums/thread/42828.aspx</link><pubDate>Fri, 12 Jun 2009 06:51:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42828</guid><dc:creator>mikevak</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42828.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42828</wfw:commentRss><description>&lt;p&gt;Hello Patrick,&lt;/p&gt;
&lt;p&gt;My main purpose is to retrieve data from my DB, so i have a field that i store the full path of my files (nvarchar(255) data type). Then, i use a hyperlink control, bound on the relevant field. My problem now is that in design mode (right click--open hyperlink) i can open the file but nothing happens in preview mode (no error message appears). In contrast, there is no problem when i use path like &lt;a href="http://www/"&gt;http://www&lt;/a&gt;. (the link works in preview mode)&lt;/p&gt;
&lt;p&gt;Btw, in order to open the file stored at a PC called SSS i use the adress&lt;/p&gt;
&lt;p&gt;&lt;a&gt;file:\\SSS\folder name \file.xls&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My pc is part of a local network and the sql server is on my pc and i have administrator rights&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div id="result_box" style="TEXT-ALIGN:left;"&gt;I am at your disposal for any further information you need&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Hyperlinks Issue</title><link>https://www.infopathdev.com:443/forums/thread/42816.aspx</link><pubDate>Thu, 11 Jun 2009 21:49:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42816</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42816.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42816</wfw:commentRss><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;Need more info: are you pulling the hyperlink from your database and trying to display it in InfoPath and then click on it, or are you submitting the data for the hyperlink from your form to SQL DB and then trying to use InfoPath or a Web page to click on it? &lt;/p&gt;</description></item><item><title>Hyperlinks Issue</title><link>https://www.infopathdev.com:443/forums/thread/42647.aspx</link><pubDate>Tue, 09 Jun 2009 11:29:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42647</guid><dc:creator>mikevak</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42647.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42647</wfw:commentRss><description>&lt;p&gt;Hello World:P&lt;/p&gt;
&lt;p&gt;Let me explain&amp;nbsp;my situation&lt;/p&gt;
&lt;p&gt;i have a database that among other fields i want to store&amp;nbsp; the name and the path (c:\myfolder\aaaa.xls) mainly for doc, pdf and xls files&lt;/p&gt;
&lt;p&gt;my db is on a sql server (2005 express) and i use an infopath form for retrieving and submiting data. Everything work fine but i cann&amp;#39;t find a way to open the files (as a result of a query) from their directory path. sql server doesnt support hyperlinks data type (access does!) and i use nvarchar to store the directory path (the link) of my files. i ve tried to use hyperlink advanced control and i get the path as hyperlink but&amp;nbsp;i can not open the file (no error message appear)&lt;/p&gt;
&lt;p&gt;i would like to suggest me a solution&amp;nbsp;&amp;nbsp;or another approach of my problem&lt;/p&gt;
&lt;p&gt;thank you in advance!&lt;/p&gt;</description></item></channel></rss>