To show a Floorplan on another Lightning page, wrap the FP25:floorplanWrapper component in your own Aura component and set its attributes.
Attributes
|
Attribute |
Description |
|---|---|
|
|
The Id of an |
|
|
A Boolean that controls which areas are shown. The default is |
|
|
A comma-separated list of |
|
|
A hex color code or a color name for the areas in |
|
|
A hex color code or a color name for the fill of the areas in |
|
|
A datetime value, for example |
|
|
The height of the Floorplan in pixels.
|
Examples
This Aura component shows one Floorplan with one highlighted area in red, hides the other areas, and sets the height to 750 pixels:
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId">
<FP25:floorplanWrapper
floorplanId="a027a000008CYHbAAO"
highlightedAreaIds="a017a0000071YY2AAM"
highlightColor="#ff0000"
hideOtherAreas="true"
height="750"
>
</FP25:floorplanWrapper>
</aura:component>