Document toolboxDocument toolbox

Asset Parameters

Client only params

Param name

Value

Description

Param name

Value

Description

GuidSyncCategories

['Doors', 'Furnitures', 'Walls', 'Windows', 'Spaces_Room', 'Stairs']

Fetch object information from Asset for specified classes.

Not setting this will cause all objects in model to be requested.

This call can result in thousands of GUIDs to be sent to Asset.



This call is made because model does not contain referenced object fmGUID, but only has entity GUID.

AssetModel

900



AssetBuilding

3010300



FetchModelIdFromAsset

true/false

True to lookup model in Asset

FetchAllModels

true/false

True to lookup all models from Building Level

UseModelStreaming

true/false



HDCRoomClass

106

Sample value - should be class ID of objects representing Rooms.

When object of this class is selected, a dedicated viewer function to show Rooms will be used.

Asset+ Parameters

Connection to Asset+ requires proper settings in two places: FMA System Settings described below and Identity Provider that will store auth settings. 



Param name

Value

Description

Param name

Value

Description

asset_api_key

18e98215-f891-43a9-9e4a-405b12ee59e1

Any string that will be set in the Asset+ viewer as API Key used to identify the caller in the Asset+ system.

assetIdp_name

asset-kc-oidc

A name (alias) of the Identity Provider that stores authentication configuration for Asset+

asssetIdp_audience

asset-api

Audience parameter from Asset+ auth system.

assetIdp_subjectField

email

What user property should be used to identify user in Asset+ system

asset_api_url

http://dev-asset-plus.serviceworksglobal.cloud/api/v1/AssetDB

What is the Asset+ API endpoint. MUST BE SSL/HTTPS

assetMobile3D

true/faslse

Additional flag to enable/disable 3D viewer on mobile device

asset_take_param_value

DEFAULT_ASSET_TAKE_SIZE = "10000";

Number of records to request/fetch at one time form Asset+

NOTE: Asset does sort objects before they are fetched, so it often runs out of memory regardless of this size.

asset_chunk_size

DEFAULT_ASSET_CHUNK_SIZE = "1000";

Number of record to be sent to Asset in update chunks.

subtree_perspective_id

Set to perspective ID taken from config

Perspective used to build sub-tree.

 

Sample Asset IDP config:

Note, the IDP config is required for Token Exchange. It does not have to be used for login (but it can be used for that as well). 

Related pages