cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hi Experts, Getting Error while running below impex.

kundan1986
Explorer
0 Likes
605

Impex

UPDATE ContentPage [batchmode = true] [impex.legacy.mode=true]; itemType(code)[unique = true]; pageStatus(code,itemtype(code)) ; ContentPage ; active:CmsPageStatus

ERROR

UPDATE ContentPage [batchmode = true] [impex.legacy.mode=true];itemType(code)[unique = true];pageStatus(code,itemtype(code)) ,,,,More than one item of type ContentPage found for unique qualifiers {itemType1=Composed Type 'ContentPage'[8796126576722] extends AbstractPage ([ContentPage.bannerComponets:BannersForContentPagebannerComponetsColl[rwoR], ContentPage.canonicalUrl:java.lang.String[rwoSRp], ContentPage.description:localized:java.lang.String[rwolSRp], ContentPage.flashComponents:FlashComponentsForContentPageflashComponentsColl[rwoR], ContentPage.homepage:java.lang.Boolean[rwSRp], ContentPage.keywords:localized:java.lang.String[rwolSRp], ContentPage.label:java.lang.String[rwoSRp], ContentPage.labelOrId:java.lang.String[roRd], ContentPage.linkComponents:CmsLinkComponentsForContentPagelinkComponentsColl[rwoR], ContentPage.metaDescription:java.lang.String[rwoSRp], ContentPage.metaKeywords:java.lang.String[rwoSRp], ContentPage.metaTitle:java.lang.String[rwoSRp], ContentPage.navigationNodes:CMSContentPagesForNavNodesnavigationNodesColl[rwoSR]])};ContentPage;active:CmsPageStatus

View Entire Topic
aimprosoft
Participant
0 Likes

Hi Kundan Kumar,

please check valid version of the impex code below:

UPDATE ContentPage[batchmode=true, impex.legacy.mode=true]; itemType(code)[unique = true]; pageStatus(code,itemtype(code));
;ContentPage ; active:CmsPageStatus

hope this helps.