ConvertType Element in Interpretation
(BDCMetadata Schema)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies the rule to convert the data type of a data value into another data type.
Namespace: http://schemas.microsoft.com/windows/2007/BusinessDataCatalog
Schema: BDCMetadata
The Convert element specifies the rule to convert the data type of a data value into another data type. When the rules are applied in order, this rule specifies the data type of the data value to be converted to the data type specified by the BDCType attribute. When the rules are applied in reverse order, this rule specifies the data type of the data value to be converted to the data type specified by the LOBType attribute.
For example, this rule can specify converting a date value obtained from an external system, into a culture and locale sensitive string which will eventually be displayed to the user, and converting the updated value for that string back into the date that is compatible with the external system.
Warning
ConvertType does not support non-Gregorian calendars for conversions between System.String and System.DateTime.
<ConvertType LOBType = "String" BDCType = "String"> </ConvertType>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
**LOBType** |
Required. The data type to convert the data value into when the rules are applied in reverse order. Attribute type: **String** |
**BDCType** |
Required. The data type to convert the data value into when the rules are applied in order. Attribute type: **String** |
**LOBLocale** |
Optional. The locale of the data that is received from the external system. |
Child elements
None.
Parent elements
Element | Description |
---|---|
Interpretation Element in TypeDescriptor (BDCMetadata Schema) | The rules to apply to the data stored in the data structures that are represented by a TypeDescriptor. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for