Content Hub: Search specific Assets via API

When we startet our Content Hub story, the first thing we had to do is migrating the assets from the old CMS to the Content Hub. To identify the assets we added a textfield “Old CMS ID” to the M.Asset, because later we have to do some changes for just the migrated assets, such like get public link for a specific one or create the public link.

First you need to configure the user in the Content Hub. Caution: It must be a superuser, otherwise you won’t get the right search results! We tried it first with ContentAdministrator, but this didn’t work out. Configure your user as API user and set clientId and clientSecret.

Continue reading “Content Hub: Search specific Assets via API”

Plain Sitecore – Add Edit Context Item Button to the Experience Editor ribbon

After we added the two custom experience buttons to our renderings, we came up with the idea, to offer the editors the possibility to even edit all fields of the context item – sometimes not shown in HTML directly such as meta title, meta description and so on – without switching back to the Content Editor. Therefore we implemented the “Edit context item” button I will describe in the following.

Continue reading “Plain Sitecore – Add Edit Context Item Button to the Experience Editor ribbon”

Plain Sitecore – Custom Experience Button dynamically loading the rendering’s properties

Some time ago I described how to implement an “Edit Fields” Button without defining all fields. Now we have a look at the implementation for the rendering properties. For this we also implement a command, but need one step more.

Continue reading “Plain Sitecore – Custom Experience Button dynamically loading the rendering’s properties”