@constellation4sitecore/data
v22.2.9
Published
A collection of XM Cloud compatible libraries for SXA Sitecore Development.
Downloads
2,014
Readme
Constellation Data
Installation
npm install @constellation4sitecore/data --save
Usage
Our data library simplifies the process of retrieving Sitecore items without the need to create a GraphQL endpoint manually. It seamlessly utilizes the GraphQL endpoint in the background, saving you from the hassle of writing complex GraphQL code yourself.
Get Item
await getItem(itemId);
Derived From
await derivedFrom(itemId, 'BASE TEMPLATE ID');
Get Template Info
await getTemplateInfo(itemId);
Credits
Sponsors/Developers/Testers
(in no particular order)
- Richard Cabral
- Roberto Armas