Planon Connect For Aespect

Introduction

This document outlines the functionality of the ‘Connect for Aespect’ app. The app allows to embed the Aespect viewer in the Planon assets TSI. This way building elements can be visualized.

Prerequisites

Environment

This app is designed to work with Planon L94 and above.

Constraints

  • When opening the viewer a manual login is required
  • The data between Planon and Aespect should be in sync (for example because it has been added by a Planon maintenance inspection or by using the Aespect import worker)

Required (free)fields

  • N/A

Assumptions

  • N/A

Features

This chapter describes the features of the Connect For Aespect app.

Display Aespect view in Planon

The app allows to display the Aespect viewer in Planon. When clicking an element in Planon this will be highlighted in the Aespect viewer (if available). The other way around, clicking an element in Aespect, will highlight the element in Planon.

A screenshot of a computer Description automatically generated with medium confidence

View inspection photos

When navigating through the Aespect model Planon will load related photos from Aespect. These photos can be enlarged in Planon by clicking on the thumbnail. To show full quality photo another click can be done, this will open a new tab with the highest quality picture.

Import components from Aespect

The app contains a enterprise talk worker that utilizes the Aespect API to import Aespect components as Assets in Planon. In order to do so the endpoint Aespect endpoint ‘/api/embedded_view/units/{unit_id}/components’ is used.

How does it work?

This chapter contains the functional and technical description of the features.

Mapping between Planon and Aespect

The viewer works by mapping the Planon Asset ‘Code’ field to the Aespect ‘identifier’ field or by using the external bo link (if available). The Planon property code is mapped to the Aespect ‘unit_id’ field in order to retrieve the correct building. Alternatively, when importing components from Aespect the component id can be stored in Planon. In this case the viewer directly maps to the component id in Aespect.

The mapping has to be done manually or could work by semi-default if the assets / building elements in Planon have been onboarded using the Planon Condition Assessor software with the Mask Inventory set to #ObjCode#-#UntCode#-#AssCode#-#COUNT# in the Survey Model. For automatic mapping the Aespect import worker has to be used.

Planon Asset BO

Planon FieldAespect Field
CodePlanon entity
External BO LinkComponent id
Namedescription
Quantityquantity
surveySiteRef field from app configurationpart_name
Asset condition detail and/or topic score based on app configurationcondition_score

Planon Property BO

Planon FieldAespect Field
Codeunit_id

Deployment

Once the app is installed and activated, a step view must be configured through the Planon TSI Manager. This in order to be able to switch to the Aespect view.

Installation

This chapter describes the steps required to install this app on your Planon environment.

Installation Process

There are two ways to install the app:

  1. Using the Marketplace
  2. Manual installation

Install the app by using the marketplace

In case your environment is configured to use the Planon app store the only thing required to install the app is to add the app license in the AppCenter TSI. Planon will automatically download and install the app.

AppCenter Marketplace Installation

Manual installation

In case you want to perform a manual installation follow the steps below.

  1. Open AppCenter TSI from Planon webclient and click on install from action menu

AppCenter Installation

  1. Browse to the .ppk file

Browse ppk file

  1. Click OK to install the app and follow the installation process
  2. When the app is successfully installed, the app will appear in the AppCenter

Installed App

  1. Add the app license in Apps TSI

Add App License

App settings

This chapter describes and explains the settings that are available for this app.

  1. Now that the app is installed, please provide the app settings (the app configuration) for each module in the Details level > Module settings selection step. Provide the module settings.
  2. For more details regarding the settings see the next chapter.
  3. Click Save button after providing the module settings.
SettingDescription
useBetaViewerSet to yes to use the Aespect beta viewer. This has more features but might be unstable. Set to no to use the production viewer.
unitOrganizationThe Aespect unit organization
apiTokenThe Aespect API token. Only needed when importing components from Aespect.
aespectAPIBaseURLThe Aespect API Base URL. Only needed when importing components from Aespect.
importConditionScoreAsAssetConditionSet this setting to yes in order to import condition scores as asset condition details
importConditionScoreAsTopicScoreSet this setting to yes in order to import condition scores as asset topic score
surveySiteRefFieldA freestring on the Asset to store the Aespect ‘part_name’ value.
unitIdFieldA freestring on the Property BO to store the Aespect unit id.

Activation

Once the app has been configured, you can activate the app by pressing the Active status transition from the action panel. Always make sure that the required User groups are linked correctly and the Configure action is executed before activating the App.

AppCenter App Activation

Stepview Configuration

In order the make the Aespect step available in the Assets TSI is must be added. This can be done by following the steps below.

  1. Navigate to the ‘TSI’s’ TSI

  2. Search for the Assets TSI in which you want to add the stepview

  3. Set the TSI under construction

  4. Select the ‘Assets’ selection level

  5. Open the ‘linked step actions’

  6. Set ‘Aespect Viewer’ to in use
    A screenshot of a computer Description automatically generated

Import Worker configuration (optional)

If you want to automatically onboard Aespect components as Assets in Planon a Enterprise Talk worker can be used.

  1. Go to the TSI ‘external system configuration’ and create a new external system with the Code ‘Aespect’.

  2. Create a new Enterprise Talk definition. Make sure the field ‘use platform workers’ is set to yes.

  3. Drill down to ‘Documents’ and add a new export document

  4. Drill down to ‘Business object definitions’, step ‘import-export workers’

  5. Add a new worker, use the class ‘planonsoftware.apps.aespect.worker.ImportComponentsFromAespect’.

  6. Provide the settings needed for the worker

  7. Go back to the Enterprise Talk definition and execute it. If all is well the Aespect components will be added as Assets in Planon.

External system (optional)

In case you want to use the Aespect import worker an external system must be configured.

  1. Go to the TSI ‘External BO Links’

  2. Create a new external system with the code ‘Aespect’

Third party system configuration

This app does not require any third party system configuration.

Aespect import worker settings

The table below lists the available import worker settings.

SettingDescription
componentCodesBasedOnPlanonLibrarySet this to yes in order to import the Aespect components based on the Planon library.
importQuantitySet this to yes in order import quantity from Aespect
propertyThe Planon property to import the Assets on
standardAssetThe standard asset used to import the components
topicScoreTopicUse this setting to select the topic that will be used for scoring (when enabled in app settings).

Troubleshooting

Error handling

  • Errors are recorded in the server logs:
    • Tomcat log for web components
      • Webpages
      • PSS modules
      • Stepview
      • TSI Action
      • JAX-RS webservices
    • Wildfly log for server-side components
      • Business rules
      • Scheduled tasks
      • Workers
      • Event Connector
  • UI components (TSI Actions) also display errors in the interface