View Issue Details

IDProjectCategoryView StatusLast Update
1493RackTablesdefaultpublic2017-02-09 11:54
Reportermarti.cardus Assigned Toandriyanov  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionno change required 
Product Version0.20.8 
Summary1493: Add "active" attribute in table objects
DescriptionWe have created a custom attribute to distinguish if an object is active or not.

We want to store objects in our database to save history of our infrastructure and maintain information of contracts with our customers.

Is it possible to add an attribute to table "Object" to define this information? If so, is it also possible modify the functions search/filter depot/etc to utilize this new attribute to filter active/inactive objects? Our idea is only show "active" objects by default.
TagsNo tags attached.

Relationships

duplicate of 1087 new Archival of objects 

Activities

andriyanov

andriyanov

2016-02-06 20:46

reporter   ~0003115

Hi.

It is better to get answer after a few months than never, right? :)

You should not take care of where an attribute is stored. It is not possbible to store atrribute value in the Object table, but it could be assigned to particular types of objects, and thus filtering is possible by it.

Each dictionary-typed attribute adds the auto-tag {$attr_X_Y} to an object. You need to create a dictionary attribute with single dict value 'yes'. After that you will be able oto filter objects by this attr using the auto-tag like above.

Issue History

Date Modified Username Field Change
2015-07-23 17:14 marti.cardus New Issue
2015-08-09 22:19 adoom42 Relationship added related to 1087
2016-02-06 20:46 andriyanov Note Added: 0003115
2016-02-06 20:46 andriyanov Status new => closed
2016-02-06 20:46 andriyanov Assigned To => andriyanov
2016-02-06 20:46 andriyanov Resolution open => no change required
2017-02-09 11:54 infrastation Relationship replaced duplicate of 1087