Q: How to enable Sitecore Item API in existing Sitecore project?
Solution:
These are few simple steps to follow -
Post your comments, if this blog helped you.
Solution:
These are few simple steps to follow -
- Goto Website -> App_Config -> Sitecore -> Services.Client folder
- Open Sitecore.Services.Client.config file and make below changes -
- Set the value of Sitecore.Services.AllowAnonymousUser as 'true'
- <setting name="Sitecore.Services.AllowAnonymousUser" value="true" />
- Set the value of Sitecore.Services.SecurityPolicy to 'Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy'
- <setting name="Sitecore.Services.SecurityPolicy" value="Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy, Sitecore.Services.Infrastructure" />
- Open Browser and access this URL
- https://<Your Sitecore Instance>/sitecore/api/ssc/item/<Your_Item_Id>
- You should get Item information as JSON response.
Post your comments, if this blog helped you.
Comments
Post a Comment