다음을 통해 공유


<tab> (FormXml)

적용 대상: CRM 2016 on-prem, CRM Online

양식의 구성에서 탭 요소를 지정합니다.

구문

<tab
 addedby="String"
 availableforphone=["0" | "1" | "true" | "false"]
 expanded =["0" | "1" | "true" | "false"]
 group="String"
 id="String"
 IsUserDefined="String"
 labelid="String"
 locklevel="Non Negative Integer"
 name="String"
 showlabel =["0" | "1" | "true" | "false"]
 verticallayout =["0" | "1" | "true" | "false"]
 visible= =["0" | "1" | "true" | "false"]>
 <columns />
 <events />
 <labels />
</tab>

특성 및 요소

The following describes the attributes, child elements, and parent elements.

특성

Attribute Description Type Usage

addedby

Identifies the name of the ISV or customizer that added the element.

String

Optional

availableforphone

Whether the element is available for CRM for Phones client.

Boolean

Optional

expanded

Specifies whether the tab should be expanded by default.

Boolean

Optional

group

Not used.

String

Optional

id

Unique ID for the tab.

See Remarks.

String (FormGuidType)

Required

IsUserDefined

"1" indicates a custom tab.

"0" indicates a default tab.

String

Optional

labelid

A unique id value for the tab label.

String (FormGuidType)

Optional

Sometimes Required. See Remarks.

locklevel

Prevents the tab from being deleted from the form or having its properties modified.

0 = Do not lock

1= Locked

Non Negative Integer

Optional

name

The name of the tab.

String

Optional

showlabel

Deprecated

Boolean

Optional

verticallayout

Not used.

Boolean

Optional

visible

Specifies whether the tab is visible by default.

Boolean

Optional

하위 요소

Element Description

<labels> (FormXml)

양식 레이블 정의가 들어 있습니다.

<columns> (FormXml)

탭 내의 열이 들어 있습니다.

<events> (FormXml)

셀 또는 양식에 대한 모든 이벤트 정의가 들어 있습니다.

상위 요소

Element Description

<tabs> (FormXml)

양식에 대한 탭 정의가 들어 있습니다.

설명

If you create a new <tab> (FormXml), <section> (FormXml) or <cell> (FormXml) element by copying from an existing form definition or by manually editing an exported customization.xml file you should create a new GUID value for the id attribute. You should use a tool like guidgen.exe to guarantee a unique valid GUID value. The guidgen.exe is included as part of the Windows SDK.

If you do not specify a new GUID value for the element id, you must create a new GUID value for the labelid attribute and add the labelid attribute. If you have duplicate element id values AND do not specify a unique labelid attribute value you will not be able to uninstall your solution. To address this issue you must export the default solution containing the form definitions, edit each element in the existing forms to add a unique labelid value, and then import those modified form definitions.

요소 정보

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

1 to 100

XPath

//FormXml/forms/systemform/form/tabs/tab

참고 항목

개념

엔터티 양식 사용자 지정

기타 리소스

Form XML reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.