1. Embedding SDK

Create an asset picker page

Note

To configure Content Hub, you must either be a superuser or have the necessary permissions granted to you through user group policies.

Content Hub provides a default asset picker page (SCAssetConnector) that you can embed in an external app using the Embedding SDK.

However, if you want to customize the asset picker, you must create a new page and add a Search component to it. You also need to add the Select public link operation to use the onPublicLinkSelected callback.

To create an asset picker page for the Embedding SDK:

  1. Create a page with the Master layout set to Sitecore plugin.

  2. On your new page, on the Layout tab, add a Search component and then click it.

  3. On the component's details page, add the desired filters to the Search component.

  4. Optionally, on the component's details page, configure the functionality you want.

  5. On the component's details page, in the Views section, enable the view you want to use for your asset picker.

  6. On the Operations tab of the enabled view, click Add operation > Select public link.

  7. In the Select public link settings, turn on the Is main click area operation switch.

  8. Click Save.

  9. To enable additional views, repeat steps 5 to 8.

  10. Optionally, on the component's details page, you can configure the tools you want.

You can now embed this page into an external app using the Embedding SDK.

If you have suggestions for improving this article, let us know!