Use table field ToolTip
instead of page field ToolTip
(runtime 13.0 / BC24)
#530
Closed
rvanbekkum
started this conversation in
New Rule
Replies: 2 comments 2 replies
-
See also #490 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for providing the details on how the rule should wordt, this was of great help to create the rule. It's now available in the (pre)release version v0.30.28 of the LinterCop. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Scenario
You have a have a
table
X and apage
Y withSourceTable = X
in the same app.The page Y has a page field P that uses a table field T from table X as the source expression.
If page field P has a value for the
ToolTip
property and table field T does NOT have a value for theToolTip
property, then raise a diagnostic that informs the user that it is better to apply the tooltip on table field T in table object X.If page field P has a value for the
ToolTip
property and table field T ALSO has a value for theToolTip
property but the value is exactly the same, then raise a diagnostic that informs the user about the redundant tooltip.Sidenote: Don't go as far as checking the translations. The original
ToolTip
value should not be the same.If page field P has a value for the
ToolTip
property and table field T ALSO has a value for theToolTip
property but the value is NOT the same, then do not raise a diagnostic. Having a different tooltip is most likely deliberate (although we cannot know for sure).The rules should only be applied when table and page are in the same app.
The rules should only be run and diagnostics should only be raised if runtime is 13.0 or higher (i.e., for BC 24.0 or newer).
Maybe Microsoft comes with something for this, so let's keep an eye out for that as well.
Beta Was this translation helpful? Give feedback.
All reactions