Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8087 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

This topic is 8087 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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