TopLogic - the automated application engine
  • Releases
  • Dokumentation
  • Github
  • Discord
  1. Home
  2. Releases
  3. TL_7.9.0
  4. #26702

7.9.0
TopLogic Release

2024-10-04

Enhancement

Major
#26586
Direct updating of calculated attributes in forms and grids when editing input values
#26702
TLScript: sendMail() function
#27216
Attribute annotation "fallback value" as replacement in case of empty value
#27457
Conditional formatting in tables/grids/forms
#27784
Java 17 as a development environment
#28122
Layout editor: Generalized form templates
#28151
TLScript: new ParseCSV function
#28263
Allow to specify the deletion policy for a reference in the model
Detail
#27920
Removal of old themes and adaptation to the core theme
#28144
Display button line via template, no more button lines in administration views
#28214
Update pac4j-oidc
#28292
Set tl-license-professional version in tl-parent-all
Nice to have
#28282
tl-demo: Example for TreeGrid with synthetic root node

Bugfix

Major
#28197
Sorting a composition table by a column with SelectField leads to ClassCastException
Detail
#27787
Missing context suggestions for TL script functions with underscore in the name
#28071
Deletion of inline composition elements in the form fails if deleted object triggers further deletions
#28175
Script Recorder: Saving scripts does not display the file name field
#28184
Eclipse settings: Update of the webfragment version to 6.0
#28283
Migration processor for cleaning up multiple references to the same composition
#28288
Dynamic visibility requires fields for dependent attributes
Enhancement

Major

#26702

TLScript: sendMail() function

Code migrationData migrationMailTLScript

The specific use case is the request to send reminder emails in TLContract:

Either: For all contracts, if the contract has one of the statuses green, yellow or red, send an email for this contract to the contract owner.

Or: For all contract owners, find all contracts with the status green, yellow or red for this contract owner and send an email with an ordered list of these contracts to the contract owner.

General: It should be possible to send emails from an application, e.g. as a "Scheduled Task". The email content (subject, body) should be determined by evaluating template expressions in the context of a business model. It should be possible to transfer the email recipients as an email address and/or account or contact.

Furthermore, it should be possible to (optionally) specify the message type and text encoding. It should also be possible to send documents as attachments.

Application

sendMail( subject: "Hello world!", to: "Mr. Foobar <foo@bar.de>", cc: ["hello@kitty.com", "bar@foo.de"], bcc: "hidden@local.com", body: {{ <h1>Hello {$receiver}<h1> <p>...</p> }}}, attachments: [ binary(...), { "id": "abc", "data": binary(...) } ] )

Code migration

Typo fixed in various APIs: Attachment is called attachment.

Data migration

Typo in the model fixed: Attachment is called attachment. Data migration happens automatically.

Test

Send a mail from the script console.

  • Get Started
  • Github
  • Discord
  • Das Unternehmen hinter TopLogic
  • Softwareentwicklung heute
  • Kontakt

© Copyright – Business Operation Systems GmbH

  • top-logic.com
  • Nutzungsbedingungen
  • Impressum
  • Rechtlicher Hinweis
  • Datenschutz
  • DE
  • Login