6

In my point of view, JSS is pretty suite for your requirements. I've implemented something like you want with Xamarin. But I think it doesn't matter with which technology to do that because I didn't use any Xamarin Sitecore specific frameworks or tools. I only send simple HTTP requests to LayoutService. If user accessing the different-2 pages from mobile ...


4

Fast query does not equal to web request. It should not return same codes. You can execute fast query from Item Web API, from code, from XPath builder. And for these three places fast queries should work in a same way. I think that it would have no sense get 404 error when executing query code or XPath builder. 404 is response code for web Not Found. 404 ...


3

Yes it is feasible to get the item id from the return result. You just need to add the itemidin the field projection. Please see below the updated Rest API http://{host}/sitecore/api/ssc/item/search?term=12345&includeStandardTemplateFields=False&fields=Email,itemid I did a small test with the home item and the result are shown below (which returns ...


3

The LinkDatabase can help you with this. Get all references from your Sitecore.Context.Item, add any items under /sitecore/media library to a list. Get all references from each reference, filter out anything that isn't under /sitecore/media library and add the remaining to your list Now loop through your list and collect all your keywords Add them to ...


3

Try this instead: https://localhost/sitecore/api/ssc/item/7ff9d310-abcd-abcd-abcd-d5fdc5f305b9?includeStandardTemplateFields=true It should return a value for __Display name as well as all other standard field values. I just realized I didn't read all of the question. In the case of a multilist field (or any data field), the field only contains the raw ...


2

You can do this in the Item Web API. Basically you have 2 parameters page: Specify the page number in the result set of pages that the service shows. pageSize: Specify the number of results the service returns in the HTTP response. Which will control how many items you get, and which virtual "page" to start from. Example: /item/{id}/query?pageSize&...


2

Received some help from Sitecore support and turns out there is a "loggedin" pipeline that gets called when logging in normally via /sitecore/login. Starting this pipeline after the LoginVirtualUser() call, successfully authorises the client to access the Media Library Search bar: private ActionResult VirtualLoginToSitecoreShell() { // set user ...


2

According to the documentation https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/the-restful-api-for-the-itemservice.html you can use url like /item/{id}/children?database&language&version&includeStandardTemplateFields&includeMetadata&fields to retrieve children of the item with id specified in {id} parameter


1

You may try to look on Sitecore Mobile SDK. IIRC, it supposed to do what you request but the project looks a bit outdated... Last commit a year ago.


1

A workaround for this has been found on the basis of the answer posted on my question asked in the Sitecore community. For the general link field, the data source for the home node was passed below which all the pages are present. Now the tree is opening so that page can be selected now.


1

You can create components and use the experience editor to add them. My approach would be as follows First Component (Right side) Create a component named ContentSpot. This component has a datasource pointing to an item that has the data. For performance, you can cache the rendering and use the vary by data. Moreover, you can use indexing to pull data ...


1

You'll need to specify the payload query parameter to return ALL the fields. Otherwise, it returns only content fields. So add: ...&payload=full


1

Since you say you were thinking of requiring the use of the auth/login endpoint before requests can be made to your custom controller, what you can do is add the Authorize filter as an attribute to the controller or specific actions like this: [Authorize] public class ExampleController : ServicesApiController { public ActionResult Index() { ...


1

I would go with custom Authentication/Authorization Filter: public class AuthorizedUser : AuthorizationFilterAttribute { private readonly string _user; public AuthorizedUser(string user) { _user = user; } public override void OnAuthorization(HttpActionContext actionContext) { base....


1

I believe below 2 steps should work for you: Create an item with template "/sitecore/templates/System/Services/Item Service/Query/Query Definition", this has a Query and Database field, populate this accordingly Execute the query like this https://{base url}/sitecore/api/ssc/item/{id of item created in step 1}/query


Only top voted, non community-wiki answers of a minimum length are eligible