Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Cue customisation

Posted on by 33
Hello all,
 
When style expression property is used. How does it change? Will it be static or dynamic?
Categories:
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 2,206 on at
    Cue customisation

    the StyleExpr property is used to dynamically control the appearance of fields in a page by applying styles based on expressions. This makes the styling dynamic, as it depends on the evaluation of the expression at runtime.

    For example, if you have a field in a list or card page, you can set the StyleExpr to a Boolean or conditional expression. Depending on the result of that expression, different styles will be applied (e.g., color changes for warning or success). In this case, the StyleExpr will dynamically apply the Strong style (usually bold text) if the Amount is greater than 1000. If the value changes during runtime, the style will update accordingly.

    For the cue: https://www.youtube.com/watch?v=pFaErQx8_4Y

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,572 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,764 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans