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

cannot create due to unresolved mandatory/initial columns while creating cmslinkcomponent through impex.

Former Member
2,622

Hello,

I am running the below impex to create the component and getting the following error:

INSERT_UPDATE CMSNavigationEntry;uid[unique=true];$contentCV[unique=true];name;navigationNode(&nodeRef);item(CMSLinkComponent.uid,CMSLinkComponent.$contentCV); ;TestMeNavNodeEntry;;Testing Navigation Node Entry;TestMeNavNode;TestingCategoryLink;

Error ----- INSERT_UPDATE CMSNavigationEntry;uid[unique=true];catalogVersion(CatalogVersion.catalog(Catalog.id[default=powertoolsContentCatalog]),CatalogVersion.version[default=Staged])[default=powertoolsContentCatalog:Staged][unique=true];name;navigationNode(&nodeRef);item(CMSLinkComponent.uid,CMSLinkComponent.catalogVersion(CatalogVersion.catalog(Catalog.id[default=powertoolsContentCatalog]),CatalogVersion.version[default=Staged])[default=powertoolsContentCatalog:Staged]) ",,,,cannot create due to unresolved mandatory/initial columns| column 4: could not resolve item for TestMeNavNode;column 5: could not resolve item for TestingCategoryLink";TestMeNavNodeEntry;;Testing Navigation Node Entry;TestMeNavNode;TestingCategoryLink;

before this I was able to successfully make the node using below:

INSERT_UPDATE CMSNavigationNode;uid[unique=true];$contentCV[unique=true];name;parent(uid, $contentCV);links(&linkRef);&nodeRef ;TestMeNavNode;;Testing;PowertoolsCategoryNavNode;;TestMeNavNode

please help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Huskar
Participant
0 Likes

You are tring to create/update your nav node but there is one link component, 'TestingCategoryLink'. Make sure this is already created.