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

Notifications

Announcements

No record found.

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 299 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 117 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans