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.

A case where a field can not be shown in CDML

Featured Replies

I am a bit lost on this one. I have a page with CDML tags that show all the information from matching fields in my database. However, there is one field that will not display any data in CDML. I have checked and double checked my CDML tags...everything seems to be configured correctly. All the other CDML tags work fine, just this one field.

The field data in question is a calculation field in my database. Is there any types of calculation fields that might not be able to display their data in CDML?

Larry

Larry,

The only ways I can think of are:

1. Field name misspelled in tag.

2. Field missing from the Layout.

3. Using a Related ValueList.

4. "Web Security" Database is restricting it.

Good Luck

Garry

5. The field has no data in it in any of the records, or the data in the field is mis-matched to the field's data type (say, text in a number field).

ibiubu,

Assuming you see the value in your layout and everything looks okay there... I had a problem once and it turned out it was an ENCODING problem. FMP field name w/space in it was under URL encoding and turned into %20 (URL encoding). Eliminate the space in your field name if it has one.

  • Author

Thanks for all the suggestions. I think I may have found it.

I have the calc field in my layout in filemaker. The calc field seems to work fine in filemaker, but not CDML. My calc field has another field it is based off of. This other field does not currently exist in my layout. But when I added this other field to my layout, the CDML tag for the calc now works.

Interesting. I dont think I have come across that one before.

By the way, I to have run into the %20 (URL encoding) problem before. I hate that one.

Whenever I have had a problem with fields not showing up in CDML it always comes down to access priviledges.

I usually setup a no password read only access, and then restrict layouts and fields from that passwords group. Later I use that password for web access, and forget about the access privs and try to use fields that are blocked off.

I do this almost every time, and waste ages trying to work out why data just won't get passed through.

Then give myself a good kick when I realise.... again....

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.