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.

How do you use [FMP-Link]

Featured Replies

on our site you can do a search and then see a results list. From here you can move onward into the site. We need to make a "back to search results" button. Using Javascript is not an option here as the action of going back to results list needs to occur in one mouse click.

Is [FMP-link] the answer? If so, do I set a token as the [FMP-link] and carry it around? If this is the case, exactly where do I set the token and how do I go back and display it further on?

Quite new to FM so all help much apreciated

Thanks in advance.

It depends on what you mean about "back to search results". If you do an original search which produces say 43 records and you are showing a -max of 10 per browser view, then the link would probably be appropriate. The link tags including last, first, next and previous are all explained in your cdml reference.fp5 which is available in the developer edition or from the link posted elsewhere on these forums.

If you want to conduct a new search, then the link will not serve your purposes.

  • Author

Keith

thanks for replying so quick. What we want to do is go back to our list of results that have been already found, NOT do another search. How do we actually make the token with the [FMP -link] activate on an href link?

process is as follows:

search --> search results --> add to basket --> basket confirm --> back to search results.

Thanks Again

hi, one that's worked for me is the 'FMP-link' tag:

<INPUT TYPE="hidden" NAME="-Token" VALUE="http://mydomain.com[FMP-Link:ra]&-Format=search_results.htm&-Find">

........should generate the whole search string for the search results page as a token, so you could move on to another Filemaker-generated page and keep the original search. Naturally. the token will fail as soon as you reach a page not called from FMP. I'm using:

<INPUT TYPE=hidden NAME=url VALUE="http://mydomain.com/[FMP-Link:%20ra]&-Format=search_results_ext.htm&-Find">

to embed a ready-made search url into an email

regards, Jeff

quote:

Originally posted by Rumbler:

Keith

thanks for replying so quick. What we want to do is go back to our list of results that have been already found, NOT do another search. How do we actually make the token with the [FMP -link] activate on an href link?

process is as follows:

search --> search results --> add to basket --> basket confirm --> back to search results.

Thanks Again

You can also try:

javascript:history.go(-1)

javascript:history.go(-2)

cool.gif" border="0

  • 4 weeks later...
  • Newbies

I have the same problem. My code looks like this:

<TR>

<P><A HREF="[FMP-LinkRecID: format=record_detail.htm, layout=Entry View 800x600]&-Script=L1-Findall-"><FONT COLOR="#CCFFFF">Add

1</FONT></A></P>

<P></P>

I want the same button that triggers this to do this: javascript:history.go(-2)

But no matter where I put it, I cannot trigger both with one link.

Dan

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.