Questions tagged [api]
Any questions related to API integration including various API services provided by Sitecore like JSS, LayoutService etc
15
questions
0
votes
2
answers
71
views
How to use the REST API to fetch data from Content Hub using Postman
Using Content Hub v4.2
I would like to fetch the data in Content Hub using the REST API, but couldn't find any Postman related examples.
I tried this to get the token with no luck.
Is it the right ...
2
votes
1
answer
52
views
Create item with branch as template using ItemService API
Good afternoon, I'm trying to create Item using REST API and branch ID as the Template ID the service returns a 400 "Template is invalid" error. Does anyone know if there is a way to create ...
1
vote
1
answer
44
views
Stored Sitecore search using API returns 400 error
I am trying to use stored Sitecore search using an API call from console application, but it is throwing 400 error. I have followed the sitecore documentation
https://doc.sitecore.com/xp/en/developers/...
0
votes
0
answers
12
views
Sitecore.Context.User not persisted in api call from angular end [duplicate]
We are using Sitecore 9.3 (SXA) with Angular in frontend and Azure as Identity Provider. After user is logged in, a post request (/api/sitecore/track/customevent) is sent to AbcController from angular ...
0
votes
1
answer
44
views
Sitecore Role Management customization [closed]
How to Access the sitecore.Context from my custom web api to manage the Roles? I am trying to connect to sitecore context using custom APIs.
0
votes
0
answers
56
views
Scheduled Job loses Context after api call
I have a standard Command and Schedule Task items in Sitecore that is being executed based on interval. I am trying to track progress of this job in jobs.aspx or code but everytime code calls another ...
0
votes
1
answer
79
views
Get the content from third party API
We have requirement to create a dynamic Pages in SXA. This dynamic page will have a template. These template will have a page design with partial designs. All of the partial designs get the content ...
0
votes
1
answer
220
views
How do I force the Sitecore FieldRenderer or Glass.Mapper, when rendering rich text fields, to always render absolute urls for my API?
I have an API in Sitecore that takes content from Sitecore and provides it to an external non-Sitecore site. While retrieving content, the API renders a rich text field using a glass mapper. This rich ...
1
vote
1
answer
76
views
Change sort order with Sitecore Restful API
Can sortorder of a sitecore item be change or set during a Create or Edit through the Sitecore Restfull API. It seems you can only read standard fields?
Sitecore Version 9.3
0
votes
1
answer
92
views
Get Experience Forms Performance statistics using API
Is there an API to use the form performance? I'm using Sitecore 9.3.
3
votes
1
answer
631
views
Sitecore OData MaxDepth $expand
I need to retrieve Sitecore item fields and its properties with more than few levels and while running the below query
https://sc92instance/sitecore/api/ssc/aggregate/content/Items('76516a9f-203d-4006-...
1
vote
0
answers
155
views
Azure search Synonyms implementation using SXA 1.9 and Sitecore 9.2 using postman API
I have requirement to work with the synonyms for the similar group of words in search.
I did load the synonyms using Postman API to SXA web index and able to see them on the index.
For example: home,...
2
votes
1
answer
190
views
Contacts not enrolling in Automation Plan in XP Scaled topology
I am using events to enrol contacts in a Marketing Automation plan, and it works fine in XP Single topology, but in an XP Scaled topology (Azure PaaS) the contacts are not being enrolled.
The plan is ...
1
vote
1
answer
1k
views
Sitecore custom api routing is not working
We have a multi-site environment.
In one of the module, we are calling the same controller/action from all the sites. Perhaps, the same Javascript file which calls this controller/action is ...
8
votes
2
answers
4k
views
Is there any known performance difference between Item.Axes.GetDescendants() and recursive Item.GetChildren()?
I was wondering if there is any known difference (mostly performance related) between those two methods of retrieving all children of a given Item.
The first one will give me all levels of children in ...