Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Role Center page actions

Posted on by 85

Hi, 
I have inserted an editable field on the Item list page, right above repeat control, I have modified the page property to editable and it's working fines if I open the page through the search bar

pastedimage1657193911480v1.png

however when I run the Item list page from Role Center page, then it is not in editable mode. To make it editable I have to click on the EditList action and then it's editable

pastedimage1657194308228v3.png

Does anyone have an idea about this? 
I have tried to add new action on the role center page and set the RUNPAGEMODE  to edit but still, it's not working, 
According to my understanding, there is some restriction on the Role Center page, Does anyone have experienced the same or know how to handle it? 
Thank you very much for your consideration.

Categories:
  • Abdullah Zafar Profile Picture
    Abdullah Zafar 85 on at
    RE: Role Center page actions

    Hi,

    Thank you very much for the workaround.

    Really appreciated.

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 69,639 Super User 2024 Season 2 on at
    RE: Role Center page actions

    Hi, I tested it out and found a workaround.

    Adding the button to the Actions area does not have this problem. Of course the customer is required to accept this solution.

    pastedimage1657241478904v1.png

    Test Video:

    [View:/cfs-file/__key/communityserver-discussions-components-files/758/Test0708.mp4:994:746

    pageextension 50136 BusinessManagerRCExt extends "Business Manager Role Center"
    {
        actions
        {
            addafter("Sales Quote")
            {
                action("Run Item List")
                {
                    ApplicationArea = All;
                    Caption = 'Run Item List';
                    Image = Process;
                    RunObject = page "Item List";
                }
            }
        }
    }
    
    pageextension 50100 MyExtension12 extends "Item List"
    {
        Editable = true;
        layout
        {
            addbefore(Control1)
            {
                group(SearchCrossReference)
                {
                    Caption = 'Search Cross Reference';
    
                    field(SearchText; SearchText)
                    {
                        Caption = 'Search Text';
                        ApplicationArea = All;
                    }
                }
            }
        }
    
        var
            SearchText: Text;
    }

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,023 Moderator on at
    RE: Role Center page actions

    Hi,

    If you want to make the editable of any list page and running through any role center it will work only if you press Edit list button, and you can not make anything editable on role center.

    Thanks.

  • Abdullah Zafar Profile Picture
    Abdullah Zafar 85 on at
    RE: Role Center page actions

    According to documentation, this is not possible to open the page in editable mode from Role Center,

    pastedimage1657198430391v1.png

    Designing List Pages for Business Central - Business Central | Microsoft Docs

    However, if anyone has a workaround then it's more then welcome

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans