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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Active Discussion

Retail Server Extension APIs not All APIs generating in Typescript Proxy

(1) ShareShare
ReportReport
Posted on by

I am generating typescript proxy for commerce extensibility and some of the methods are generated in the proxy but not all of them. When I generate Retail Proxy for C# all methods are present. Even in the Typescript RetailProxy for POS all methods are present but not in the Commerce Proxy created using /application:typescriptmoduleextensions

Proxies are correctly generated through /application:typescriptextensions

I am using Microsoft.Dynamics.Commerce.Tools.CoreProxyGenerator.10.13.20107.3

I even tried CrossLoyalitySample Extension and generated Commerce module proxy for that, even for that the Method is not generated.

  • OriolMachin Profile Picture
    Microsoft Employee on at

    Hey Hannan Ayub,

    I will have to let the community answer this question, however if you could provide more details it may be helpful.

    What is the exact command they are running? Also, which method is missing?

    CommerceProxyGenerator.exe C:\\RetailSDK\\References\\Microsoft.Dynamics.Commerce.Tools.ExtensionsProxyGenerator.9.21.20042.5\\build\\Microsoft.Dynamics.Retail.RetailServerLibrary.dll C:\\RetailSDK\\References\\Microsoft.Dynamics.RetailServer.CrossLoyaltySample.dll /a:typescriptextensions

    Refer: https://docs.microsoft.com/en-us/dynamics365/commerce/dev-itpro/typescript-proxy-retail-pos#generate-the-typescript-proxy

    Best Regards,

    Oriol Machin
    Support Engineer / Microsoft Dynamics 365 Commerce
    North America Customer Services and Support

  • Community Member Profile Picture
    on at

    Hi Oriol,

    I am using the command described in the following link:

    docs.microsoft.com/.../call-retail-extension-api

    And this is the command I am using

    <RetailSDKPath>\References\Microsoft.Dynamics.Commerce.Tools.CoreProxyGenerator.10.13.20107.3\tools\CommerceProxyGenerator.exe <RetailSDKPath>\References\Microsoft.Dynamics.Commerce.Tools.ExtensionsProxyGenerator.9.21.20122.12\build\Microsoft.Dynamics.Retail.RetailServerLibrary.dll <RetailSDKPath>\References\EdgeAXCommerceLink.RetailServer.Extensions.dll /application:typescriptmoduleextensions

    And this is the method that is not generated

    [HttpPost]

               [CommerceAuthorization(CommerceRoles.Customer, CommerceRoles.Employee)]

               [System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "DR1721:AssertSdkExtensionMethodsNotCalledInProductCode", Justification = "Suppressed since its a known issue.  Bug 3907330 has been logged for this issue.")]

               public decimal GetCrossLoyaltyCardDiscountAction(ODataActionParameters parameters)

               {

                   if (parameters == null)

                   {

                       throw new ArgumentNullException("parameters");

                   }

                   string loyaltyCardNumber = (string)parameters["LoyaltyCardNumber"];

                   GetCrossLoyaltyCardResponse resp = this.CommerceRuntime.Execute<GetCrossLoyaltyCardResponse>(new GetCrossLoyaltyCardRequest(loyaltyCardNumber), null);

                   return resp.Discount;

               }

  • CU27070810-1 Profile Picture
    2 on at

    Hi, Just to add to this thread - if you're also working with external proxy services for data integration or API calls in Dynamics 365, we've had good results with fineproxy.org . Might be useful if anyone is connecting Dynamics to external data sources through a proxy.
    Hope the TypeScript proxy issue gets resolved!

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 June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 88 Super User 2026 Season 1

#2
Sagar Suman Profile Picture

Sagar Suman 72 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 54 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans