Skip to content

Instantly share code, notes, and snippets.


islaytitans/GetFields.js Secret

Created Jul 29, 2015
What would you like to do?
Sitecore Hackathon GetFields
GetFields: function () {
var datasource = this.DataSource;
var querystring = this.GetQueryString();
var itemid = querystring["itemid"];
var fieldService = new entityService({
url: "/sitecore/api/ssc/DevToolKit-Controllers/SitecoreItem"
var result = fieldService.fetchEntity(itemid).execute().then(function (item) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment