Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

Getting Error While Taking Reference "KnockoutExtensionViewControllerBase" in the TypeScript file of MPOS

(0) ShareShare
ReportReport
Posted on by 396

Hi Community,

Hope all are doing well..

I am creating a simple Add Customer Operation in the Modern POS. I have created the BaseClasses and the Views as mentioned below.

2234.pastedimage1580390119787v1.png

When i am consuming the KnockoutExtensionVIewControllerBase class in the TypeScript file, I am getting below error as mention below screen shot.

3056.pastedimage1580390269451v3.png

If it is not visible i am mentioning the error in the below.

Error TS2507 Type 'typeof "C:/Users/Adminb7a0354d41/Desktop/RetailSDK/POS/Extensions/LTPOSCustomerExt/Views/BaseClas...' is not a constructor function type. TypeScript Virtual Projects C:\Users\Adminb7a0354d41\Desktop\RetailSDK\POS\Extensions\LTPOSCustomerExt\Views\POSNewCustomerView.ts

If any one has faced this type of issue please help me to solve or mention some other option if it is a bug.

Thanks in Advance....

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Zain Mehmood Profile Picture

Zain Mehmood 462 Moderator

#2
Danny Bilodeau Profile Picture

Danny Bilodeau 156 Moderator

#3
Laurens vd Tang Profile Picture

Laurens vd Tang 120 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans