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.

FMP-If question

Featured Replies

Currently have a cdml that looks like:

[FMP-Portal:files]

<a href="[FMP-Field:files::ftpcal]" target="_blank">

<span class="text">[FMP-Field: files::ftpfil]</span></a>

<span class="text">[FMP-field:files::ftpdes]</span>

[/FMP-Portal]

This creates a url link on my web page. This sits in a table, and represents a portal. So on any given page there might be any number of these links from the portal.

I want to add a if statement to the solution, so that only the portal items where a field eq yes shos up. Example:

[FMP-If: webactive .eq. Yes][/FMP-If]

Where do I add this to my soltion? Does it go at the beginning and the end like this?

[FMP-Portal:files]

[FMP-If:files::webactive .eq. Yes]

<a href="[FMP-Field:files::ftpcal]" target="_blank">

<span class="text">[FMP-Field: files::ftpfil]</span></a>

<span class="text">[FMP-field:files::ftpdes]</span>

[/FMP-If]

[/FMP-Portal]

I have not used the [FMP-If] before so I am assuming this is correct. Just wanted to ask some experienced users.

LR

Larry,

That looks fine to me.

All the best.

Garry

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.