Motivation
We ran into a situation where we needed to make massive change to dozens of attributes accross many equipments. This included setting the IsHidden attribute.
It would be nice to be able to see properties and values of attributes of equipments of the same type side by side.
Solution
The Attribute Prism is a custom component that lets you manipulate values and properties of attributes of equipments of the same type side by side, image below.
Usage
To install the extension you need access to the administrator section of your CMS:
- Grab the zip file below and drag it into the Extensions->Manage->Install page.
- Access the Script Explorer by browsing to ... thinkiq.net/?option=com_attributeprism.
- Even better, create a menu link.
Download extension package here: attributeprism.zip
Under the Hood
The GraphQL query to retrieve scripts looks like this:
query MyQuery {
libraries {
id
displayName
asThing {
thingsByPartOfId(condition: {systemType: "type"}) {
id
displayName
relativeName
}
}
}
}
Roadmap
- extend usage from IsHidden attribute to value, rank, possibly including ts attribute values (read only)
- enable picking of which equipment is shown - for instance, some projects have lots and lots of conveyors