Jump 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.

trouble with LinkRecID

Featured Replies

hi,

i have a search results page which is working just fine. The problem is that I'm trying to provide a link for each retrieved record. This link would provide more in depth information. However, when I test the link, I only get the first portion of the page, but none of the field will show. Here's my code for the link. Maybe I'm missing something...

[FMP-RECORD] <b>[FMP-FIELD: Category]</b><BR>

[FMP-PORTAL: event] <a href="[FMP-LinkRecID: format=detail.htm]">[FMP-FIELD:

event: laugh.gif" border="0ate]</a>--[FMP-FIELD: event::Course]--[FMP-FIELD: event::Location]<BR>

[/FMP-PORTAL]<BR>

[/FMP-RECORD]

Not sure how [link] is going to work within a portal. Have you tried it with just a normal, non-related dataset?

Also, be sure you put single quotes around your field names, etc.

- John

  • Author

i had the feeling that fm wouldn't do anything that fancy. but i'm new to it, so i had to check. i'll just find another way. thanks anyway! oh, how i wish i could use coldfusion... crazy.gif" border="0

I have record detail links in portal records........I just use standard URL record links i don't use FMP-LinkRecID (obviously as i use Lasso wink.gif" border="0)........why would you want to use cold fusion?:: buy lasso quicker and soooo much easier to use!!

laugh.gif" border="0laugh.gif" border="0

eg

[Portal: 'relationship']

<a href="Action.lasso?-database=databasename&-layout=layout&-response=responsepage.lasso&-operator=eq&myexactmatchfield=[Field: 'relationship::myexactmatchfield']&-operator=eq&myotherexactmatchfield=[Field: 'relationship::myotherexactmatchfield']&-operator=eq&regno=[Field: 'relationship::regno']&-Search">[Field: 'relationship::regno']</a>

---FIELDS RELATING TO THE RECORD ETC--

[/Portal]

the syntax is a little different with CDML but it will work

laugh.gif" border="0

[ August 06, 2001: Message edited by: scratchmalogicalwax ]

Create an account or sign in to comment

Important Information

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

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.