Comments (4)
An update to this:
I just noticed that this ONLY applies to Promoted Action Groups.
Repro code:
page 50100 PageName
{
Caption = 'PageCaption';
Editable = false;
PageType = List;
ApplicationArea = All;
UsageCategory = Lists;
SourceTable = Customer;
layout
{
area(Content)
{
repeater(GroupName)
{
field(Name; Rec.Name)
{
}
}
}
}
actions
{
area(Processing)
{
group(RegularGroup)
{
ShowAs = SplitButton;
action(ActionName)
{
Caption = 'ActionCaption';
ApplicationArea = All;
trigger OnAction()
begin
Message('Hello World');
end;
}
action(ActionName2)
{
Caption = 'Action2Caption';
ApplicationArea = All;
Scope = Repeater;
trigger OnAction()
begin
Message('Hello World');
end;
}
action(PromotedActionName2)
{
Caption = 'PromotedAction2Caption';
ApplicationArea = All;
Scope = Repeater;
trigger OnAction()
begin
Message('Hello World');
end;
}
}
group(SecondGroup)
{
ShowAs = SplitButton;
action(SecondActionName)
{
Caption = 'SecondActionCaption';
ApplicationArea = All;
trigger OnAction()
begin
Message('Hello World');
end;
}
action(SecondActionName2)
{
Caption = 'SecondAction2Caption';
ApplicationArea = All;
Scope = Repeater;
trigger OnAction()
begin
Message('Hello World');
end;
}
}
}
area(Promoted)
{
group(Category_DEMO)
{
ShowAs = SplitButton;
actionref(PromotedActionName2_Promoted; PromotedActionName2)
{
}
}
}
}
}
The only thing disturbing me here is the auto generated caption for the promoted action group:
from businesscentral.lintercop.
Thank you @jwikman for the detailed description and example, this was of great help!
This should now be resolved in the (pre)release version of v0.30.20 of the LinterCop.
from businesscentral.lintercop.
Thanks @Arthurvdv!
from businesscentral.lintercop.
Version v0.30.20 of the LinterCop is now released.
from businesscentral.lintercop.
Related Issues (20)
- InvalidCastException: 'Unable to cast object of type 'Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.SourceChangeAddActionSymbol' to type 'Microsoft.Dynamics.Nav.CodeAnalysis.IActionSymbol'.' HOT 1
- BusinessCentral.LinterCop.Design.Rule0052InternalProceduresNotReferencedAnalyzer' threw an exception of type 'System.InvalidCastException'
- LC0044 false positive HOT 1
- Rule0032ClearCodeunitSingleInstance' threw an exception of type 'System.InvalidCastException' HOT 5
- [Question] How to compile repository code? HOT 8
- Rule LC0054 - Interface should start with captial I - Proposal: Ignore spaces between affix and name HOT 4
- False positive for LC0033 HOT 6
- LC0035 - Table Extension Fields HOT 1
- LC0054 'BusinessCentral.LinterCop.Design.Rule0054FollowInterfaceObjectNameGuide' threw an exception of type 'System.NullReferenceException' HOT 3
- LC0064 - False positive on page controls not using Rec. HOT 1
- AD0001 in specific app.json HOT 8
- LC0033 HOT 3
- LC0063 - false positive for global variable HOT 2
- Howto run test in VS Code? HOT 9
- LC0035 - False Positive FlowField HOT 6
- LC0027: Handle on Variant as Table, with Supported Page
- LC0004 - False Positive for Page with property SourceTableTemporary = true; HOT 1
- Artifacts `.current.dll` and `.next.dll` will become obsolete in the future
- LC0067 - false positve for Journal Template Tables HOT 3
- LC0033 false positives HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from businesscentral.lintercop.