Registering a Integration Bus Connector in C# code

Citro Digital asked on October 30, 2015 17:06

Is it possible to register an integration bus connector through c# code.

For example having a custom built module in your settings application with a check box that could register and unregister individual connectors that may sync data between different types of CRMS. If a user only wanted to sync data with Microsoft Dynamics they would just have to check a box and the connector would then be registered into the integration bus connectors.

Recent Answers

Brenden Kehren answered on October 30, 2015 22:03

Hey Jim,

I'm sure it's possible but have never had a need to do it. In the API Documentation there are some references to BaseIntegrationConnector class which you might be able to access.


0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on October 31, 2015 00:02


I think the registering part needs to be done at application start. But you can try if it works on runtime using the sample on devnet:

If it doesn't work and the its per site you could let your custom module enable/disable the connector object itself. Or you could do a check in code of the task to see if a custom setting (you created and can update in your module) is enabled.



0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.