Skip to main content
inorigo® Platform
Released  

22.2.0

Highlights

  • Attribute Automation in model
  • Manual Links for Filter Components
  • Execute component commands via Application Runtime.

Attribute Automation

Extends the functions for defining attribute properties that enables values to be triggered automatically.

Options

  • Mode Off = The value will never be set automatically. Suggested = The value will be set by the system only once or by reset. Automatic= The value will be set by the system as the user edits any other value of the unit.
  • Transient True = The value is not saved to DB (Old school Calculated). False=The value is saved to DB.
  • Immutable True = The value can be changed only when the Unit is new. False = The value can always be changed.
  • Editable True = The user is allowed to manually edit the value. False = The user is not allowed to manually edit the value.
  • Resettable True = A reset button is displayed allowing the user to reset/calculate the value. False: No reset button is displayed.
  • Source Explicit = The value is explicit (fixed). Expression = The value is calculated using an expression. Method= The value is calculated using a method. Reference= The value is a reference to a nested unit.

Mutually exclusive settings

  • **Mode=**Automatic can not be combined with *Editable=True*.
  • **Source=**Reference can not be combined with *Editable=True*.
  • Mode=Suggested can not be combined with *Transient=_True*.

Backward compatibility

  • Fixed value = Source: Explicit, Mode: Suggested, Immutable: True, Editable: False, Resettable: False
  • Default value = Source: Explicit, Mode: Suggested, Immutable: False, Editable: True, Resettable: False
  • Calculated value = Source: Expression/Method, Mode: Automatic, Immutable: False, Editable: False, Resettable: False, Transient: True
    (calculated is only supported when defined in model. A future version might support additional user defined calculated attributes in Application Builder)

Notes

  • When editing an existing unit, Immutable attributes  will be treated as read only with no automation and no reset button.
  • How do we support "User Reset" via Service API?

What triggers the values?

The configuration is added to the attribute for the specific input panel only. Other input panels or places to edit the same attribute in inorigo will not share the given automation configuration.

Mode = Suggested: The suggestion is triggered when the input panel is opened to create. Once an attribute value has been set and saved to the database a value will never be suggested again. This applies even if the value = NULL

Mode = Automatic: the automation is executed whenever a user sets or make any changes to any other attribute value within the input panel. This will continue to occur every time the input panel is opened and any change is made.

Execute component commands via application Runtime

Now you can execute any command associated on any component (box) in an application.

You can also change the enabled state and visibility of a command.

Commands are those correctly registered on the component, normally visible in the menu and/or footer.

Execution Endpoint in Application Runtime API is //component/command/execute?where=&command=

Enable Endpoint in Application Runtime API is //component/command/enabled/<true/false>?where=&command=

Visibility Endpoint in Application Runtime API is //component/command/visible/<true/false>?where=&command=

Known commands:
  • Maximize (All)
  • OpenTab (All)
  • ResetZoom (Map, KnowledgeGraph, SelectionGraph)
  • 3D (Map)
  • Create (Filterbox)
  • Open (Filterbox)
  • Delete (Filterbox)
  • OpenMatrix (Filterbox)
  • Previous (Resource Viewer)
  • Next (Resource Viewer)
  • ResetSort (Matrix, Aggregation)

Example

    1. Create a Filter Box p0 with entities.

    2. Enable at least Read on that box.

    3. Add a Text Area

    4. Set the Layout to custom.

    5. Add the following as Content

      <button onclick="getApplicationRuntime().executeCompomentCommand('p0', 'open')" >Open One</button>

    6. Save and open on Web

    7. Select one item in the filter box

    8. Click the button.

  • Support for linking all kinds of filter boxes.
  • Links available in Control Panel.
  • All control panel tabs available via Edit menu.

Bugs Resolved

  • Workbench index page empty
  • Extensions - can edit objects that are deleted
  • Extensions - Can click delete multiple times after the object is deleted
  • DSE- Column tab buttons have a dot after the buttons
  • Initial filter on empty box results in no filter on connected boxes (and opposite in 4.13)
  • Application Builder - crash when selecting a couple of times
  • References missing in Nested Unit quick setup
  • Modal Title has wrong font size
  • can't refer to a editable matrix where the filter component is not visible
  • Plural name inherited in ONE place
  • wrong service name: /module/application/component/modifiers
  • KS - indicator is missing for model calculated attributes
  • AVP - date attribute styling on reset button
  • Another problem in KS
  • Date less than 1900-01-01 gives issues in ModelBuilder and web matrix
  • KS - error when executing
  • Connection Editor - cannot create SQL connector
  • AVP and Editmatrix does not display hardcoded Unit ID attribute for Specific Units
  • $REFERENTS missing in Legacy Expressions
  • DSE - cannot save new excel data source
  • KS - Copy Value is missing in result table context menu
  • AVP - date picker returns invalid value
  • Security API Is Granted bug
  • AVP: centered lengthy titles get weird crops (Modal centers title)
  • KS Fails for joined attribute filter
  • AVP - Save button is not enabled (updated)
  • Model Builder - no visual proof that automation exist on attribute after upgrade to 22.2.0
  • Subclause lacks access to available connections
  • Enforce immutable for definitions in automation - Application Builder
  • Expression Editor in Automation Freeze
  • Application does not recover
  • Remove Legacy Product Generator
  • Query/KS: Dropdown search field shows filtered result but the search field is cleared