yuuvis® RAD Q&A

0 votes
by (140 points)

Hello,
a quick question about Yuuvis RAD 8.12 and how to deal with attached files:
How can I prevent users from deleting document files even though the file is mandatory in that document type?
(Deleting the entire document should still be possible).
Also relevant: How can I restrict document files from being replaced?

Any way is welcome: Designer setting, right, script

2 Answers

0 votes
by (5.3k points)

Hi,

I am not sure if I understood your question correctly, but I would propose to use this setting:

(or you have used it already but it does not prevent you from removing the file?)

For replacement, I will check and let you know.

best regards,
bratislav

by (140 points)
Hello, I used exactly this setting (as shown in your screenshot) and after that I was able to delete the attached file and I did not find any option to prevent this. In my opinion there is a missing right to set this. (just like the right to replace an attachment or not)
0 votes
by (15.7k points)
edited by

Hello,

OK, I accepted this as a bug, so the ticket is: TUK-1599

The fix will come with the next hotfix delivery for 7.16 LTS and with 8.16 LTS.

In the case the object is configured to contain a file mandatory:
The client should not offer the delete action
The backend should report an error when requesting the deletion

Best Regards, Martin

Related questions

0 votes
1 answer
+2 votes
3 answers
asked Oct 4, 2018 by Peter Strasser (2.1k points)
0 votes
2 answers
0 votes
1 answer
asked Jul 4, 2019 by dcieplik (820 points)
+1 vote
1 answer
...