Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
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,595 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,595 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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans