Jump to content
Sign in to follow this  
Dutchy

hyperlink to text documents

Recommended Posts

Hello, can't seem to find where I can add a hyperlink to a field or text. Would like to add a link (or a couple) to certain documents (word and pdf). And show these links in a record / field. This Mainly to have easy access to the documents. one click on the hyperlink and the document opens in a new window? Can anybody point me in the right direction?

Thanks, Dutchy

Share this post


Link to post
Share on other sites

You can use Open URL or Send Event. You can make a field the button and then call the script.

Depending on where the file is located you might need to set the path to a temp variable first and then use that variable as the path.

Share this post


Link to post
Share on other sites

Here is a way to make hyperlinks that are in records, not part of the layout. (That is, the hyperlink that appears, if any, will be specific to a given record).

1. Create a text field to hold hyperlink text; put field into layout Body (formatted as color, bold underlined).

2. Create a script ["S"] to parse according to a unique record ID. (A bunch of If... Else's)

For each parsed case in script S put desired action: Open a particular document, open a Window, perform another script, etc.

3. In Browse, for a record, insert text for the hyperlink.

4. In the layout, format the hyperlink field as a button that calls script S.

5. Seems like for other records you must awkwardly disable the button in order to add text without triggering the script, then re-assign the field to Script S.

6. When done you probably should limit entry to this field in Browse mode.

Tho this approach works, perhaps someone knows a cleaner approach.

Edited by Guest

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.