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.

Sort Portals by clicking on field header link?

Featured Replies

I have an xsl template that displays a record detail with a portal table.

The portal table has 5 columns. I would like the user to be able to sort by column by clicking on the header link, but I don't know if it is possible to sort on portals.

If it is possible, what would the syntax be to sort by a portal column?

I tried this but it didn't work

xsl:if test="fmrs:resultset/@fetch-size != 0"/>

td valign="top" class="class">

a>

xsl:attribute name="href">

xsl:variable name="sort">

xsl:text disable-output-escaping="yes">browserecord.xsl?

xsl:text>-db=Tradebook+Titles&-lay=Entry&

xsl:text>-sortfield.1=Reserves::Name&-sortorder.1=ascend

/xsl:variable>

xsl:value-of select="fmxslt:session_encode_url($sort)"/>

/xsl:attribute>

b>Name/b>

a>

  • 1 month later...

If you just type the URL manually in your browser, does it sort or not?

E.g. ....xsl?-grammar=fmresultset&-db=Tradebook+Titles&-lay=Entry&-sortfield.1=Reserves::Name&-sortorder.1=ascend&fieldname=findcriteria&-find

Probably it's this part missing: &fieldname=findcriteria&-find

Martin

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.