Where are messages saved?

Follow

Comments

4 comments

  • Avatar
    Daniel

    Why not adding the Bee Pro feature, where you can save and lists templates/messages to Bee Plugin? It would be great.

    0
    Comment actions Permalink
  • Avatar
    Massimo Arrigoni

    Hi Daniel, thanks for your feedback.

    So far we have not gone in that direction because the many applications that have integrated the BEE editor via the Plugin - from what we've seen - each have their own way to store and display messages (and templates).

    This applies not just to the way messages and templates would be listed & searched for, but also to the functionality provided to users. For example, the "actions" associated with a message (apart from "Edit", which would open the editor for editing) change depending on the individual application.

    That said, if there is more interest in the BEE community for this type of feature in the future, we'll definitely look into it.

    0
    Comment actions Permalink
  • Avatar
    Nitish Singh

    Is there any option, to get the current JSON of email template.? We get the json and html on the events predefined in bee editor. but for some validations I need to get the Current JSON of email Template. Any workaround for that.?

    0
    Comment actions Permalink
  • Avatar
    Massimo Arrigoni

    Hi Nitish, you can invoke saveAsTemplate() to trigger the onSaveAsTemplate callback, which only returns the JSON of the message (see https://support.beefree.io/hc/en-us/articles/360004495552-Configuring-the-editor). Because it only returns the JSON, it's much quicker than the Save() method, which returns both the JSON and the HTML of the message, and takes longer because parsing the JSON to generate the HTML takes a few moments. On this, please also see: https://support.beefree.io/hc/en-us/articles/360004496292-Using-templates-and-messages-a-sample-workflow

    0
    Comment actions Permalink

Please sign in to leave a comment.