Base64 Encode / Base64Encode (internally is.workflow.actions.base64encode)

description

summary

Encodes or decodes text or files using Base64 encoding.

usage

Base64Encode mode=("Encode" | "Decode") lineBreaks=("None" | "Every 64 Characters" | "Every 76 Characters")

arguments


mode: Enumeration (Docs)

Default Value: "Encode" Allows Variables: true

Accepts a string or variable containing one of the options:

  • Encode
  • Decode

lineBreaks: Enumeration (Docs)

Default Value: "Every 76 Characters" Allows Variables: true

Only enabled if: argument WFEncodeMode == Encode

Accepts a string or variable containing one of the options:

  • None
  • Every 64 Characters
  • Every 76 Characters

source json (for developers)

{
	"ActionClass": "WFBase64EncodingAction",
	"ActionKeywords": [
		"base",
		"64",
		"encode",
		"decode"
	],
	"Category": "Scripting",
	"CreationDate": "2015-05-03T05:00:00.000Z",
	"Description": {
		"DescriptionSummary": "Encodes or decodes text or files using Base64 encoding."
	},
	"IconName": "Scripting.png",
	"Input": {
		"Multiple": true,
		"Required": true,
		"Types": [
			"WFStringContentItem",
			"public.data"
		]
	},
	"Name": "Base64 Encode",
	"Output": {
		"Multiple": true,
		"OutputName": "Base64 Encoded",
		"Types": [
			"WFStringContentItem",
			"public.data"
		]
	},
	"Parameters": [
		{
			"Class": "WFEnumerationParameter",
			"DefaultValue": "Encode",
			"Items": [
				"Encode",
				"Decode"
			],
			"Key": "WFEncodeMode",
			"Label": "Mode"
		},
		{
			"Class": "WFEnumerationParameter",
			"DefaultValue": "Every 76 Characters",
			"Items": [
				"None",
				"Every 64 Characters",
				"Every 76 Characters"
			],
			"Key": "WFBase64LineBreakMode",
			"Label": "Line Breaks",
			"RequiredResources": [
				{
					"WFParameterKey": "WFEncodeMode",
					"WFParameterValue": "Encode",
					"WFResourceClass": "WFParameterRelationResource"
				}
			]
		}
	],
	"Subcategory": "Files",
	"SuggestedNever": true
}