I've created a Contenttype and some fields in a visual studio project. They are deployed when activating the "Content types"-feature. But here's the problem: I want them to be deployed to the Content Type HUB (in Office 365). Deploying itself isn't a problem but I also want the content-types to be published, so I can use them in my other sitecollections.
I guess I'll need to do this with the client object model with a feature receiver? Is there anyone who has an example how to do this? (Or if there's a better way to do this, please say so...)