#Documents

Can't get document by url or id

Hey guys,
I read this: https://documentation.bonitasoft.com/6.x-7.2/documents-0 and tried to implement this but faild.
I tried two ways, that I will show you and maybe some of you can help me and say what the next steps could be.

First try:
I got the url of my pdf, its: documentDownload?fileName=BookOne.pdf&contentStorageId=1643
https://ibb.co/fPvwXJ

[resolved] How to empty process' attachments (documents)

Hi all,

In my process, documents are attached using variables of Document type and the Upload Widget for uploading documents to forms.
At the end of the process, there is no need to keep the exchanged documents.
How could I remove them from the database?

Accept a file from REST API

Hi
I have an ASP.Net REST API that generate and download a file to browser.
My question is, how to store that file in a document variable via connectors in bonita?

How to fetch A document from a Subprocess and show it in the Main Parent Process

Hi
I have a Parent process and Several Subprocesses.
Based on condition evaluated, I call different Subprocesses.
Now I am using the Auto generated Overview page.
There i can see all the Documents that are associated with the Parent Process.
But I cant see any of the Documents associated with the Subprocess.

Delete a document not attached to a case

Hi there!

We have a situation in our process where the users upload the documents through a custom widget to bonita server and have the option to remove it i.e. exclude from the process instantiation.

My question is, how does bonita handle when the documents are uploaded but not attached to a case. Because, we do not wish to store the documents on the server which are not attached to any case.

Regards,
Raji Malla

Show Document Name

Hi
My scenario is that I am using the Upload Widget to upload documents .
Now the Document type is Single. Only 1 document needs to be Uploaded.

Now I am showing the Document in the next task.
Here, I am using the Link widget to download the Document.

For a single Document type , I have a JavaScript variable and I return the value as
return "/bonita/portal/" + $data.context.attachedDoc_ref.url;

Can't add Document to Contract

I'm assuming I'm missing something obvious...

I've got some documents I've added to my pool. When I try to add one to the contract, I can see the documents and click finish but nothing happens. By nothing, I mean the window where you can click finish blinks for 1/4 second or so but stays there. The document isn't added to the contract.

Can someone walk me through how to add a document to a contract so it can be uploaded via form?

Thanks!

Josiah

Accessing Doument Contract in bonita Script

I want to access document contract which i have created on step named "Step Upload" in example version 7.1.5-1.0.1 at link http://community.bonitasoft.com/project/file-upload-and-download-process... but its not working i am only trying to access contract using following code:

import org.bonitasoft.engine.bpm.contract.FileInputValue
import org.bonitasoft.engine.bpm.document.Document
import org.bonitasoft.engine.bpm.document.DocumentValue

Uploading file on Step in Bonita

Notifications