6

The call will be authenticated based on the Content Hub cookies you have. So it will use the logged in user to make the call. You can use jQuery to make the call, the library is already loaded. $.ajax({ url: `${options.api.entities.href}&skip=0&take=10`, contentType: 'application/json', type: 'get', success: (data) => { callback(...


2

For Sitecore 10.1 you need to install Sitecore Connect for Content Hub 4.0.0 - Since v3, Connect for DAM and Connect for CMP were merged into a single package.


2

We need to enable the publishing before using GraphQL endpoints. Open /admin/settingmanagement Search for publishingSettings Enable the publishing Publish Schema IDE: https://my.stylelabs.io/api/graphql/preview/ide/ Make sure you are passing in "X-GQL-Token" in the headers. This can be created from admin/api-keys On the specific content ...


1

I've hit the same exact problem, what was causing this functionality not to work for us was having a dot character in the name of the taxonomy, e.g. we had Content.Topic as the taxonomy name, here is what it looked like: I've had Sitecore support confirm this as a bug, to fix it we simply renamed our taxonomy to Topic rather than Content.Topic, I'm not sure ...


1

I am quiet new to Content Hub and now about Sitecore Experience but I may be able to help you with the Content Hub API. It seems that with the Content Hub API you will not have the full hierarchy but just the parent and children of your entity. So, in your example, your entity id is 34159 (from self.href) and its parent id is 34210 (from parent.self). Isn't ...


1

The connector renders an iframe that loads up Content Hub. Open your browser console to try spot the error being thrown. Your updated question shows the error of a missing controller. Most likely you have wrong DLL versions of the connector (maybe something else is replacing a DLL it uses), or a web.config setting is blocking the api endpoint. Compare the ...


1

Finally, I got the root cause of it. Everything was configured correctly but the user, which is being used to communicate to Content Hub, was not having proper rights to access those CMP items. I just added proper roles and it worked. We just need to make sure that the user has enough access rights to the relevant area. In my case, I have given all available ...


1

To log in with the other user you need to perform the below steps: Create Groups into Azure AD like Author, Editor, or a single group like you have created Admin Group in your Azure AD. It will give you a unique GUID. Assign that group to all those users, which you want to log in. Next, you need to create the same group as a Role into the Sitecore and ...


1

See the documentation of query properties here: https://docs.stylelabs.com/content/3.3.x/integrations/rest-api/query/query_properties.html Below you can find part of it copied just in case the link above doesn't work anymore: Sorting The entity query endpoint supports multi-field sorting. Below are some examples of sort parameters that can be provided in ...


1

ChangeTracker is only avaiable on InProcess scripts that are fired on Pre-Commit phase.


1

Might be a little late on this one, but can you check your trigger action and ensure it's not running the script in "Post Action".


1

You must set the Minimum log level on your script before you save/build/publish it: Warning This setting is reset every time you edit a script, so you will need to change it again every time you want to use a logging level more verbose than INFO.


1

For the combined connection string (Endpoint and Topic) you can get that from Azure. When in the Azure Service Bus, click into the one of the topics and then click on the "Shared access policies" option within the Topic. It will be blank. You add a new one and will be able to grab the connection string with the combined values. The connection strings should ...


Only top voted, non community-wiki answers of a minimum length are eligible