Powerfolder sonia5/24/2023 ![]() Otherwise it is null.įor registration.vm: A generated password for the newly registered user.Ĭontains the localized name of the folder (legacy).Ĭontains the localized name of the folder. Whether the target account was newly created via invitation.įor folder_invitation.vm: If newAccount is true, password contains a newly generated password. Uses full name if available, otherwise shows username or email. The Account Object (see the source code for all methods) of the recipient.įor Example would a $ recipientAccount.getDisplayName() result in the display name of this account. With this object, it is possible to call all methods, the Account class provides.įor Example would a $senderAccount.getDisplayName() result in the display name of this sender account's username or email. The Account Object (see the source code for all methods) of the sender. ![]() If the feature "Enable accepting new folder shares" is enabled, the folderURL only contains the base URL to all folders of the target account. This can either be the baseURL/login or this URL extended by the parameters username and password to directly log the user in. For invitations: $recipientAccount.language If "message" was initialized with null instead of a String, "Test: $message" would result intīut if "message" was initialized with null "Test: $!message" would show If "message" was initialized with "Hello, World!", the use of "Test: $message" in a template would result in The exclamation mark prevent "uninitialized" variables (those, that don't even contain an empty string) to produce a string containing "null" instead of just an empty string. For some more "safety" it is advised to use another '!' (exclamation mark) after the dollar sign. When using those variables, they all need a prefix '$' (Dollar sign). This table shows the variables to be used in E-Mail templates and what they are. More information on Apache Velocity template engine. This will render the content for a specific language. ![]() Also VM parameters can be used with #IF #ELSE #END to render the Emails depending on conditions.Įxample: #if ($account.language = "de") Content DE #else Content EN #end
0 Comments
Leave a Reply. |