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.

Question about sortfield

Featured Replies

A find on my custom web solution is initiated, the resulting html page shows the resulting FM record. The record is shown on my web page with CDML. The web page also displays the contents of a portal from the FM record in a table.

[FMP-Portal:Tasks]

<tr height="15"><td class="text" align=LEFT valign=MIDDLE width="106" height="15"><span class="text">[FMP-field:Tasks::T]</span></td>

<td class="text" align=LEFT valign=MIDDLE width="68" height="15"><div align="left">

<span class="text">[FMP-field:Tasks::S]</span></div></td>

<td class="text" align=LEFT valign=MIDDLE width="65" height="15"><div align="left">

</tr>

[/FMP-Portal]

Here is my question...the table showing the portal info shows it in the order it was created in Filemaker. now of course in FileMaker I can sort the portal by a given field, but is there a way to have the results in my table sort by a particular field?

LR

A couple of ways exist.

1. Create another relationship with the sort on the required field and place a Portal for this relationship on another Layout. Use this Layout and Portal for that CDML page.

2. Use an InlineAction with "-sortfield" instead of the Portal.

Hope this helps.

Garry

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.