You need to sign in to do that
Don't have an account?
Anil Kumar H M
RecordHomeTemplate in lightning web component.
I want to create a record home template in lighting web component. in aura component, we have recordHomeTemplate.
there are 3 sidebars I need to add one more header. so I need to create custom template in lightning web component. can someone tell me how to do that.
thanks in advance
Below are interfaces for the Page Template Component to implement.
>> lightning:recordHomeTemplate
>> lightning:appHomeTemplate
>> lightning:homeTemplate
Below are a few references which have working examples.
https://rajvakati.com/2018/04/02/custom-lightning-page-template/#:~:text=A%20custom%20template%20is%20a,an%20attribute%20of%20type%20Aura.
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_app_builder_template_component.htm
https://getthekt.com/custom-lightning-page-templates/
http://onemoreincloud.blogspot.com/2018/07/lightning-component-for-custom.html
http://www.infallibletechie.com/2018/12/custom-lightning-template-with.html
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Vinay Kumar
Hi Vinay
I need to create in lightning web component not in Aura component.
Thanks,
Anil Kumar
I checked and it seems like there is no such functionality in LWC. However, you can create lightning web components and add them to apps that contain Aura components and you can call LWC in Lightning component.
References:
https://developer.salesforce.com/docs/component-library/documentation/en/lwc/interop_intro
https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.interop_aura_composition
Thanks,
Vinay Kumar