I have created a custom module and have some custom classes for it in an external project. So the Info and InfoProvider classes are in my external project. I exported my module and imported it into another site and also added the .dll to the new sites CMS/bin, everything pulled across properly, however, it seems like the new site is not picking up on the classes. I am getting the error [ObjectQueryBase.Object]: Object type 'msdynamicscrmintegration.syncronization' not found.
My external project has [assembly: AssemblyDiscoverable] in its AssemblyInfo.cs
I added my namespace to the Info and InfoProvider classes. Would this cause an issue?
Example:
using System;
using System.Data;
using System.Runtime.Serialization;
using System.Collections.Generic;
using CMS;
using CMS.DataEngine;
using CMS.Helpers;
using MSDynamicsCRMIntegration;
[assembly: RegisterObjectType(typeof(LeadFormInfo), LeadFormInfo.OBJECT_TYPE)]
namespace MSDynamicsCRMIntegration
{
///
/// LeadFormInfo data container class.
///
[Serializable]
public class LeadFormInfo : AbstractInfo
{
#region "Type information"
///
/// Object type
///
public const string OBJECT_TYPE = "msdynamicscrmintegration.leadform";
↧