bo.removeFromContext('name')
This function will return a warning when no BO with name 'name' exists in the BO context.
A new function has been added to the BO function handler that allow you to remove a BO from the BO context. Example of use:
bo.removeFromContext('name') This function will return a warning when no BO with name 'name' exists in the BO context. The caseMaster.emailOutAddAttachment() function now supports 2 parameters. The 2nd, optional, parameter is used to specify the name of the attachment as it will appear in the email.
A typical use of this new feature is where you attach files to an email that are managed using zXDoc / zXDocTpe. These files tend to have names that are not very meaningful (such as 'REGDOC--16-06-2015 10-35-24.png'). Example of use: caseMaster.emailOutAddAttachment( bo.attr( 'doc' ,'fllFleNme' ) ,'contract July 2015.pdf' ) A new function has been added to the BO function handler that will help reducing the number of database queries.
The following scenario is very common in Logic Blocks and Methods: IF bo.doesExist('someBO', 'someWhereClause') THEN LOAD someBO BY some WhereClause ...... END IF
Two new functions have been added to the casemaster function handler: file2base64() and base642file(). Designed to translate a file to a base64 string and convert a base64 string to a file.
|
Categories
All
Archives
November 2017
|
Casemaster Technology Ltd 2022©
|