Upload and Create article via LiveCenter webservice

  1. In order to upload and create binary article from external application(e.g. mobile/desktop) you need to do the following configuration:

    $ mkdir -p /etc/escenic/engine/webapp/live-center-editorial/com/escenic/livecenter/webapp/helpers/builder/
    $ cp /opt/escenic/engine/plugins/live-center/misc/siteconfig/webapp/com/escenic/livecenter/webapp/helpers/builder/EscenicContentResourceEntityBuilder.properties \
         > /etc/escenic/engine/webapp/live-center-editorial/com/escenic/livecenter/webapp/helpers/builder/
  2. Open the copied file for editing and set the following properties as required:

    binary.articleState

    State of the uploaded article (e.g. draft/published)

    binary.contentType

    Content type of the uploaded article (e.g. image)

    binary.homeSectionId

    Section id to which the article will be uploaded.