Link Element (DeploymentManifest)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Represents an instance of a SharePoint Foundation link (SPLink) object.
Definition
DECLARATION
<xs:element name="Link"
type="SPLink"
minOccurs="0" maxOccurs="unbounded"
/>
USAGE
<Links>
<Link
TargetId="Guid"
TargetUrl="xs:string"
IsDirty="xs:boolean"
WebPartId="Guid"
LinkNumber="xs:int"
Type="xs:unsignedByte"
Security="xs:unsignedByte"
Dynamic="xs:unsignedByte"
ServerRel="xs:boolean"
Level="xs:unsignedByte"
Search="xs:string"
/>
</Links>
Type
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Type | Description |
---|---|---|
TargetId |
Guid Simple Type (DeploymentManifest) |
Required. Identifier of the link target. |
TargetUrl |
xs:string |
Required. URL represented by the link. |
IsDirty |
xs:boolean |
Required. Specifies whether the link value has been changed; true if the link has changed, otherwise false. |
WebPartId |
Guid Simple Type (DeploymentManifest) |
Optional. Unique identifier of the web part in which the link is sited. |
LinkNumber |
xs:int |
Optional. Identifying number of the link, if any. |
Type |
xs:unsignedByte |
Optional. |
Security |
xs:unsignedByte |
Optional. |
Dynamic |
xs:unsignedByte |
Optional. |
ServerRel |
xs:boolean |
Optional. Specifies whether the link is a server-relative URL; true if the link is server-relative, otherwise false. |
Level |
xs:unsignedByte |
Optional. |
Search |
xs:string |
Optional. |
Child elements
None
Parent elements
Links Element (DeploymentManifest - SPFile)