Actions
| Name | Description |
|---|---|
| convert | Convert a docx binary to HTML |
| convert collection | Load a collection of documents in a library and convert them to HTML if they are in docx format |
| remove | Remove a posted docx file |
Inputs
| Action | Name | Description |
|---|---|---|
| convert | docx | The docx binary to be converted |
| convert | workspace-id | The identifier of the workspace in which the uploaded docx binary is to be posted. The uploaded docx binary will have name the identifier of the workflow that converts it with extension .docx. |
| convert | workspace-url | The URL of the workspace in which the uploaded docx binary is to be posted. |
| convert collection | collection-id | The identifier of an item representing a collection |
| remove | document-item | The item representing the posted docx file to be removed |
| remove | document-name | The name of the posted document to be removed |
Outputs
| Action | Name | Description |
|---|---|---|
| convert | document-item | A newly-created item that is the subject of a triple whose verb is sys:fileHasContent and whose object is the uploaded docx binary. Its lifetime is not limited to the processing lifetime. |
| convert | html-item | A newly-created item that is the subject of a triple whose verb is sys:fileHasContent and whose object is the HTML text that results from converting the docx binary. Its lifetime is the processing lifetime. |
| convert | reference-url | The URL to be used to look up references. It is the URL of the uploaded document. |
| convert collection | converted-collection-item | The item representing the collection whose documents have been loaded and converted |