导入解决方案时出错:元素'实体'具有无效的子元素' IsRetrieveAuditEnabled'

时间:2018-05-02 16:56:02

标签: dynamics-crm dynamics-crm-365

在CRM环境中导入解决方案会引发此错误:

  

元素'实体'有无效的子元素   ' IsRetrieveAuditEnabled'

详细说明:

The element 'entity' has invalid child element 'IsRetrieveAuditEnabled'. 
List of possible elements expected: 'IsMappable, IsVisibleInMobile, 
CanModifyDuplicateDetectionSettings, CanModifyMailMergeSettings, 
CanModifyConnectionSettings, CanCreateAttributes, IsReplicationUserFiltered, 
IntroducedVersion, CanModifyMobileVisibility, IsCustomizable, 
CanModifyMobileClientReadOnly, CanModifyMobileClientVisibility, 
CanModifyQueueSettings, MobileOfflineFilters, EnforceStateTransitions, 
EntityMask, EntityKeys, IconMediumName, CanChangeHierarchicalRelationship, 
DaysSinceRecordLastModified, IsActivityParty, CanBeRelatedEntityInRelationship, 
CanBePrimaryEntityInRelationship, IsReplicated, AutoCreateAccessTeams, IconSmallName, 
IsReadOnlyInMobileClient, ActivityTypeMask, CanModifyMobileClientOffline, 
CanEnableSyncToExternalSearchIndex, IsMailMergeEnabled, EntityHelpUrl, IsRenameable, 
HasRelatedActivities, ChangeTrackingEnabled, CanModifyAuditSettings, 
IsEnabledForExternalChannels, IsMapiGridEnabled, IsReadingPaneEnabled, 
IsOfflineInMobileClient, HasRelatedFeedback, CanBeInManyToMany, CanChangeTrackingBeEnabled, 
IsVisibleInMobileC....names><Descriptions>
<Description description="Código de la zona horaria que estaba en uso cuando se creó el registro." languagecode="3082" />
</Descriptions></attribute></attributes><EntitySetName>xxx_entitynames</EntitySetName>
<IsDuplicateCheckSupported>0</IsDuplicateCheckSupported><IsBusinessProcessEnabled>0</IsBusinessProcessEnabled>
<IsRequiredOffline>0</IsRequiredOffline><IsInteractionCentricEnabled>0</IsInteractionCentricEnabled>
<IsCollaboration>0</IsCollaboration><AutoRouteToOwnerQueue>0</AutoRouteToOwnerQueue><IsConnectionsEnabled>0</IsConnectionsEnabled>
<EntityColor></EntityColor><IsDocumentManagementEnabled>0</IsDocumentManagementEnabled>
<IsOneNoteIntegrationEnabled>0</IsOneNoteIntegrationEnabled><IsKnowledgeManagementEnabled>0</IsKnowledgeManagementEnabled>
<IsSLAEnabled>0</IsSLAEnabled><IsDocumentRecommendationsEnabled>0</IsDocumentRecommendationsEnabled><IsBPFEntity>0</IsBPFEntity>
<OwnershipTypeMask>UserOwned</OwnershipTypeMask><IsAuditEnabled>0</IsAuditEnabled><IsRetrieveAuditEnabled>0</IsRetrieveAuditEnabled>
<IsRetrieveMultipleAuditEnabled>0</IsRetrieveMultipleAuditEnabled><IsActivity>0</IsActivity><ActivityTypeMask></ActivityTypeMask>
<IsActivityParty>0</IsActivityParty><IsReplicated>0</IsReplicated><IsReplicationUserFiltered>0</IsReplicationUserFiltered>
<IsMailMergeEnabled>1</IsMailMergeEnabled><IsVisibleInMobile>0</IsVisibleInMobile><IsVisibleInMobileClient>0</IsVisibleInMobileClient>
<IsReadOnlyInMobileClient>0</IsReadOnlyInMobileClient><IsOfflineInMobileClient>0</IsOfflineInMobileClient>
<DaysSinceRecordLastModified>0</DaysSinceRecordLastModified><MobileOfflineFilters></MobileOfflineFilters>
<IsMapiGridEnabled>1</IsMapiGridEnabled><IsReadingPaneEnabled>0</IsReadingPaneEnabled><IsQuickCreateEnabled>0</IsQuickCreateEnabled>
<SyncToExternalSearchIndex>0</SyncToExternalSearchIndex><IntroducedVersion>1.6.0.1</IntroducedVersion><IsCustomizable>1</IsCustomizable>
<IsRenameable>1</IsRenameable><IsMappable>1</IsMappable><CanModifyAuditSettings>1</CanM

如果我从customizations.xml中删除这两个元素:

<IsRetrieveAuditEnabled>0</IsRetrieveAuditEnabled>
<IsRetrieveMultipleAuditEnabled>0</IsRetrieveMultipleAuditEnabled>

解决方案在导入之前通过验证。这是一个非常重要的CRM。

我不确定这个错误是什么,互联网上的 IsRetrieveAuditEnabled 几乎没有。

如何在导出解决方案时解决此问题?

1 个答案:

答案 0 :(得分:1)

我在Microsoft支持网站上发现此article,表明这些字段已在Microsoft Dynamics 365 8.2.2的Service Update 8中删除。

  

服务更新8解决了以下问题:

     
      
  • 删除IsRetrieveAuditEnabled和IsRetrieveMultipleAuditEnabled的导出处理程序
  •   

此问题可能是由于CRM环境版本不匹配造成的。请确保您的源环境与目标环境的版本相同