|
Post by AMI_Caffrey on Sept 7, 2018 6:48:48 GMT
Hi All, I have a query about "ValueName" value pattern defined in AttributeRegistry_v1.xml. Is there any reason that pattern is defined as "^[A-Za-z][A-Za-z0-9_]+$". Our product has a resource is trying to apply this schema but only "ValueName" value can't meet this requirement. The value might contain white space or other special chars. Below I provided a example. <Property Name="ValueName" Type="Edm.String">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The value name of the attribute."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall be a string representing the value name of the attribute. ValueName is a unique string within the list of possible values in the 'Value' array of a given attribute."/>
<Annotation Term="Validation.Pattern" String="^[A-Za-z][A-Za-z0-9_]+$"/>
</Property> Example: { "ValueDisplayName": "128 Bytes", "ValueName": "128 Bytes" }, { "ValueDisplayName": "Keep Link ON", "ValueName": "Keep Link ON" }, Please help to confirm. Thank you very much. BR, Caffrey
|
|