Page style should not use string literal (LC0086)
When setting the Style property on page fields, use the Style enum values instead of string literals. Using enums provides compile-time validation and prevents typos.
Example
The following code uses a string literal for Style:
page 50100 MyPage
{
layout
{
area(Content)
{
field(Amount; Rec.Amount)
{
Style = 'Strong'; // Page style should not use string literal [LC0086]
}
}
}
}
To fix this, use the Style enum:
page 50100 MyPage
{
layout
{
area(Content)
{
field(Amount; Rec.Amount)
{
Style = Strong;
}
}
}
}