Aller au contenu principal

How to deploy a page from the Content Creator?

Commentaires

2 commentaires

  • Zendesk API User
    Author: mbergmann - 10/18/2019 22:28

    Hi Dragan,

    the usual approach is: The schedule contains at least a normal generation task (configured as partial generation but without start nodes) and a deployment task.

    The idea is to temporarily modify the partial generation and add the desired PageRef as a start node.

    Before calling .execute() on the schedule entry, get the generation task from the schedule, usually by iterating through its tasks and check for instanceof GenerateTask if there’s only one.

    generateTask = ...

    Then, use something like

    generateTask.getStartNodes().add(myPageRef);

    sEntry.execute();

    Regards,

    Michael

    0
  • Zendesk API User
    Author: draganr - 10/21/2019 12:57

    Dear Mr. Bergmann,

    Thank you very much.

    Kind Regards,

    Dragan Rakita

    0

Vous devez vous connecter pour laisser un commentaire.