GithubHelp home page GithubHelp logo

Comments (4)

jwikman avatar jwikman commented on July 21, 2024

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:
image

from businesscentral.lintercop.

Arthurvdv avatar Arthurvdv commented on July 21, 2024

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.

jwikman avatar jwikman commented on July 21, 2024

Thanks @Arthurvdv!

from businesscentral.lintercop.

Arthurvdv avatar Arthurvdv commented on July 21, 2024

Version v0.30.20 of the LinterCop is now released.

from businesscentral.lintercop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.