by WEM Office | Jul 7, 2021 | Functions
The AesDecrypt() function decrypts an encrypted Base64-encoded Ciphertext based on the given parameters, using the AES-256-CBC decryption method (wikipedia), with PKCS7 padding. Syntax AesDecrypt(encryptedValue, key, vector) AesDecrypt(encryptedValue, key, vector,...
by WEM Office | Jul 7, 2021 | Functions
The AesEncrypt() function generates a Base64-encoded Ciphertext based on the given parameters, using the AES-256-CBC encryption method (wikipedia), with PKCS7 padding. Syntax AesEncrypt(plaintext, key, vector) AesEncrypt(plaintext, key, vector, BOM) Returns A new text...
by Douwe Roelofsen | Sep 10, 2020 | Widgets
Calendar functionality If you want to use calendar or date and time functionality within you applications you can use different calendar widgets depending on the desired functionality. WEM offers a calendar, agenda and timeline widget. Depending on the desired use and...
by WEM Office | Sep 10, 2020 | Tips and Tricks
Check WEMScript documentation for documentation and typical widget structure outline. Check Widgets on MyWEM Forum for example widgets, technical explanations and active discussions. See widgets.live.wem.io for examples and descriptions of most of...
by WEM Office | Aug 20, 2020 | Functions
ToLocal converts a UTC date (+time) value to a local datetime value for the given Timezone. This function returns unknowndatetime if the timezone is not recognized. Syntax ToLocal(datetime, Timezone) Function call Result ToLocal(date(2020,8,16,15,37),...
by WEM Office | Aug 20, 2020 | Functions
ToUTC converts a local date (+time) value with the given Timezone to a UTC datetime. This function returns unknowndatetime if the timezone is not recognized. Syntax ToUTC(datetime, Timezone) Function call Expected result ToUTC(date(2020,8,16,15,37),...