elektra Posted August 6, 2001 Posted August 6, 2001 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: ate]</a>--[FMP-FIELD: event::Course]--[FMP-FIELD: event::Location]<BR> [/FMP-PORTAL]<BR> [/FMP-RECORD]
John May - Point In Space Posted August 6, 2001 Posted August 6, 2001 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
elektra Posted August 6, 2001 Author Posted August 6, 2001 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...
scratchmalogicalwax Posted August 7, 2001 Posted August 7, 2001 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 )........why would you want to use cold fusion?:: buy lasso quicker and soooo much easier to use!! 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®no=[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 [ August 06, 2001: Message edited by: scratchmalogicalwax ]
Recommended Posts
This topic is 8578 days old. Please don't post here. Open a new topic instead.
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 accountSign in
Already have an account? Sign in here.
Sign In Now