Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Sitecore-XM-Cloud-Developer Exam - Topic 2 Question 47 Discussion

Actual exam question for Sitecore's Sitecore-XM-Cloud-Developer exam
Question #: 47
Topic #: 2
[All Sitecore-XM-Cloud-Developer Questions]

A developer is tasked with creating an item using the Sitecore Authoring and Management GraphQL API. Which of the following GraphQL mutations is the correct way to create a new item?

Show Suggested Answer Hide Answer
Suggested Answer: C

The correct GraphQL mutation to create a new item in Sitecore XM Cloud is createItem. This mutation allows developers to specify the necessary details such as the item's name, template ID, parent ID, language, and fields to create a new content item within the Sitecore content tree.


Contribute your Thoughts:

0/2000 characters
Rashad
10 days ago
I remember we did a practice question about updating items, and I think "updateItem" was the term used there, but I can't quite recall the create mutation.
upvoted 0 times
...
Jovita
15 days ago
I feel like "createTemplateItem" might be the right answer, but it sounds too specific for just creating any item.
upvoted 0 times
...
Vernice
20 days ago
I vaguely recall that "createOrUpdateItem" was mentioned in our study materials, but I'm not sure if that's the exact term used in GraphQL.
upvoted 0 times
...
Carmen
25 days ago
I think the mutation for creating a new item is similar to what we practiced, but I can't remember if it's "createItem" or something else.
upvoted 0 times
...

Save Cancel