Click or drag to resize

PublishingWebDefinition Class

Specifies a web with the SharePoint publishing feature.
Inheritance Hierarchy

Namespace:  Colygon.MatchPoint.Provisioning.ObjectDefinitions
Assembly:  Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2019.2.1.0
Syntax
C#
[SerializableAttribute]
public class PublishingWebDefinition : BaseWebDefinition

The PublishingWebDefinition type exposes the following members.

Constructors
  NameDescription
Public methodPublishingWebDefinition
Initializes a new instance of the PublishingWebDefinition class
Top
Properties
  NameDescription
Public propertyFeatures
Contains features that are activated by this provisioning configuration.
(Inherited from BaseWebDefinition.)
Top
Methods
  NameDescription
Protected methodActivateFeatures(SPWeb) (Inherited from BaseWebDefinition.)
Protected methodApplyComposedLook (Overrides BaseWebDefinitionApplyComposedLook(SPWeb, ProvisioningContext).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetAsMasterPageUrl (Inherited from BaseWebDefinition.)
Protected methodGetDefaultFeatures (Overrides BaseWebDefinitionGetDefaultFeatures.)
Protected methodGetFromMasterPageUrl (Inherited from BaseWebDefinition.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPostProvision (Overrides BaseWebDefinitionPostProvision(ProvisioningContext).)
Public methodProvision(ProvisioningContext) (Overrides BaseWebDefinitionProvision(ProvisioningContext).)
Public methodProvision(SPWeb, Boolean) (Inherited from BaseWebDefinition.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldBaseTemplate
Specifies the base template which is applied before the provisioning is done. Allowed values are published base templates (e.g. "STS#0") or MatchPoint Provisioning configurations (e.g. "ProvisioningConfiguration.xml").
(Inherited from BaseWebDefinition.)
Public fieldComposedLook
Specifies the composed look for the new web. The composed look of the parent web will be used if none is specified.
(Inherited from BaseWebDefinition.)
Public fieldContentTypes
Contains definitions for content types that are to be created by this provisioning configuration.
(Inherited from BaseWebDefinition.)
Public fieldCulture
Specifies the culture for the new web. E.g.: 'en-US' for English (United States).
(Inherited from BaseWebDefinition.)
Public fieldCustomMasterPageUrl
Specifies a master for publishing pages (Site Master Page). At runtime, the value in this property replaces the '~masterurl/custom.master' token in content pages. Provide a master page file name for master pages located in '_catalogs/masterpages', a web relative master page URL ('SomeLibrary/file.master') or a server relative page url if the master file is located in a parent web.
Public fieldDescription
Specifies the description of the web.
(Inherited from BaseWebDefinition.)
Public fieldDescriptionResource
Contains string translations for the description parameter in different languages.
(Inherited from BaseWebDefinition.)
Public fieldFolderSettings
Contains folder settings of this container element.
(Inherited from BaseWebDefinition.)
Public fieldLanguageSettings
Specifies the language settings for the multi language user interface support.
(Inherited from BaseWebDefinition.)
Public fieldLists
Contains lists which are created or modified by this provisioning configuration.
(Inherited from BaseWebDefinition.)
Public fieldLogoUrl
Specifies the logo URL for the new web. The logo from the parent web will be used if empty.
(Inherited from BaseWebDefinition.)
Public fieldMasterPageUrl
Specifies the default master file. At runtime, the value in this property replaces the ~masterurl/default.master token in content pages. Provide a master page file name for master pages located in '_catalogs/masterpages', a web relative master page URL ('SomeLibrary/file.master') or a server relative page url if the master file is located in a parent web.
(Inherited from BaseWebDefinition.)
Public fieldNavigation
Contains the navigation settings for this provisioning configuration.
Public fieldPages
Contains pages that are to be created within the publishing web.
Public fieldPermissionAssignments
Contains permission assignment definitions for this object.
(Inherited from BaseObjectDefinition.)
Public fieldPortalName
Specifies the friendly name for the portal. This setting is only used when a site collection is created.
(Inherited from BaseWebDefinition.)
Public fieldPortalUrl
Specifies the URL for the portal. This setting is only used when a site collection is created.
(Inherited from BaseWebDefinition.)
Public fieldProvisioningLanguage
Specifies the language of the names specified to reference other objects (e.g. lists, content types, etc.) or to resolve StringResources. The specified language has to exist in the LanguageSettings. The language of the web will be taken if left empty.
(Inherited from BaseWebDefinition.)
Public fieldRemoveWebParts
If enabled, the existing Web Parts on the page are removed.
(Inherited from BaseWebDefinition.)
Public fieldSiteColumns
Contains definitions for columns that are to be created by this provisioning configuration.
(Inherited from BaseWebDefinition.)
Public fieldTags
Specifies a list of tags which will be applied to the current object.
(Inherited from BaseObjectDefinition.)
Public fieldTitle (Inherited from BaseWebDefinition.)
Public fieldTitleResource
Contains string translations for the title parameter in different languages.
(Inherited from BaseWebDefinition.)
Public fieldWebParts
Contains configurations for Web Parts that are placed on the default page of the web.
(Inherited from BaseWebDefinition.)
Public fieldWelcomePageUrl
Specifies the web relative url of the page that should be used as landing page. A user accessing the web will be redirected to this url. If left empty, the default welcome page of the base template will be used.
(Inherited from BaseWebDefinition.)
Top
Remarks
This is a MatchPoint configuration class.
See Also