Apryse WebViewer Smart Services

Overview

The Apryse SDK provides a set of smart services that can be used to interact with the WebViewer component in Appian. These smart services allow you to perform various operations such as converting a Base64 string to a document or document version. They aim to help assist you in the interaction between your documents in Appian and WebViewer.

Available WebViewer Smart Services

Base64 to Document

This smart service converts a Base64 string to a document. This is useful when WebViewer provides the document data as a base64 string and you want to convert it to a document in Appian.

Input Parameters

Parameter Name

Type

Required

Multiple

Description

Base64 Data

Text

Yes

No

The base64 string to convert to a document.

Upload Folder ID

Folder

Yes

No

The folder where the document will be uploaded to.

Filename

Text

Yes

No

The filename of the document.

Extension

Text

Yes

No

The extension of the document.

Output Parameters

Parameter Name

Type

Description

Error Message

Text

The error message if the conversion failed.

Has Error

Boolean

Whether the conversion failed.

Output Document ID

Document

The saved document.

Base64 to Document Version

This smart service converts a Base64 string to a document version. This is useful when WebViewer provides the document data as a base64 string and you want to convert it to a document version in Appian.

Input Parameters

Parameter Name

Type

Required

Multiple

Description

Base64 Data

Text

Yes

No

The base64 string to convert to a document version.

Document ID

Document

Yes

No

The document to add the version to.

Output Parameters

Parameter Name

Type

Description

Error Message

Text

The error message if the conversion failed.

Has Error

Boolean

Whether the conversion failed.

Output Document ID

Document

The saved document version.

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales