We are thinking of moving a very highly customized instance of Drupal over to Confluence. We actually have Confluence at our organization but nobody uses it really.
Drupal has the idea of custom content types, which are models of your content which you can define and create via the UI. For example, you could define a content type called "Recipe" and a user can create an instance of a reciple. When the user goes to add the instance of the recipe a custom form is presented with custom fields such as:
Drupal then stores the fields in the database and presents the recipe just like it would with a page but with the custom fields instead.
Is something like this possible in Confluence? It wouldn't necessarily require a user or admin to define the content type via the UI. The content types could be hard-coded in a plugin.
There is some development work underway in Confluence to support true custom content types, but it is in early stages and we're not ready to announce anything or commit to public availability.
Thanks for checking back :-)
We have basic support for custom content types in Confluence in 4.3 - this is a developer-focussed feature that allows plugin developers to store different kinds of content in Confluence and get some Confluence functionality (like labelling, attachments, comments and permissions) "for free".
This is still a basic implementation of this feature, as some things like editing the content type are not innately supported by Confluence and need to be handled entirely by the plugin.
We don't have any public documentation available for this yet, but I hope it will be available soon.
@josephclark --just wanted to follow up on this with you as well since this seems to be an unsolved question. We are currently facing this exact issue. We figured out how to create custom content types in Confluence via templates/Blueprints, however we're trying to figure out how to get their custom icon attribute to show up / override the standard page icon in the system (for example, search results). Any help would be much appreciated!
Over a year later, still no documentation one this ;)
And yes, OnDemand restrictions still apply, afaik.
If anyone is interested: I created a dummy plugin for custom content types, which is still far from a documentation, but at least a somewhat minimized example:
After implementing this, you might ask: "Nice, but how do I insert useful content in there?"
I tried embedding the Atlassian Confluence RTE into a plugin. Again, no documentation, but better than nothing:
Just wanted to let everyone know who stumples upon this question in search for custom content types ;)
I have implemented a Custom Content type and also would like to use the RTE for that custom type. I began trying to extend the Page Confluence class, but the more I thought about it, the more I realized that was not the solution. So I'm taking a look at your code for the RTE and I really hope that it works for my purposes. Hopefully what you have in the repo is enough to get me going, so thanks in advance!!!
Unfortunately as you are using the on-demand service you won't be able to install any plugins that might be able to help with this.
Your best option might be to use page templates, but that doesn't really go as far as you want with editing the data in a custom way after it has been created.
Did you ever figure this out Aaron? We are currently facing this exact issue. We figured out how to create custom content types in Confluence via Blueprints, however we're trying to figure out how to get their custom icon attribute to show up / override the standard page icon in the system (for example, search results). Any help would be much appreciated! Cheers!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs