Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jørgen Bakke Eriksen 44 posts 95 karma points
    Sep 20, 2016 @ 10:29
    Jørgen Bakke Eriksen
    0

    Specify publish status on import

    Hi.

    Just using Excel source as example here. But same goes for f.ex SQL Server source and probably others.

    Would be nice if CMSImport could read whether the node should be published or not from a column in Excel.

  • Jørgen Bakke Eriksen 44 posts 95 karma points
    Sep 20, 2016 @ 13:17
    Jørgen Bakke Eriksen
    0

    For the moment we have solved this by dividing this into two imports: * one with auto-publish set to true * one without auto-publish

    So it's more of a nice to have feature ;-)

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Sep 20, 2016 @ 14:45
    Richard Soeteman
    0

    Hi,

    This is the part where code makes more sense. If you set autopublish to false and use the recordimportedevent to determine if the criteria is met to publish then publish from the event.

    Hope this helps,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft