2.2.4.139 MetadataAttribute

The MetadataAttribute complex type specifies an attribute for an entity within the MDS system.

The following is the XML schema definition of the MetadataAttribute complex type.

   <xs:complexType name="MetadataAttribute">
     <xs:complexContent mixed="false">
       <xs:extension xmlns:q201="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" base="q201:MdmDataContractOfMemberTypeContextIdentifier">
         <xs:sequence>
           <xs:element minOccurs="0" name="AttributeType" nillable="true" type="q201:AttributeType">
             <xs:annotation>
               <xs:appinfo>
                 <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
               </xs:appinfo>
             </xs:annotation>
           </xs:element>
           <xs:element minOccurs="0" name="ChangeTrackingGroup" type="xs:int" />
           <xs:element minOccurs="0" name="DataType" type="q201:AttributeDataType">
             <xs:annotation>
               <xs:appinfo>
                 <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
               </xs:appinfo>
             </xs:annotation>
           </xs:element>
           <xs:element minOccurs="0" name="DataTypeInformation" nillable="true" type="xs:int" />
           <xs:element minOccurs="0" name="DisplayWidth" type="xs:int" />
           <xs:element minOccurs="0" name="DomainEntityId" nillable="true" type="q201:Identifier">
             <xs:annotation>
               <xs:appinfo>
                 <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
               </xs:appinfo>
             </xs:annotation>
           </xs:element>
           <xs:element minOccurs="0" name="DomainEntityIsFlat" type="xs:boolean" />
           <xs:element minOccurs="0" name="DomainEntityPermission" type="q201:PermissionType">
             <xs:annotation>
               <xs:appinfo>
                 <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
               </xs:appinfo>
             </xs:annotation>
           </xs:element>
           <xs:element minOccurs="0" name="FullyQualifiedName" nillable="true" type="xs:string" />
           <xs:element minOccurs="0" name="InputMaskId" nillable="true" type="q201:Identifier">
             <xs:annotation>
               <xs:appinfo>
                 <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
               </xs:appinfo>
             </xs:annotation>
           </xs:element>
           <xs:element minOccurs="0" name="IsCode" type="xs:boolean" />
           <xs:element minOccurs="0" name="IsName" type="xs:boolean" />
           <xs:element minOccurs="0" name="IsReadOnly" type="xs:boolean" />
           <xs:element minOccurs="0" name="IsSystem" type="xs:boolean" />
           <xs:element minOccurs="0" name="SortOrder" type="xs:int" />
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>

AttributeType: Specifies the AttributeType simple type.

ChangeTrackingGroup: Specifies the change tracking group id for the attribute.

DataType: Specifies the data type of the attribute.

DataTypeInformation: Specifies additional information that is based on the data type of the attribute.

DisplayWidth: Specifies the display width in picas for the attribute in the web UI.

DomainEntityId: Specifies the id for the entity that is associated with the attribute.

DomainEntityIsFlat: Specifies the Boolean hierarchy support for the entity that the attribute is associated with.

DomainEntityPermission: Specifies the permissions associated with the attribute.

FullyQualifiedName: Specifies the full name of the attribute.

InputMaskId: Specifies the mask id for a number or datetime attribute.

IsCode: Specifies the Boolean for the specific code attribute of the entity.

IsName: Specifies the Boolean for the specific name attribute of the entity.

IsReadOnly: Specifies the Boolean for attribute read-only status.

IsSystem: Specifies the Boolean for attributes managed by the MDS application.

SortOrder: Specifies the order of the attribute in the collection. This can be per attribute group depending on the request.