web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Insert Action not appearing with ListPart

(8) ShareShare
ReportReport
Posted on by 55
Hello,
I'm displaying data from two temporary tables similar to Routing Header / Line. The page is displayed in response to an action added to the Items page. Data is retrieved from a REST API. 
I've been unable to make the Insert Line (Manage) group appear. 
The problem appears related to SubPageLink which makes me wonder if the temporary table scenario I'm implementing is supported. For example, when I specify a the following sub-page link, the ListPart grid is not populated.
 
SubPageLink = ComponentId = field("ComponentId")
 
Any suggestions appreciated.
 
 
Update: I mentioned the SubPageLink wasn't populating the grid. After adding CurrPage.Update() to the page containing the ListPart in the after populating the temporary tables resulted in the ListPart populating as expected. 
 
Still unable to show the Insert Line action.
 
Thanks!
 
I have the same question (0)
  • Suggested answer
    Dhiren Nagar Profile Picture
    2,898 Super User 2026 Season 1 on at
    Hi,
     
    For the part page can you please try InsertAllowed = true and ModifyAllowed = true properties?
     
    Regards,
    Dhiren.
  • Suggested answer
    Seth_Abady Profile Picture
    55 on at
    I think I've resolved, or at least found a solution. The grid was configured with ShowAsTree = true. That was intentional. Apparently, when that value is true, the insert functionality is not available (though I don't see it explicitly spelled out in the documentation for IndentationControl). 
  • Suggested answer
    Aman Kakkar Profile Picture
    3,101 Super User 2026 Season 1 on at
    Hi,
     
    But why would you actually need "Insert" action while using Temporary Table?
     
    Although, you can use the InsertAllowed property on the subpart page to hide or show the Insert action.
     
    Hope this helps.
    Aman K
  • Seth_Abady Profile Picture
    55 on at
    @Aman Kakkar the initial data is retrieved from a REST API and possibly modified within the BC page, at which point it would be sent back to the source via an API call. The originating data is not native to BC hence the use of a temporary table.
  • Suggested answer
    YUN ZHU Profile Picture
    99,440 Super User 2026 Season 1 on at
    Hi, hope the following can give you some hints.
    Dynamics 365 Business Central: How to add “actions (buttons)” on Request Page of Report/XMLport
     
    Thanks.
    ZHU
  • Suggested answer
    OussamaSabbouh Profile Picture
    13,540 Super User 2026 Season 1 on at
    Hello,
     
    Your temporary header/line design is supported, but the reason Insert Line / New doesn’t appear is that Business Central only shows it when the ListPart is truly insertable. In practice, this means the line page must explicitly allow inserts (InsertAllowed = true), be editable, and be able to generate required keys (typically a Line No. via AutoSplitKey = true or logic in OnNewRecord). SubPageLink itself is fine for temporary tables (your CurrPage.Update() fix confirms that), but if BC can’t safely create a new record for the subpage, it hides the system Insert action. In short: make sure the ListPart page is editable, allows inserts, and initializes keys for new temporary records—otherwise the Insert Line action will never show.
     
    Regards,
    Oussama Sabbouh

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,711 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 998 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 635 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans