Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: How do I properly install a static data type with a package

$
0
0
I'm building a C1 Package that is including a static data type, and I need this datatype to be installed and uninstalled with the package.
Right now i have the dll that contains the type included in my package's install.xml as a file installed to /bin with the FilePackageFragmentInstaller.

Where do I go from here? I've looked at the DynamicDataTypePackageFragmentInstaller and seen how the PackageCreator uses that for dynamic types, but my type is static.
I've also looked at the DataTypePackageFragmentInstaller but it seems to assume that the C# type is available through the TypeManager when the data type is being validated, which is not the case.

My best guess would be to go with the DynamicDataTypePackageFragmentInstaller but it seems counter intuitive.

Viewing all articles
Browse latest Browse all 2540

Trending Articles