List RIS documents
rillsoft_document_ris_listLists documents held in the Rillsoft Integration Server DMS for the open project, including the client folder tree. Filter by task, subproject, or project UUID to see only the documents attached to that element.
Instructions
Lists the documents the document management (DMS) of the Rillsoft Integration Server holds for the open project - files hanging on a task, a subproject or the project itself - together with the DMS folder tree of the client. In an open RIS portfolio it lists the documents of every loaded project (each names its projectId; the answer carries portfolioId), and downloading, updating and deleting work there too - only creating is refused, as in the documents dialog. Each document names the element it hangs on (uuid), its folder (folderId, folderPath) and the documentId the other document tools take. Requires a project opened from the server (rillsoft_project_ris_open) or stored there (rillsoft_project_ris_save_as); a new or file-based project has no documents. Reads the server every time; runs with the login of the desktop session. Read-only, no undo step. Not to be confused with the project files rillsoft_project_file_open handles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | No | UUID of a task, subproject or the project itself: only the documents hanging on that element; missing = every document of the project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | URL of the Rillsoft Integration Server the desktop session is logged in to | |
| folders | Yes | the DMS folder tree of the client, root first | |
| clientId | Yes | id of the logged-in client; -1 while none is selected | |
| userName | Yes | user name of the desktop session | |
| documents | Yes | the documents of the open project, or of the one element given by uuid; at most 10000, more than that is an error | |
| projectId | Yes | id of the open project on the server; -1 while a portfolio is open, each document then names its own | |
| portfolioId | No | id of the open portfolio on the server; only while a RIS portfolio is open |