trailheadapps / az-insurance

Sample app that demonstrates how to build customer/partner/marketing experiences for Salesforce Experience Cloud and Lightning Web Runtime.
Creative Commons Zero v1.0 Universal
111 stars 98 forks source link

Use managedContentPage instead of webPage for LNS #17

Closed zhawtof closed 3 years ago

zhawtof commented 3 years ago

https://github.com/trailheadapps/az-insurance/blob/71da22be9931267ee6fda70165c95aabbe509909/force-app/main/default/lwc/cmsBlogList/cmsBlogList.js#L34-L41

Should be using a managedContentPage

handleClick(event) { 
     this[NavigationMixin.Navigate]({ 
         type: 'standard__managedContentPage',
        attributes :{
            'contentTypeName': 'blog',
            'contentKey': ${event.currentTarget.dataset.id}'
        }
     }); 
 } 
github-actions[bot] commented 3 years ago

Welcome! 👋

Thank you for posting this issue. 🙇🏼‍♂️ We will come back to you latest within the next 48h (working days). Stay tuned!

github-actions[bot] commented 3 years ago

Flagging this as stale, as there was no recent activity within the last 14 days. 🧐