Sitecore Content Hub: How to extend the search for choosing an entity in a relation field

When you add a relation field in an entity and make this visible in the Entity details component on the Detail page you can see a default search, which is just a list of entities with a search field. But what if you want to enhance this search with facets e.g.? This blogpost will show you how to do this.

Continue reading “Sitecore Content Hub: How to extend the search for choosing an entity in a relation field”

Content Hub: Dependent fields on entity details component

We all know the requirement, that fields are dependent on other fields. Also in Content Hub projects this can be a requirement for editing details of an entity. Following I will show how to solve this for two taxonomy members of an entity.

The use case is the following: We have a Taxonomy “Category” and a Taxonomy “Section”, both are related to M.Asset and Subcategory is dependent on Category. (We had discussed this example in Sitecore Slack Channel)

Continue reading “Content Hub: Dependent fields on entity details component”

Content Hub: Different state flows for different content types

When it comes to creating different content types like blog articles, business reports or similar in Content Hub customers often need different workflows for the different types. In Sitecore Content Hub CMP there is one main state flow which you can configure. Following I will show you how to trigger different state flows.

Continue reading “Content Hub: Different state flows for different content types”

Content Hub: Notifying Sitecore about Asset changes via Azure Service Bus und update image fields

Last time I wrote about our changes to the DAM connector to store extra fields in the XML raw value of the image fields in Sitecore. But what happens if these values are changed in Content Hub? We implemented storing the value in the moment we choose the asset from Content Hub. So we would have to choose again the asset which we changed in Content Hub? No way! Following I will show you our implementation of notifying Sitecore that something has changed and update the image fields in Sitecore.

Continue reading “Content Hub: Notifying Sitecore about Asset changes via Azure Service Bus und update image fields”

Enhance DAM Connector for retrieving additional information to an asset in Sitecore

We all know the situation: Some images are restricted and we have to display their copyright and source in the image caption. Editors want to save this information only once. So, if you use the Content Hub they want to do it there.

The work in Content Hub itself is simple, just add two string-properties to the M.Asset-schema and you can edit them for the assets. But how do you get this information in Sitecore? The DAM Connector just comes with a few properties like asset ID, public link and the property you configured to use for alt text.

This blog post gives an idea of enhancing the connector for retrieving the additional properties you need.

Left: Content Hub Asset with Copyright and Source. Right: Preview in Sitecore, Teaser with rendered Copyright and Source.

Continue reading “Enhance DAM Connector for retrieving additional information to an asset in Sitecore”

What about Image Resizing via QueryString Parameter when using Public Links from Content Hub?

In Sitecore we know that there is the possibility to add params like “mw” for maximum width and “mh” for maximum height. But what if we use Public Links from Content Hub? Spoiler: There is such funcitionality! In this blogpost we’ll have a short look into the hub and its possibilities.

Continue reading “What about Image Resizing via QueryString Parameter when using Public Links from Content Hub?”

Content Hub: Find asset for public link

When using the assets from Content Hub there is currently no way ootb to find the asset for a public link.
But this is a feature, which could be very senseful, so I tried to find out what we can do in Content Hub for achieving the goal. We can’t configure it in the search component used on the assets page for example. So I tried the way with a new page and an external page component and here is what I found out:

Continue reading “Content Hub: Find asset for public link”