Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Upload and view a document #2911

Merged
merged 12 commits into from
Dec 4, 2024
Merged

Conversation

jeromecambon
Copy link
Contributor

@jeromecambon jeromecambon commented Nov 26, 2024

Covers BPM-320

Copy link
Contributor

📝 Contribution Summary

To merge this Pull Request, you need to check your updates with the following URL.

🔗 Updated pages

Note

The following pages were updated, please ensure that the display is correct:

Copy link
Contributor

Images automagically compressed by Calibre's image-actions

Compression reduced images by 47%, saving 35.43 KB.

Filename Before After Improvement Visual comparison
modules/applications/assets/images/ui-builder/guides/file-picker-setting.png 75.43 KB 40.00 KB -47.0% View diff

305 images did not require optimisation.

@bonita-ci
Copy link
Contributor

bonita-ci commented Nov 26, 2024

🎊 PR Preview 0ec2c31 has been successfully built and deployed to https://bonitasoft-bonita-doc-deploy-pr-2911.surge.sh

🕐 Build time: 0.01s

🤖 By surge-preview

@AleRondon

This comment was marked as resolved.

@AleRondon
Copy link
Contributor

Can we please add an example on how to use the file viewer for a document with the information provided by the task context?

image

Copy link
Contributor

@marcobonita marcobonita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typos and rephrasing

jeromecambon and others added 8 commits November 28, 2024 11:32
Co-authored-by: marcobonita <152981819+marcobonita@users.noreply.github.com>
Co-authored-by: marcobonita <152981819+marcobonita@users.noreply.github.com>
Co-authored-by: marcobonita <152981819+marcobonita@users.noreply.github.com>
Co-authored-by: marcobonita <152981819+marcobonita@users.noreply.github.com>
Co-authored-by: marcobonita <152981819+marcobonita@users.noreply.github.com>
Co-authored-by: marcobonita <152981819+marcobonita@users.noreply.github.com>
@jeromecambon
Copy link
Contributor Author

Can we please add an example on how to use the file viewer for a document with the information provided by the task context?

image

I succeeded to upload the document as base64, access it via a Bonita task, and view it in the DocumentViewer widget. However, the document is not viewable by UID widget (in the admin app for example), which requires a binary format.
I didn't succeed to upload the document as binary, and encode it as base64 to make it readable by the widget. I encoded as base64, but I still have a blank result on the widget...
I propose to merge this PR, since it add some interesting values. We can handle the issue separately.

@benjaminParisel benjaminParisel self-requested a review December 4, 2024 09:46
@benjaminParisel benjaminParisel merged commit 27a35b7 into 2024.3 Dec 4, 2024
6 checks passed
@benjaminParisel benjaminParisel deleted the doc/uib_handle_document branch December 4, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants