How Can We Help?
Answer
If you run into an issue that a connector is not configurable when selected in Data Integration Wizard, use following code in any OnLoad event and look at the error message:
try { XMConnect.Connector plug = (XMConnect.Connector)Activator.CreateInstance(Type.GetType("TYPE CONNECTOR ASSEMBLY NAME HERE")); Dictionary<string, string> constructorParams = new Dictionary<string, string>();//add all required settings constructorParams.Add("SETTINGNAME", "SETTINGVALUE"); plug.SetHiddenParams(constructorParams); List<InitializingParameter> initializingParameters = plug.GetInitializingArgumentsList(); throw new Exception("***" + initializingParameters.Count + " parameters found***" );//success } catch(Exception ex) { throw new Exception(ex.Message + "\n" + ex.StackTrace); }
Comments are closed.