Developer forum

Forum » Integration » Connector class is internal in DW9

Connector class is internal in DW9

Anders Ebdrup
Reply

Hi DynamicWeb,

We have a need to communicate with the underlying Business Central companies/instances from custom extensions on a Dynamicweb 9 solution.

In our case, we would like to reuse the existing Live Integration configuration and communication flow when making custom requests to Business Central. This includes using the configured endpoint, settings, logging, retry handling, etc., instead of having to duplicate this logic in our own extension code.

However, this does not seem to be possible at the moment because the main connector class is marked as internal:

namespace Dynamicweb.Ecommerce.DynamicwebLiveIntegration.Connectors
{
    internal static class Connector
    {
        ...
    }
}

Even though the class contains methods that would be very useful from extensions, such as:

RetrieveDataFromRequestString(...)
GetProductsInfo(...)
CalculateOrder(...)
they cannot be accessed because the Connector class itself is internal.
 
So can you please:
  1. Make the relevant connector class/methods public, or
  2. Provide another supported way for custom extensions to send requests through the configured Live Integration endpoint.

This would allow us to extend Business Central integrations without duplicating configuration, authentication, endpoint handling, logging, retry logic, and other behavior that Dynamicweb already handles internally.

Best regards,

Anders


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Anders,

that will be implemented in #28164.

BR, Dmitrij

Votes for this answer: 1
 
Anders Ebdrup
Reply

Hi Dmitrij,

 

Do you have an update on this as we really need this feature?

 

Best regards, Anders

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Anders,
it is now available in the 7.4.21 version.
BR, Dmitrij

Votes for this answer: 1

 

You must be logged in to post in the forum