3.1.5.3.8 create service

The create service method is used to create a new subsite on the server.

Parameters

service_name: For semantics, see service_name in section 3.1.5.3.1. The client SHOULD send this parameter as a suggestion for the name of the new subsite if the flags parameter is sent with a value of 1. The client MUST NOT send this parameter if the flags parameter is sent with a value of 0.

meta_info: For semantics, see meta_info in section 3.1.5.3.1. This METADICT (section 2.2.2.2.11) contains the metadata that the server MUST apply to the newly created service subsite. If this parameter is missing or empty, the server MUST create the service subsite with all default values.

flags: Contains an INT (section 2.2.2.1.2) used by the client to indicate whether the server can treat the name provided in the service_name parameter as a suggestion for the name of the newly created subsite. If the flag has a value of 1, and if the value of the service_name parameter contains unacceptable characters, the server SHOULD use a similar name to create the subsite. If this flag is 0, and if the service_name parameter is not valid, the server MUST NOT create the subsite.

lcid: An INT (section 2.2.2.1.2) that contains the LCID that the server SHOULD use as the default for the new subsite. By default, the server SHOULD use the LCID value of the parent site.

Entry Point

FPAdminScriptUrl

Return Values

service_name: A URL-STRING (section 2.2.2.2.3) that contains the server-relative URL for the newly created subsite.

meta_info: For semantics, see meta_info in section 3.1.5.3.1. This METADICT contains all the newly created subsite's metadata available to the client.