Hi everyone - does anyone know if there's a way to see which elements of all the elements are in Read-only mode? We had a situation where an element was unintentionally in this mode and, at a crucial moment, the user didn't have the right to change it. It would be useful to see quickly if any other elements are set like this. There is no column in the element root view that shows the mode. Thanks in advance.....
Hi Mark,
In Dashboards you can create a GQI query that retrieves the list of elements in a DMS. When selecting which columns should be displayed, you will find the column 'IsReadOnly'. This boolean column will display a 'check' if the element is read-only. You can further filter your result to display only the elements that are read-only. Below a screenshot of the GQI query:
You can find more information about GQI queries in DataMiner Docs:
To add another method: via the right click menu of a view in the surveyor, you can choose export under the actions menu. Then you can choose to export to csv and one of the columns is the read-only flag.
Bert
Hi Mark,
Not sure if you can see it in Cube, but you can create an automation script to request all the elements in Read-only mode.
IDms myDms = engine.GetDms();
var readOnlyElements = myDms.GetElements().Where(x => x.AdvancedSettings.IsReadOnly).ToList();
Thanks Miguel, Jens and Bert. The csv export method certainly works for the purpose I need. I’ll try the other methods too…