Hi All,
When we imported my solution than we got following error.please check below screen sort below.
1.it contains invalid XML" error occurs in Dynamics 365
I find solution but this is static change in customization.xml file edit every time.
issue for this line <Length>0</Length>
when we update <Length>200</Length> than working fine.
customization.xml code :-
<attribute PhysicalName="EmailAddress">
<Type>nvarchar</Type>
<Name>emailaddress</Name>
<LogicalName>emailaddress</LogicalName>
<RequiredLevel>none</RequiredLevel>
<DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
<ImeMode>auto</ImeMode>
<ValidForUpdateApi>1</ValidForUpdateApi>
<ValidForReadApi>1</ValidForReadApi>
<ValidForCreateApi>1</ValidForCreateApi>
<IsCustomField>0</IsCustomField>
<IsAuditEnabled>1</IsAuditEnabled>
<IsSecured>0</IsSecured>
<IntroducedVersion>1.0.0.0</IntroducedVersion>
<IsCustomizable>1</IsCustomizable>
<IsRenameable>1</IsRenameable>
<CanModifySearchSettings>1</CanModifySearchSettings>
<CanModifyRequirementLevelSettings>1</CanModifyRequirementLevelSettings>
<CanModifyAdditionalSettings>1</CanModifyAdditionalSettings>
<SourceType>0</SourceType>
<IsGlobalFilterEnabled>0</IsGlobalFilterEnabled>
<IsSortableEnabled>0</IsSortableEnabled>
<CanModifyGlobalFilterSettings>1</CanModifyGlobalFilterSettings>
<CanModifyIsSortableSettings>1</CanModifyIsSortableSettings>
<IsDataSourceSecret>0</IsDataSourceSecret>
<AutoNumberFormat></AutoNumberFormat>
<Format>email</Format>
<MaxLength>100</MaxLength>
<Length>0</Length>
<displaynames>
<displayname description="Email Address" languagecode="1033" />
</displaynames>
<Descriptions>
<Description description="The primary email address for the entity." languagecode="1033" />
</Descriptions>
</attribute>
I checked this field value in custom entity. please see screen sort below
What would a permanent solution to this issue ?
Thanks a lot