Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Commerce forum / POS Extension - Sample...
Commerce forum
Suggested answer

POS Extension - Sample extensions 10.0.12

Posted on by 285

I'm upgrading some code to 10.0.12, and all of s sudden code that worked in 10.0.8 no longer works.

Even if I try to run the extension samples I get errors. The main thing is that it cannot find the POS API:

Error    TS2307    (TS) Cannot find module 'PosApi/Consume/Dialogs'.    Miscellaneous    C:\Users\Admin4b992a8953\RetailSdk\POS\Extensions\SampleExtensions\Controls\DialogSample

The import statement in MessageDialog.ts in the Pos.Extensions project throws an error when I build the project.

Is this related to the switch to NuGet packages like with the CRT projects? If so, how do I figure out which packages to add?

Categories:
  • Rob vanBrandenburg Profile Picture
    Rob vanBrandenburg 285 on at
    RE: POS Extension - Sample extensions 10.0.12

    I got it, thanks for replying. I have some additional questions, but will post a new thread for those.

  • Suggested answer
    Ramune Profile Picture
    Ramune on at
    RE: POS Extension - Sample extensions 10.0.12

    Hi Rob,

    I see you second comment, does it mean you got this issue resolved or you still need some assistance?

  • Suggested answer
    Rob vanBrandenburg Profile Picture
    Rob vanBrandenburg 285 on at
    RE: POS Extension - Sample extensions 10.0.12

    I coworker helped me with this. The issue was that I had included all the *.js and *.d.ts files in the project.

    You should only have the *.ts files included in the project.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,773 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,513 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans