Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Commerce forum / Commerce Runtime(CRT) ...
Commerce forum
Suggested answer

Commerce Runtime(CRT) to Typescript D365

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

Categories:
  • Suggested answer
    Ramshenkar Profile Picture
    Ramshenkar on at
    RE: Commerce Runtime(CRT) to Typescript D365

    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. 

  • Frima Profile Picture
    Frima 15 on at
    RE: Commerce Runtime(CRT) to Typescript D365

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

    thank you very much

  • Suggested answer
    Ramshenkar Profile Picture
    Ramshenkar on at
    RE: Commerce Runtime(CRT) to Typescript D365

    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.

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

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans