yuuvis® RAD Q&A

0 votes
by (820 points)
retagged by

I would like to share a DMS Document with an expiration date. The sharing should be only valid for some time.

Is there any existing functionality that I can use? If not what are the technical possibilities to implement this feature in yuuvis (microservice?)

As far as I know it's possible in blueline to share a Document temporarily.

TIA

Dennis

1 Answer

0 votes
by (18.5k points)
selected by
 
Best answer

There is no standard functionality for sharing a document with an expiration date. But you can model a process which can control this behavior. There is a process model on developer.enaio.org which shows how to use the share functionality via API. With this knowledge, you may be able to model your own process offering your wished functionality.

by (820 points)
I would like to share a document on a users basis only. It seems that the example sharing process only works with groups. The standard share function works with users and groups:

The backend search call is 'service/organization/query?q=john&activeonly=true&details=true', whereas the sharing process is scoped for GROUP:

service/organization/query?q=st&activeonly=false&details=true&scope=GROUP

In the process model the 'Classification' of the datafield states 'org User/Group'. I assume the scripts

putBody.organizationobjects.push($.variable('usergroup').value);  Is activated _after_ the selection of the groups, so it seems to be irrelevant for initial dialogue.
 

Where does the restriction on GROUP come from?
by (18.5k points)
Feel free to change the model so it fits your purpose.
There was no good reason for only to handle groups. Its only an example, that it is possible to restrict to groups.
by (820 points)
Missunderstanding: I don't understand where the restriction initially comes from. I couldn't find any hint in the example. As stated the data type is User/Group, therefore I assume, there should'nt be any restriction in the first place. As the UI label states User/Group. So maybe the restriction wasn't intended in the first place? Where does the restriction on GROUP come from?
by (18.5k points)
Ah, OK, Please, have a look to the filter for that field which is set in the startform script. You can reconfigure this for getting only users for selection.
by (820 points)
Perfect! Thank you.

Related questions

0 votes
1 answer
0 votes
2 answers
0 votes
2 answers
asked Oct 26, 2022 by EDuenkel (420 points)
0 votes
2 answers
...