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...
Unanswered

Base Application global variable access in Extension objects

(0) ShareShare
ReportReport
Posted on by 15

When extending a BASE BC page object using a page extension object, global variables are not exposed from the BASE page to the extended page.  I understand that when creating a new object in my extension I have the ability to specify that a global variable on a page object is Protected and then a page extension object based on that page would have access to the variable.

However,  how are we supposed to access these variable from the base application when the variables have not been declared as Protected?

Are we to assume that all global variables at some point will be specified as Protected and so we should customize the Base page object now for variables we require access to in our page extension objects?  Or are we supposed to mimic the functionality in our extension pages which then potentially requires duplicated code?

We have a very large ISV extension that we are creating and this is a big deal for us.  We don't want to get this part wrong and then have to redo it down the road, so any help is greatly appreciated in learning best practices here.

I have the same question (0)

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,949 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,064 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 559 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans