Sunday 16 November 2014

Sitecore Web Service

The Sitecore service layer is based on web services. It is useful when the developer wants to use Sitecore as a repository for his site content.

Sitecore provides two sets of web services:

  • Visual Sitecore Service (Good Old Web Service) at /sitecore/shell/WebService/service.asmx
  • Sitecore Web Service 2 (Hard Rock Web Service) at /sitecore/shell/WebService/service2.asmx
























Some of the methods purposes are:

Method Name
Purpose
AddFromMaster
To create and item under master item.
AddFromTemplate
To create and item of specified template type.
AddVersion
To create new version of item.
CopyTo
To create copy of existing item.
Delete
To delete and item.
DeleteChildren
To delete children of the specified item.
GetChildren
To retrieve children of item.
GetDatabases
To return list of the database names .
GetItemFields
To returns a list of the fields that this item contains.
GetItemMasters
To return master of the item
GetLanguages
To returns a list of the languages that are set for the entire site.
GetTemplates
To returns a list of the templates in the site.
GetXML
To returns the XML representation of an item.
MoveTo
To move the item under different parent
Rename
To Rename an item
InsertXML
To insert item based on representation
Save
To updates the item based on the representation
VerifyCredentials
To validate user authorization.

1 comment:

  1. I am glad to find amazing information from the blog. Thanks for sharing the information. for more useful Information visit:
    best web development services in pakistan

    ReplyDelete