IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
You can create a web service, using Sitefinity CMS backend UI. To do this, perform the following:
A single route may have one or more services. A service is a group of exposed types. To create a web service, perform the following:
Name
UrlName
To define the access permission for the service, perform the following:
Access
Anonymous
Authenticated
Admin
AccessControlAllowOrigin
SecurityConfig.config
Each service may have one or more types. You cannot add one and the same type twice in a service. To configure the types that are exposed by the service, perform the following
NOTE: By selecting all types, you are setting the AutoGeneration property of the service to true. It controls how the types to the service are added. If it is set to true, the types of the service will be automatically populated from OOB Sitefinity CMS recommended types and their properties. This means that every newly added or removed custom field or dynamic type will be automatically added or removed from this collection. The changes to the configuration are reflected immediately after a save action occurs. An exception is the navigation property for comments, whose AutoGeneration mode depends on the configuration in the Comments module. A change to the comments settings require an application restart. You can turn off auto-generation from the Advanced configuration of types.
AutoGeneration
true
NOTE: By excluding some types, you are setting the AutoGeneration property to false. This means that changes to the custom fields and the dynamic modules will not be automatically reflected in the service. You have to manually maintain the collection of types.
In the advanced settings of the service, you can configure more settings, such as modifying the fields and the field properties of a type, configuring semantic queries, setting the lifecycle status of content items that are included in the service, adding and removing custom types from the service. For more information, see Advanced configuration of types.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important