Anyone in the room. Need some help pver here!
I know you heard me. Thanks for listening
In your plugin class, you have to register the new type in the ObjectTypeManager. To do this,
- Have Spring inject the instance of ObjectTypeManager and the instance of your ContentType (i.e. TrendingVideosObjectType).
- In your initPlugin method, call: objectTypeManager.register(trendingVideosObjectType);
Hope that works for you - this is the step I always forget.
Thanks. That was super helpful. Also I'm meant to look at jiveobjecttype table instead.