Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Commerce forum / POS.Extensions project...
Commerce forum
Unanswered

POS.Extensions project compilation and how to extend the MPOS app

Posted on by 165

Hello Experts,

I am an experienced D365 F&O Technical Consultant and also have experience of working with AX 2012 EPOS.

I have just started with the MPOS D365 for Retail but having much trouble to understand the flow of extensions.

I have a case in which I need to do some customization on Customer Address screen in MPOS.

I have a Retail SDK and before changing anything I am able to run the MPOS app in debug mode from VS.

When I tries to include the SampleExtensions folder in POS.Extensions project and tries to build the solution. I am getting some errors which I am unable to understand.

Please see the screenshot below to undertand:

2577.MPOS-POS.Extensions-compilation-error.JPG

Thanks

Zain

  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,586 on at
    RE: POS.Extensions project compilation and how to extend the MPOS app

    Hi Zain, did you to debug JS files directly - does it work without issues?

  • Xainu Khan Profile Picture
    Xainu Khan 165 on at
    RE: POS.Extensions project compilation and how to extend the MPOS app

    Hi Oksana,

    I am using VS2015. I am able to pass by these errors. We need to exclude files like .d.ts, .js and .map.js to resolve these errors.

    Now problem is, I am not able to debug the MPOS extension code. When I put a break-point on any of .ts file. It is saying symbols are not loaded and not hitting my break-point.

  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,586 on at
    RE: POS.Extensions project compilation and how to extend the MPOS app

    Hi Zain, what visual studio are you using?

    I had similar error with VS2017, in VS2015 these errors do not appear

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,835 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,526 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans