tsgrp / OpenContent

TSG's Web Services for ECM Repositories
8 stars 4 forks source link

Object Type Config - Show/Hide System Attributes #67

Open ghost opened 9 years ago

ghost commented 9 years ago

In Hbase, we have configured the dictionary back-end to mark certain attributes as hpiAdminReadOnly. These attributes are considered required, and allow us to make the Object Type Config more effective. The front end is currently set up to ignore this feature for Alfresco/Dctm, but utilizes it in hbase. If configured for Alfresco and Dctm, the front end could have a show/hide button as seen below. otceditmode

Note that the editable fields and checkboxes already have a handlebars to not be shown in Alfresco/Dctm based on the flag in config-project.js called editMode

gsteimer commented 9 years ago

@b-k-white @benallenallen - should this be here? I would think it should be in the HPI GitHub, right?

Also, as I'm reading this, it would only be an issue in Dctm and Alfresco if HPI is configured incorrectly. Is that right?

ghost commented 9 years ago

@gsteimer It isn't an issue, as there is no problem for Alfresco or Dctm, they perform as normal. It would be an enhancement for either Alfresco or Dctm to mark what are system attributes, so that the front end can utilize this toggle button (Current hidden for Alfresco and Dctm). In Hbase, our 'Required Attributes' (system attributes) get marked with a boolean called hpiAdminReadOnly. If Dctm and Alfresco utilized the same flag, this button could be enabled instead of hidden.

gsteimer commented 9 years ago

@b-k-white Ah, ok thanks.