Skip to main content

Hi,


In my Salesforce Org I have created 2 separate Application.

My Account Object has 2 record type for each application.


I have also created 2 separate skuid pages, to view the details based on record types.


How to call 2 skuid pages in aura component.


Below is my sample code.


<aura:component implements=“force:hasRecordId, flexipage:availableForRecordHome” access=“global”>

<skuid:page page=“CME_Account1” id=“{!v.recordId}” />

</aura:component>


Doubt


Will these create a problem while overriding the account object ?


Thanks in advance


Regards,

Joyson

@Joyson_Tuscano did you find a resolution? I am using an aura component to override a custom object page with a skuid page. However, I need to extend the component’s functionality to show skuid page 1 for record type of A and for all other record types show skuid page 2. I have not been able to find anything online about how to handle this. The closest thing I found was from this blog: https://www.biswajeetsamal.com/blog/get-selected-record-type-id-in-standard-button-overrides-lightning-component/ and I keep getting a Record Id is undefined error.


@Michelle_Bura - have you looked at the Lightning Page Assignment concept.
https://docs.skuid.com/latest/v2/en/skuid/deploy/salesforce/page-assignments/#lightning-page-assignments


I think you will find it will do what you are after.


Reply