Skip to content

Issue with Control Add-in in AL extension #2745

@rajprince0

Description

@rajprince0

I'm getting this follow Error, I was trying to use pingpong Addin in my Extension

Microsoft.Dynamics.Nav.Client.PingPong.PingPongAddIn;PublicKeyToken=31bf3856ad364e35, The page contains a control add-in that is not permitted. Contact your system administrator.

Here is my below code declaration of dotnet

dotnet
{
assembly("Microsoft.Dynamics.Nav.Client.PingPong")
{
type("Microsoft.Dynamics.Nav.Client.PingPong.PingPongAddIn";PingPongAddIn)
{
IsControlAddIn = true;
}
}
}

and here is my Addin Page.

page 50148 PingPongAddin
{
// version RG

PageType = CardPart;
UsageCategory = Lists;
Caption = 'PingPong';

layout
{
    area(content)
    {
        usercontrol(PingPongControl; PingPongAddin)
        {
            trigger Pong()
            begin
                Message('Pong received.');
            end;

            trigger AddInReady()
            begin
                Message('Ready');
            end;

        }
    }
}

actions
{
}

}

Here is my Screenshot as well. Anybody have any idea how to rectify this problem
apps
dotnetpage
PingpongPage

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionGeneral question for community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions