How can we best enable file URI e.g. "file://" - enabling users to browse to a file server location in a single click?
I was able to get this sort of working in QuickBase by using a UNC path in a "formula - URL" field. Additionally had to use what appears to be backslash escape characters.
For example, to get the result of "file://192.168.1.14/shared2/" in a browser tab I typed in my "Formula - URL" field "\\\\192.168.1.14\\shared2".
I can't get it to work by click on either chrome, opera or IE. But you can "copy link address" and paste into a new tab. In chrome/opera it will browse to it in the browser and in IE it will open a file explorer window to the location.
How do I create a hyperlink or URL field that opens a file on my internal network?
QuickBase lets you create URL fields that link to any location you want. You can link to any file on the Web or to a file on your organization's internal (local) network. You link to a local file using one of two field types:
* Regular URL field. If paths to each document will be very different, create a regular URL field that will be completed by users as they add each record.
* Formula - URL field. If the path to the server will remain the same and only the name of the file changes with each record, create a Formula - URL field. When you do so, QuickBase generates the URL automatically based on the file name a user enters.
NOTE: Links to local files work only in Internet Explorer. These links do NOT work in Firefox due to a security setting.
To link from a regular URL field:
Create a URL type field (to learn how, read: https://www.quickbase.com/help/adding_a_field.html) and add it to your table's form(s). Whenever you add or edit a record, type the path to the document in the URL field.
For example, say the path to your document is:
Just enter that exact path in the URL field and click Save. When the record's in display mode, that path appears as a link. QuickBase automatically prepends the word "file:" to the URL, which designates the hyperlink as one that opens a destination file on the local network.
To link from a Formula - URL field:
If you store all your documents in the same place, you can save your users some work by using a Formula - URL field instead of a regular URL field. You enter the full folder (or directory) path in the field's properties and then ask your users to enter only the document name. QuickBase will put it all together and generate a proper hyperlink.
First, create a field to hold the file names and add it to your form(s). This can be a text type field. You and your users will use this field to enter the full name of the file you want to link to. When you enter the file name, you must include the file extension (.pdf, .doc, .html and so on) within the name in order for the URL to be complete.
Next, create a Formula - URL type field. After you create the field, click its name to open its properties page. Within the formula box, enter the formula that tells QuickBase how to compose the URL to link to local files.
For example, say the path to the folder containing your documents is:
and users will enter filenames in a field called "File Name"
Your formula should look like this:
"file:\\\\ny01\\marketing\\docs\\" & [File Name]
This formula tells QuickBase to take the text that appears between the double quotes (the start of your URL) and add whatever text appears in the File Name field to the end. But, where did those extra backslashes come from? The backslash is a special character in the QuickBase formula language. It tells QuickBase that the character following the backslash should be taken for its true value and not its value in the QuickBase formula language. For example, say you wanted your formula text field to actually include a double-quote character (which, in the formula language delimits the text of a literal). To do so, you'd precede it with a backslash, as in: "The \" character is special." So, for each backslash that you want to actually appear in your URL, you must precede it with another backslash. In other words, double the backslashes--for each single backslash, type two.
Save changes to the field and test it. When you add a record, enter the file name and save. QuickBase then generates a URL that links to that file on your local network.
Read more about:
Creating fields: https://www.quickbase.com/help/adding_a_field.html
QuickBase Formulas: https://www.quickbase.com/help/using_formulas_in_quickbase.html