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
Suggested Answer

Commerce Runtime(CRT) to Typescript D365

(0) ShareShare
ReportReport
Posted on by 15

how do i call CRT from typescript extension.POS?


How to step by step


thanks

CRT

pastedimage1596012766672v1.png

Typescript ExtensionPOS 

pastedimage1596012825029v2.png

I have the same question (0)
  • Suggested answer
    Ramshenkar Profile Picture
    on at

    To call CRT from typescript project you should first perform following activities

    - Create CRT project  

    - Create Retail Server extension

    - Extend metadata using IEdmModelExtender and CommerceModelFactory

    - Generate typescript proxy

    docs.microsoft.com/.../typescript-proxy-retail-pos

    - Then consume the proxy in Typescript POS project to call CRT

    For end to end customization you can refer Store hour sample extension readme document "RetailSDK\Documents\SampleExtensionsInstructions\StoreHours\readme.txt"

    Hope this will help you.

  • Frima Profile Picture
    15 on at

    Do you have an example of how to make from scratch?

    thank you very much

  • Suggested answer
    Ramshenkar Profile Picture
    on at

    I don't what you mean by scratch because the sample Store Hours is the more than enough to consider all the areas of customization in CRT, Retail Server and Typescript. 

    If you study and follow the instructions provided in the readme file, you should be able understand the flow and customizations. 

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 301 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Siv Sagar Profile Picture

Siv Sagar 105 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans