Generate contracts for TypeScript code to consume the Controller endpoints set up in step 6 "Enable and test Retail Server sample code" (Step # 9)

 9. Generate contracts for TypeScript code to consume the Controller endpoints set up in step 6 "Enable and test Retail Server sample code"

    - Open the project at "RetailSdk\SampleExtensions\TypeScriptProxy\TypeScriptProxy.Extensions.StoreHoursSample\Proxies.TypeScriptProxy.Extensions.StoreHoursSample.csproj" and compile it

    - This project uses the ExtensionsProxyGenerator package to generate DataService .d.ts files, and has a target that copies the generated DataService TypeScript contracts to "POS\Extensions\StoreHoursSample\DataService"

        - Once the TypeScript proxy is built, those contracts are available for the POS extension code to be compiled


Comments

Popular posts from this blog

Creating a class, the best practice way in D365F&O

Package Deployment using LCS for Microsoft Dynamics 365 Finance & Operations

How to remove deployed model in Tier2 environment in D365FO