Skip to Content
0
Former Member
Oct 23, 2015 at 12:04 PM

Importing impex for a collection reference

265 Views

Hi All,

I have a requirement to create page with list of related pages. I am trying to prepare impex something like this :

 # Import the CMS content for the Doterra site
 #
 $contentCatalog = doterraUSContentCatalog
 $contentCV = catalogVersion(catalog(id[default = $contentCatalog]), version[default = 'Online'])
 $jarResourceCms = jar:com.hybris.doterra.core.setup.CoreSystemSetup&/doterracore/import/cockpits/cmscockpit
 
 
 
 # Functional Content Pages
 INSERT_UPDATE ContentPage; $contentCV[unique = true]; uid[unique = true]; name; masterTemplate(uid, $contentCV); label        ;relatedContentPages(uid, $contentCV)[default = 'testQApage3']
 ; ; testQApage1 ; Can Lemon oil be used in funiture...           ; ContentPage1Template          ; /testQApage1;    testQApage3,testQApage2,testQApage4    
 ; ; testQApage2 ; Does dōTERRA Get lemons from...               ; ContentPage1Template          ; /testQApage2                
 ; ; testQApage3 ; Does dōTERRA use lemons that are...             ; ContentPage1Template          ; /testQApage3                
 ; ; testQApage4    ; Can you really ingest lemon oil?                 ; ContentPage1Template             ; /testQApage4            
 

On importing this impex, only the default value is getting imported but not the one I am declaring at the page level. Any suggestions?

Thanks