K2 BLACKPEARL PRODUCT DOCUMENTATION: USER GUIDE
InfoPath

Inline Functions - InfoPath

InfoPath functions will get an InfoPath attachment's content or filename from an array of bytes.

Fig. 1. InfoPath

An item is selected and then added to the canvas or K2 field part by clicking the Add button or by using drag-and-drop.

Functions Description Example
Get Attachment Content Gets an attachment's file content from an array of bytes. Attachment: The attachment as Binary
Result: The file content of the attachment as Binary
Get Attachment Name Gets an InfoPath attachment's filename from an array of bytes. Attachment: The attachment as Binary
Result: "c:\document.docx"
Set Attachment Creates an InfoPath attachment and returns it as a base-64 string. Filename: "c:\document.docx"
Content: The file content as Binary.
Result: A base-64 string containing the attachment.

The Function Wizard content varies according to the selected function:

 

 


K2 blackpearl Help 4.6.11 (4.12060.1731.0)