Custom content

Extensions: Attribute Prism

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.

20210510 12 attributeprism

Usage

To install the extension you need access to the administrator section of your CMS:

  1. Grab the zip file below and drag it into the Extensions->Manage->Install page.
  2. Access the Script Explorer by browsing to ... thinkiq.net/?option=com_attributeprism.
  3. 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

Contact Us

ThinkIQ

65 Enterprise
Aliso Viejo, CA  92656
United States

phone: 844-THINKIQ (844)844-6547
email: support@thinkiq.com
websitewww.thinkiq.com