Base64 Encode
Valve for Base 64 encoding properties
Introduction
This valve encodes item properties using base 64. The encoded value can replace the source value or replace/create a new named property.
Note that items only support string properties, meaning that this valve will base 64 encode the binary value of a (string) property. A real binary value (like a PDF document or an image) must be base 64 encoded before added to an item.
This valve is a part of the item iteration API meaning that it operates on the current item set. For more information on item iteration, see Item.
Configuration
Valve name: Base64Encode
The properties of this valve has changed to better reflect how the valve actually works.
value
(previously called src
) must be an expression expanding to the value to encode (or a static value).
name
(previously called dest
) must be the name of the property to set with the resulting base64 value.
Name | Description | Default value | Mandatory | Expanded |
---|---|---|---|---|
| Name of target item property to receive the base 64 encoded value. (compat: | |||
| Value to encode. (compat: | |||
| Flag turning on URL safe encoding. |
| ||
| Flag to turn off replace of target property. When turned off, value will be added to already existing properties (creating a multi-valued property). |
|