How to extend the layout service in Sitecore?

How to extend the layout service in Sitecore?

These can be used to create app-specific layout service extensions by registering your own. An item lookup is performed based on the item parameter which takes the context site’s start item into account. The logic should match standard Sitecore URL handling.

What kind of security model does Sitecore use?

Sitecore’s security model allows you to restrict content access by users and roles, personalize on user profile, and more. It is built on top of ASP.NET Membership and by default utilizes the .ASPXAUTH cookie by default.

Can a field name be changed in Sitecore?

Field names can be changed in Sitecore, if you need to e.g.: have them camel-cased, you need do it in Sitecore. So basically serialization configuration is responsible for changing JSON on which user don’t have influence. Changing the Layout Service configuration used by JSS should be done with care.

Is there an authentication service for Sitecore services?

Sitecore Services Client includes an Authentication Service which can be utilized to RESTfully log into Sitecore and set the .ASPXAUTH cookie. You may invoke this service within your JSS application in order to utilize Sitecore authentication and authorization.

How to configure, scale, and develop with Sitecore?

Install, configure, scale, and develop with Sitecore. Choose this part of the site to see technical documentation that will help you configure and customize Sitecore components.

How to customize the serialization of a field in Sitecore?

If you wish to customize the serialization of a particular field type, the basic steps are: Create an implementation of Sitecore.LayoutService.Serialization.FieldSerializers.BaseFieldSerializer. Override the WriteValue method and utilize the JsonTextWriter to create your custom JSON structure for the Field.

How to build a JSS site in azure?

This guide is designed to be the simplest way to get up and running with a JSS site using integrated mode in Azure, using a version of Sitecore deployed from the Azure Marketplace. In practice a more advanced deployment toolkit would be appropriate that involves source control, automated builds, testing, etc.

How to create a Sitecore instance in azure?

In case you already have Sitecore instance in Azure you have to use ARM templates methodology. Download official released Sitecore JSS WDP packages for the appropriate JSS version and topology. Download ARM templates available on the GitHub for the appropriate JSS version and topology.

How to deploy Sitecore JSS to app service?

Collect the artifacts and deploy them using FTPS to the App Service under the relative path listed in the sitecoreDistPath setting in your app’s package.json. In most cases, this would be /dist/YourAppName, which translates to deploying the build to /site/wwwroot/dist/YourAppName on the app service