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.

Can Sort be included in a CDML Link?

Featured Replies

You can add multiple Sorts to a CDML link like so:

...&-SortField=<Fieldname>&-SortOrder=<SortOrder>&-SortField=<Fieldname2>&-SortOrder=<2ndSortOrder>...

-SortOrder accepts:

Ascend

Descend

Custom=ValueList (where ValueList is the name of the valuelist associated with the -SortField on the layout).

Haven't used the Custom option myself, but have read many reports of problems with it.

The -SortOrder tag is actually optional, but recommended if using multiple -SortField tags. Each -SortOrder must directly follow the -SortField it applies to.

Yes, a sort can be included in a link.

Use:

-sortfield=field name

-sortorder=ascend or descend

  • Author

Great. I will give it a try. Thanks!!!

Have you got a copy of the CDML Reference? It's a FMP database with all the CDML codes with their syntax described and example usage. Download it from the FileMaker Inc web site (in the downlads section I think).

It'll answer all your "can you do XXX in CDML" questions.

Quite right, Vaughan.

Y'know, considering the number of times any given question is asked (and answered) on FMForums, perhaps there should be a big banner at the top of each category: Search the Forum First!

Then again, we'd all probably find ourselves wondering why there aren't any new posts... wink.gif

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.