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.

Differentiate portal rows based on past or future

Featured Replies

I have a portal which shows events. I would like events scheduled for the future to be displayed in a different color, or perhaps underlined or in italics. Any suggestions?

Thank you,

Jason

You can do all of this through calculations.

The Highlight would be based upon a container calculation in related file.

Case(Date>Status(CurrentDate), GetRepetition(globalContainer,1), GetRepetition(globalContainer,2)) - could even be only one choice.

The Italics or bold or underline would be done by some "articifical" fields, calculated.

c_returnBold = Case(Date>Status(CurrentDate), FieldValue, "")

c_returnStandard = Case(Date<=Status(CurrentDate), FieldValue, "")

Place both fields one over the other, set the field to be transparent. Format the c_returnBold to be bold, the standard standard, the underlined underlined,....

Et voil

  • Author

Thanks Ugo,

I'm not quite sure what I'm doing wrong here. Your suggestion makes sense conceptually.

Jason

Events.zip

The calculations are most easily performed in the related file, as Ugo suggested. Also, you must display only related fields in a portal, unless you want to see only information from the current file.

See attachment for fix.

RelatedFormatting.zip

Is someone bored? Perhaps they have have no projects on which to work? blush.gifgrin.gif

I was just waiting for my secretary to bring the project I had left on my desk at the office... grin.gif

But HE forgot the coffee....for this busy night.... laugh.gif

  • Author

That works just great (all of them). Thanks so much.

Jason

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.