Table in objects: Show data attachment¶
Introduction¶
There are cases, where we want to know, if there are attachments on the openBIS objects. E.g. in an overview of devices to see where are manuals apparent and where not.
For that cases it's possible to add a dynamic property plugin to an property field when creating an Object in the Admin interface.
Solution¶
First you have to create a dynamic property. Go to your Admin User Interface, choose Tools
on the top left, click on Dynamic Property Plugins
and Add
a new one. There you copy the following code where Script *
is written.
1 2 3 4 5 6 7 8 9 10 |
|
After that, go to the object contained in such a list, which should already indicate in the table if there is an attachment. To do this, you need to add a new property, select VARCHAR
as the data type and add the Dynamic Property Plugin
you just created.