Search found 286 matches

by michael
Tue Sep 20, 2022 7:40 am
Forum: API
Topic: REST API Upload document to a cabinet
Replies: 9
Views: 5348

Re: REST API Upload document to a cabinet

Try using a superadmin user to remove the possibility of a permission issue. You have to pass a single document ID per request. This line is what is blocking your code from working: 'document' => [$document_id], // values must be a list [] Thank you Micheal I should have mentioned in my post that I ...
by michael
Tue Sep 20, 2022 7:38 am
Forum: General topics
Topic: ElasticSearch search backend configuration
Replies: 9
Views: 417

Re: ElasticSearch search backend configuration

What version of ElasticSearch are you using? Hi, I encounter the same errors reported above (Mayan version 4.3.1): [2022-09-19 13:03:03,895: ERROR/ForkPoolWorker-16] Task mayan.apps.dynamic_search.tasks.task_reindex_backend[2d5f3a21-d1b7-44fa-9f5a-0c9749357ecc] raised unexpected: RequestError(400, '...
by michael
Sat Sep 03, 2022 10:53 pm
Forum: General topics
Topic: Bulk download cabinet content
Replies: 1
Views: 285

Re: Bulk download cabinet content

Version 4.0 we introduced the ability to upload more than one file per document. This was added to allow appends and page re-composition. https://docs.mayan-edms.com/releases/4.0.html#documents The downside is that the semantics of how to download multiple documents is not longer defined. You want t...
by michael
Sat Sep 03, 2022 10:42 pm
Forum: General topics
Topic: document file ID
Replies: 1
Views: 301

Re: document file ID

Hello,

Yes it is possible. You can resolve the URL by calling the {% url %} template tag, pass the arguments view name ("documents:document_file_download") and document file ID (document.file_latest.pk).

Code: Select all

{% url 'documents:document_file_download' document.file_latest.pk %}
Cheers!
by michael
Sat Sep 03, 2022 10:36 pm
Forum: General topics
Topic: ElasticSearch search backend configuration
Replies: 9
Views: 417

Re: ElasticSearch search backend configuration

Hello,

It is unlikely that this will happen. Our versions are immutable. Once a version is released, no functional changes are made to it, only bug fixes and security updates.

We do offer backports of selected features for specialized forks as part of our commercial services agreements.
by michael
Sat Sep 03, 2022 10:31 pm
Forum: General topics
Topic: Creating cabinets based on workflows
Replies: 1
Views: 89

Re: Creating cabinets based on workflows

This is not possible. It could be added but that feature would then be redundant. This is the intended purpose of document indices. Indexes group document automatically into levels. Indexes are defined using template whose markers are replaced with direct properties of documents like label or descri...
by michael
Sat Sep 03, 2022 10:28 pm
Forum: API
Topic: REST API Upload document to a cabinet
Replies: 9
Views: 5348

Re: REST API Upload document to a cabinet

Hello,

In version > 4.0 the API changed.

You have to pass a single document ID per request. This line is what is blocking your code from working:

Code: Select all

                'document' => [$document_id],   // values must be a list []
Cheers.
by michael
Sun Aug 21, 2022 10:43 am
Forum: Releases
Topic: Version 4.3.1
Replies: 0
Views: 144

Version 4.3.1

Released: August 21, 2022 Status: Stable Changes Authentication The impersonation app template caching was disabled. This ensures the impersonation banner is triggered correctly in all edge cases where multiple frontend processes or load balancers are used. Cabinets An issue was fixed where document...
by michael
Sun Aug 21, 2022 7:38 am
Forum: Releases
Topic: Version 4.2.10
Replies: 0
Views: 62

Version 4.2.10

Released: August 20, 2022 Status: Maintenance Changes Cabinets An issue was fixed where documents uploaded via the wizard with one or more cabinets selected, would not trigger the cabinet added event. Storage The DownloadFile filename was being ignored when performing the actual download action. The...
by michael
Thu Aug 04, 2022 11:28 pm
Forum: Releases
Topic: Version 4.2.9
Replies: 0
Views: 245

Version 4.2.9

Released: August 4, 2022 Status: Maintenance Changes Authentication The impersonation app template caching was disabled. This ensures the impersonation banner is triggered correctly in all edge cases where multiple frontend processes or load balancers are used. Settings The settings app templates ca...