Technical documentation - AssetManager to create connection to external data

profile.config :

 

 

<AssetEnabled>true</AssetEnabled> <AssetManager> <AssetManager> <AssetDataProvider> <ThingWorxAssetDataProvider url="https://www.pdsvision-iot.com/Thingworx/Things/SignifikantIntegrationThing/Services/AssetOverview" url2="https://www.pdsvision-iot.com/Thingworx/Things/SignifikantIntegrationThing/Services/AssetView"> <Parameters> <Parameter name="appKey" value="458fa995-4f23-4f4f-8418-d53bbd34c6b1" /> <Parameter name="Accept" value="application/json" /> <Parameter name="Content-Type" value="application/json" /> </Parameters> </ThingWorxAssetDataProvider> </AssetDataProvider> <AssetOverviewColumnSetting id="Type" caption-key="Type"> <Value property="ExternalData[Type=Type].Value"></Value> </AssetOverviewColumnSetting> <AssetOverviewColumnSetting id="IsConnected" caption-key="Is connected"> <Value property="ExternalData[Type=IsConnected].Value"></Value> </AssetOverviewColumnSetting> <MachineCardColumnSetting id="HeaterRisk" caption-key="Heater Risk"> <Value property="ExternalData[Type=HeaterRisk].Value"></Value> </MachineCardColumnSetting> <MachineCardColumnSetting id="Error code" caption-key="ErrorCode"> <Value property="ExternalData[Type=ErrorCode].Value"></Value> </MachineCardColumnSetting> <MachineCardColumnSetting id="State of the machine" caption-key="MachineState"> <Value property="ExternalData[Type=MachineState].Value"></Value> </MachineCardColumnSetting> <AssetDisplayProperty> <AssetProperties> <AssetProperty type="ExternalData" name="The device current temperature" widget="meter" low="15" high="50" optimum="25" min="0" max="100"></AssetProperty> <AssetProperty type="ExternalData" name="Number Of Uncompleted Cycles" widget="meter" low="10" high="40" optimum="0" min="0" max="100"></AssetProperty> <AssetProperty type="ExternalData" name="HeaterRisk" widget="stateIcon" ok="0" attention="1" failure="2"></AssetProperty> <AssetProperty type="ExternalData" name="Error code" widget="trafficLight" ok="0" attention="1" failure="2"></AssetProperty> <AssetProperty type="ExternalData" name="State of the machine" widget="trafficLight" ok="Default state" attention="1" failure="2"></AssetProperty> </AssetProperties> </AssetDisplayProperty> </AssetManager> </AssetManager> <ImportAssetsEnabled>true</ImportAssetsEnabled>