Last updated: 30.06.2020

Creating reports for notifications

A new report for notifications is created as follows.

Start from an existing report by copying its contents and pasting them into the new report.

  1. Click on SeadedAruanded.

  2. Click on Uus and enter a descriptive name in the Nimi field.

  3. In the Tüüp field, select Tekst or HTML.

  4. Click on Salvesta to save all changes.

  5. Click on Kuva muutja. The report editor opens where the message is written. An SMS with the Tekst type might look like this, for example:

    Hej!
    Ett paket från <item name="StartAddress.ADR_AddrLine1"/> är på väg till dig!
    <item shortlink="https://budfirman.se/opter/TT,showSearch:'false',keyword:DEL_Guid"/>
    • <item name="StartAddress.ADR_AddrLine1"/>: Sender’s name. Retrieved from the Nimi field in the sender address on the order.

    • <item shortlink="https://budfirman.se/opter/TT,showSearch:'false',keyword:DEL_Guid"/>: Link to Track & Trace. Replace https://budfirman.se with the address of your customer web and add /opter/TT at the end.

    An email of type HTML with similar content may look like this. Line 1 is the subject line.

    Ordernummer @Model.DEL_Id

    <html>
    <body>
    <p>Hej</p>
    <p>Ett paket från @Model.StartAddress.ADR_AddrLine1 är på väg till dig!</p>
    <p>
    https://budfirman.se/opter/TT,showSearch:'false',keyword:DEL_Guid
    </p>
    <p>Mvh</p>
    <p>@Model.Office.OFF_Name</p>
    </body>
    </html>
    • @Model.DEL_Id: Order number.

    • @Model.StartAddress.ADR_AddrLine1:  Sender’s name. Retrieved from the Nimi field in the sender address on the order.

    • https://budfirman.se/opter/TT,showSearch:'false',keyword:DEL_Guid: Link to Track & Trace. Replace http://budfirman.se with the address of your customer web and add /opter/TT at the end.

    • @Model.Office.OFF_Name: Name of the transport company. Retrieved from the Nimi field on the Üldine tab in the office settings.

  6. Click on Salvesta and close the report editor.

The new report is added to the list on the left and can be linked to notifications in the Sõnumid window.

Tags in notification reports

In addition to writing body text, information such as times and names can be retrieved from orders in Opter using tags. When the notification is generated, the tag is replaced with the information from the current order. The syntax for the tags depends on the type of report being edited.

If you need help with adding tags, please contact .