Skip to Content
author's profile photo Former Member
Former Member

How can I add a csm-impex-file with a system-update

Hy all,

I have create a new cms-page-impex.

it's possible to add the impex-file with a system-update or must I add the impex-file seperate over the hac (import impex) and sycronize the contentpage in the cms-cockpit.

Thanks. Torben

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Sep 07, 2016 at 09:41 AM

    Yes, it is possible.

    Add the below line in "createProjectData" method of "InitialDataSystemSetup" class to consider the impex file in system update.

     getSetupImpexService().importImpexFile("/abcinitialdata/import/sampledata/contentCatalogs/abcContentCatalog/custom.impex",false);
    
    

    Change the name of the path (/abcinitialdata/import/sampledata/contentCatalogs/abcContentCatalog/) & impex file name (custom.impex) accordingly

    If you add the above line, there is no need to import via HAC & sync.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2016 at 04:43 PM

    Hy, thanx for your tipp. I have found the place.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.