Use Embeddables in a custom content type

I have a custom IContentType and want to be able to use embeddables within it.  What do I need to do to enable my custom content type to use embeddables?

Parents
No Data
Reply
  • Try passing null for the second parameter -- this is not supposed to be the ContentTypeId but instead a unique ID to represent embeddables for a non-default purpose. If the second parameter is the issue, we can log and resolve that. I don't think the intention is to version the embeddables here. 

    The exception itself, if its coming from Velocity, may be an issue with the data type being passed to your widget extension. There is a bit of a disconnect in the stack trace, however, which makes this appear to be a SQL data type conversion issue vs. a parameter type issue (which is what I get from the top-most exception).

Children