Wrapping the Floorplan

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

floorplanId

The Id of an FP25__Floorplan__c record. The component shows this Floorplan.

hideOtherAreas (optional)

A Boolean that controls which areas are shown. The default is false. When set to true, the component hides every area that is not in highlightedAreaIds. Without highlightedAreaIds, the component shows all areas.

highlightedAreaIds (optional)

A comma-separated list of FP25__Area__c record Ids. The component highlights these areas on the Floorplan. Separate the Ids with commas only, without spaces.

If you don't set highlightedAreaIds, no area is highlighted: every area shows the color of its status.

highlightColor (optional)

A hex color code or a color name for the areas in highlightedAreaIds. It sets the border of these areas, and also their fill when you don't set highlightFillColor. Both #FFC0CB and pink are valid.

The default is #088F8F.

highlightFillColor (optional)

A hex color code or a color name for the fill of the areas in highlightedAreaIds.

The default is the value of highlightColor.

floorplanDateTime (optional)

A datetime value, for example 2026-12-03T09:00:00.000Z. The Floorplan opens on this date and time.

The default is the current date and time.

height (optional)

The height of the Floorplan in pixels.

The default is 500.

Examples

This Aura component shows one Floorplan with one highlighted area in red, hides the other areas, and sets the height to 750 pixels:

HTML
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId">
    <FP25:floorplanWrapper
        floorplanId="a027a000008CYHbAAO"
        highlightedAreaIds="a017a0000071YY2AAM"
        highlightColor="#ff0000"
        hideOtherAreas="true"
        height="750"
    >
    </FP25:floorplanWrapper>
</aura:component>
Floorplan wrapper for a custom Floorplan field on Opportunity
HTML
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" >
    <aura:attribute name="opportunityRecord" type="Object"/>
    <aura:attribute name="recordLoadError" type="String"/>
    
    <force:recordData aura:id="recordLoader"
    recordId="{!v.recordId}"
    fields="Name, Floorplan__c,Area__c"
    targetFields="{!v.opportunityRecord}"
    targetError="{!v.recordLoadError}"
    />
    <aura:if isTrue="{!v.opportunityRecord.Floorplan__c}">
        <FP25:floorplanWrapper
            floorplanId="{!v.opportunityRecord.Floorplan__c}"
            highlightedAreaIds="{!v.opportunityRecord.Area__c}"
            highlightColor="#ff0000"
        >
        </FP25:floorplanWrapper>
    </aura:if>
</aura:component>