How do Page Handlers Work

LerxxLerxx Member Posts: 10
So I am currently testing with my Test Codeunit and I try to call my PageHandler "boi5" to open "Admin Page" but it won't work.

Variable: Name: AdminPage, Type: Page, Subtype: Admin Page

I try to call boi5(AdminPage);

[PageHandler] boi5(VAR MyPage : Page "Admin Page")
Starting := STRSUBSTNO('%1%2',startingthing,'Admin Page');
boi2(Starting);
PAGE.RUN(PAGE::"Admin Page");

When I try to compile it says:"Assignment is not allowed for this variable." and points at boi5(AdminPage).

Please help me

Thanks in Advance

Lerxx

Answers

Sign In or Register to comment.