6
votes
How to call api from external component
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(...
5
votes
Accepted
How to set a goal in Content hub
There are some reporting events that get initiated automatically in the Content Hub. For example, you will be interested in an asset.download.completed event.
Whenever an asset is downloaded, a log ...
5
votes
Accepted
Migrate sitecore media library to DAM and update the media links in Sitecore
You can export Media files in CSV format and upload them into the Content hub.
Step 1:
Sitecore Media Library Export to CSV:PowerShell extensions script to help export the media library assets file ...
4
votes
Accepted
Can we have Sitecore XP like personalization in Content Hub
The Sitecore Content Hub platform is not a personalization engine. It is aimed at delivery and management of content and digital assets. Moving to Content Hub focuses purely on the content part of ...
3
votes
Accepted
How to fetch all items from a Content Collection
I have raised a support ticket with Sitecore and the 2nd approach they have suggested, worked for me.
Approach 1:
If you already know the ID of the collection, you can directly use
/api/entities/{id}/...
3
votes
Accepted
Import excel component not visible in Content Hub for creating bulk assets
You can also import Excel files from the Products section as well, following the steps -
Click on Products from Menu
Then click on the + Add button
Click on the Import Excel button
Import your ...
2
votes
Why doesn't my restricted Content Hub script have a ChangeTracker?
ChangeTracker is only avaiable on InProcess scripts that are fired on Pre-Commit phase.
2
votes
"Insert from Sitecore DAM" page is empty after installing Sitecore Connect for Sitecore DAM-2.0.0
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
votes
While access preview API for Sitecore Content Hub, getting "HTTP ERROR 401" This page isn’t working error
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/...
2
votes
Accepted
Watermark Preview won't display
To fix this, I did the following:
Go to Manage/Watermarks
Open Default Watermarks. Remove the Preview rendition from Rendition Links, and save.
Add Preview back to Default watermark and save. The ...
2
votes
Accepted
Error : Relation ‘fieldName’ is self referencing and multiple relation instances match
To solve this we need to pass the second parameter which is RelationRole like below –
IRelation relation = arg.Entity.GetRelation("fieldName", RelationRole.Parent);
This relation role can ...
2
votes
How to call api from external component
After some help from colleagues, I was able to get the way to perform PUT and POST requests without any additional authentication (it shares then current cookies).
There are jQuery extension methods $....
2
votes
Accepted
What Security Policies are necessary to enable the Annotate function?
You need to set the rule for both entity definitions M.Asset and M.File, and then you have to select ReadAnnotations and CreateAnnotations permissions.
Your portal pages rule is fine, but remove the ...
2
votes
How to create a superuser in Content Hub
Try using these steps and connection string values that will help you in setup and configuration.
Create a Sitecore CMP User (Ex: SitecoreCMPUser) in Sitecore Content Hub (Go to Sitecore Content Hub ...
2
votes
How to create a superuser in Content Hub
To create user we followed below steps -
Go to Admin Panel and select Users
Click on Add User button
In the Details tab, provide the Username and Modules
In the User groups section - Click on Add to ...
2
votes
Update Sitecore ImageField with Media Item from Content Hub
Figured out how to solve this myself so I wanted to post this in case anyone else needs help with this. I realized that the FieldItems are just xml so I created a new ImageField and then added the ...
2
votes
Send e-mail notification when an Asset is submitted for approval
I don't think there is an OOTB way to send emails to notify users about approval.
The only way is by creating the script.
The following script goes through the following high-level steps:
Check if a ...
2
votes
Unable to create API Key
If you see the document provided for the Sitecore Content hub, here are the steps to configure your publishing settings given in this reference document.
Configure the publishing settings
The final ...
2
votes
Accepted
Reorder the top menu items
In the content Hub follow below -
On the menu bar, click Manage Icon.
On the Manage page, click Pages.
Reorder pages as per your requirement by drag and drop using icon
Then refresh the page you ...
2
votes
Accepted
How to use the REST API to fetch data from Content Hub using Postman
The API endpoint you are using appears to be correct, but there are a few things that could be causing issues with your authentication request:
When requesting a token from the Content Hub API, you ...
2
votes
Accepted
Getting 'you do not have rights to publish collection' error message
publishcollection is a privilege that is required to be able to publish collections.
Please check your user group has this privilege assigned on the Privileges tab.
Manage-> Users -> User groups ...
2
votes
Accepted
How to check Content hub version?
You just need to use url - https://sitecorecontenthubURL/api/status
It will show a json format, search for product_version, it will tell you the Content Hub version.
2
votes
Accepted
Issue in sending emails with Content Hub OOTB Email Template
I created a sitecore ticket for that and they suggested me to use username instead of email id. The system should then be able to fetch the email from the user's profiles, it worked and it sent email ...
2
votes
Content Hub Connector for Drupal
I am uncertain whether the Acquia Drupal Connector is currently outdated. I suggest that you can check with Sitecore Support/Sales for confirming.
Other than that, there is indeed another approach to ...
2
votes
How to check Sitecore Content Hub Version
With 4.2+ version previous version has now been removed/disabled (Check July 17, 2023 Improvements here), however, the version number is now shown within the user interface of Content Hub.
You need to ...
2
votes
How to check Sitecore Content Hub Version
@SumitHelaiya mentioned is the new way to know the version, now instead of version it was showing previously it is showing updated dates in right bottom panel of manage page. Please refer this url - ...
2
votes
How to check Sitecore Content Hub Version
Kindly refer to the Content Hub Versioning Policy document. As per the document, the releases dates will progressively replace semantic versioning to identify different versions of Content Hub.
Each ...
1
vote
How do I configure a Trigger action on entity duplication
Yes, You can create a trigger which will fire an action whenever a duplicate entity will be created.
Lets take an example of an asset, create a new trigger and select objective "entity creation&...
1
vote
Accepted
Sitecore Content Hub One with inbuild Experience Edge support?
Yes, that's correct - actually Experience Edge is not tagged as a separate feature with Content Hub One. We offer globally distributed GraphQL APIs powered by Experience Edge. It is just a part of the ...
1
vote
Watermark Preview won't display
Even I had a similar issue and this blog didn't have the solution for my issue but yes and it pointed in the right direction. So adding my solution and help in troubleshooting. Under the Watermarking ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
content-hub × 95content-hub-scripting × 12
dam × 7
taxonomy × 5
content-management × 4
sitecore-api × 3
cmp × 3
azure × 2
multilingual × 2
reporting × 2
serialization × 2
azure-service-bus × 2
sxa × 1
sitecore-commerce × 1
experience-editor × 1
content-editor × 1
security × 1
identity-server × 1
search-facet × 1
role-management × 1
javascript × 1
content-delivery × 1
user-profile × 1
azure-ad × 1
sitemap × 1