I'm in the early stages of a new web project for quite a large site, and the chosen CMS is Composite C1. I'm so far satisfied with it, it's promising and I can work relatively fast with it.
However I'm currently stuck on, in my eyes, a simple problem.
The project will handle a lot of products (6000+) from an external database, along with a lot of product groups (hierarchical). This in it self is not a problem, but through the CMS the editors of the website will be able to add meta data to a product, create web specific groups of products, etc. This is where the problem starts.
In the simplest of worlds a single product selector on a custom data type would be sufficient, but with 6000+ products this is not an option. So I would like to create a custom Widget with either auto completion or a search field + result field (when adding Data to my custom Data Type).
After reading How to add custom widget to C1? I thought it would be a smaller problem, but I can't even get the code sample to work. I'm getting a Configuration Error saying
Parse Error Message: Type 'SampleProvider.MyWidgetFunctionProvider, WidgetProvider' could not be created
The SampleProvider.MyWidgetFunctionProvider are in a separate project in the same solution and all references are set. What could be the problem?
When/if I can get the custom widget functionality to work, what would be the best way to handle the reference to my external entity? Can you spot any problems with the solution I've come up with?
TL;DR; I need a way to create meta data for entities from an external database in Composite C1, without using the standard Selector widget (too much data for the Selector). What should I do?
Best regards,