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

Announcements

No record found.

News and Announcements icon
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

  • Suggested answer
    Ramshenkar Profile Picture
    Microsoft Employee 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 102 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 77

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 67 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans