Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

What is the Recommended Approach for Hosting Transformations when creating a Custom Module?

$
0
0
In Kentico 11, in a custom module you are developing, when using a custom Page Template (portal mode) for the UI Element, where is the appropriate place to host Transformations used by web parts of that template? "Appropriate" meaning the transformations can be bundled with the module for import/export operations or at least grouped with it logically in Kentico admin?The Kentico Custom Module app doesn't contain a Transformations tab for its Classes. Repeater web parts used on the UI page template only list Custom Tables and Page Types when looking for transformations. Transformation doesn't seem to be supported for a Custom Class. I could create a standalone container Page Type to host all transformations for the module, however this would be outside the module. These transformations would use data from Classes in the module (through repeater web parts and query data sources for example). It seems odd to put them outside so I am suspicious of doing this. Up until now I've only used the out-of-box tab and listing web parts to create custom modules. Now I need to get into more customization, and prefer the portal mode to easily build templates using web parts. Transformations seem to be the missing consideration in this development flow. Neither can I find Transformations mentioned in the Custom Module documentation. Kentico Documentation I'm referencing is: Creating custom modulesManually creating the interface for custom modulesMartin Hejtmanek's Module development articles like this oneI can find a place to put my transformations. I'm looking for thoughts about where to best put them and bundle them with my custom module work.

Viewing all articles
Browse latest Browse all 8901

Trending Articles