Wrapping the Floorplan
The floorplan can be used on any other page by wrapping the calendar component and providing a number of variables.
Variable Name | Value/Description |
---|---|
floorplanId | The Id of a |
hideOtherAreas (optional) | Specify a Boolean value to control the display of areas. By default, this value is set to false. When set to true, it hides any areas not listed in the highlightedAreasIds. |
highlightedAreaIds (optional) | A comma-separated list of |
highlightColor (optional) | Either a hex-color code or a color name that will be the highlight color of the areas defined in the highlightedAreaIds. Both |
floorplanDateTime (optional) | A datetime value, allowing you to initialise the floorplan on a certain date/time. |
height (optional) | Height of the floorplan in pixels. |
Â
Sample code:
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId">
<FP25:floorplanWrapper
floorplanId="a027a000008CYHbAAO"
highlightedAreaIds="a017a0000071YY2AAM"
highlightColor="#ff0000"
hideOtherAreas="true"
>
</FP25:floorplanWrapper>
</aura:component>
Â