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.

help needed with tokens and tests

Featured Replies

I could really use some help with testing the website that I've just upgraded from FMv6/CDML to FMv8/XSL. Now that I've eliminated all of the Web Publishing Engine generated errors, I'm running into other problems for which I can't find sufficient documentation.

1) The CDML Converter created a template to replace the FMP-LinkRecID command that is not passing tokens. The CDML command automatically passed the tokens. I'm not sure how to add token passing to either the following template or the call-template command:

2) I have an often-used xsl:choose command that compares a field with a text string that doesn't work and I can't see why. A similar comparison between a token and a text string works just fine as did the comparison between the field and the text string in CDML.

...

KitKitPart Number

3) Do you know of a good documentation source that could help me answer questions such as these? I've gleaned what I can from the Custom Web Publishing Guide and online XSL and XPath tutorials.

Thanks in advance for your help.

Edit:

I've found an answer to problem #1 by avoiding the use of the called template. I just switched to a standard href command. However, problem #2 is growing in scope. It turns out that anytime I try to use a field reference for anything other than viewing the field, it doesn't work. Such as the two below: setting a token to the value of a field doesn't work and setting a field in a new record to the value of a field doesn't work.

cartok.xsl

Please help!

Edited by Guest

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.