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.

CDML Record Navigation with FMP Link Tag

Featured Replies

I'm struggling with the method described for CDML record navigation with FMP Link Tag described here: http://www.maclane.com/cdml/cdml_record_navigation.htm

Everything seems fine. RecordSkip looks great in FMPro. But when I include [FMP-Field:RecordSkip] in my link, it uses the value of [currentrecid]-1 of the entire dataset rather than the found dataset in sort order. This totally screws with the next/previous link. Is there a workaround for this? Is there something I'm missing? I've tried specifying the sortfield and many other variables in the link, but with no luck...always the same odd result.

Here's my link: <A HREF="[FMP-Link:rmk]&-format=dt_doc_detail.htm&-skip=[FMP-Field:RecordSkip]&-max=1">

Don

The RecordSkip value is in a field? I'd have thought the [FMP-CurrentSkip] CDML tag would have been better.

The Skip value is generated on-the-fly by Web Companion when the action is performed. It would be impossible to try and store the value in a feild because the state of the database will change and will not necessarily be valid for the same web user.

Web Companion is like an assistant who does whatever is asked, but does not remember who the request is made by. Hence it isn't possible to make a request along the lines of "gimme that again." The problems is "solved" on the web pages because the user clicks on a link that regenerates the whole request every time (the [FMP-LinkRecID] et al).

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.