Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Inserting URL for one record only.

Featured Replies

  • Newbies

Hello everyone. I just joined this forum as a complete newbie and have a question regarding inserting a URL into a record.

 

I'm using Filemaker as a database to keep track of color mixing formulas. So far this has worked just fine, but I'm thinking it would be a cool feature if I could insert a URL for each record that links to a picture of the finished product I'm using the mixed colors on. 

 

I tried doing this by creating a button with a "Go to URL" command. This works great, but it creates the same link on every record in my database. I want to use a unique URL for each and some won't have a link at all. 

 

I'm probably missing something obvious (very new to Filemaker) but it seems like there should be a way to insert a link on one record only. (I have over 2,000 records in the database).

 

Many thanks!

I tried doing this by creating a button with a "Go to URL" command.

 

 

IIUC, you hardcoded the URL within the button's script step; in this case, there is only that one URL in that one object, shared by all records in the table.

 

Instead, create a text field to store a URL with every record; now, rather than specifying a literal URL in the button, reference your URL field - which can be different for every record.

 

It may be a good idea to attach a script to your button; this allows you to capture an empty URL:

If [ IsEmpty ( YourTable::URL ) ] 
  Exit Script
  # or display an explanatory custom dialog
End If
Open URL [ YourTable::URL ]
  • Author
  • Newbies

 

IIUC, you hardcoded the URL within the button's script step; in this case, there is only that one URL in that one object, shared by all records in the table.

 

Instead, create a text field to store a URL with every record; now, rather than specifying a literal URL in the button, reference your URL field - which can be different for every record.

 

It may be a good idea to attach a script to your button; this allows you to capture an empty URL:

If [ IsEmpty ( YourTable::URL ) ] 
  Exit Script
  # or display an explanatory custom dialog
End If
Open URL [ YourTable::URL ]

Thanks. I'll give it a try. 

  • Author
  • Newbies

Thanks for the help. I should have mentioned that the url's I want to insert are just links to photos. So instead of using the "Go to URL" function, just created a Container Field and used the "Insert File" option.  I checked the "Store Reference to File" box and just attached the image this way. Maybe not the most elegant solution, but it works. 

 

Thanks again. 

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.