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.

Portal newbie revisited

Featured Replies

Hello

How do I include information from a portal with CDML?

I have created a portal whith much help from the portals forum. It works fine on my FM layout. But when I trie to inculde the information on my web page something goes wrong. What I am trying to do as follows.

In a form doing something like this:

[fmp-record]<option value="http:// ... &lay=Layout1&Keywords="And here I want the info from my portal to appeare"&-max=100&-find">"And here I want the info from my portal to appeare again"[/fmp-record]

For each <option... a new value from the portal should appeare. I have managed to do the same in another form on the same page. But not with info from a portal but from a regular field:

[fmp-record]<option value="http:// ... &lay=Layout1&Title=[fmp-field:title]&-max=100&-find">[fmp-field:title][/fmp-record]

I have created a One-One relationship between my two databases, so that if everything works correct all records from my second database should appeare in my portal. And they do, on my FM layout. I get the scroll bars and everything. I thought it would be possible to use CDML to make them appeare on my webb page too. But no luck this far.

Got to sleep now. It has been a long day.

Cheers, Anders

Look at using the [FMP-Portal][/FMP-Portal] tags. Check the 'CDML Reference' database.

All the best.

Garry

  • Author

Well ...

And then came some whining. But then I found out that I made the classical error of mixing stuff up. The correct name and spelling can be magic. I tried to use the wrong portal! No wonder I got the wrong result all the time.

Silly me

Anders

PS Thanks Garry. The CDML db is always rihght but not always easy to understand.

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.