How to Reuse Web Templates as Components in Power Pages


Web templates as components in Power Pages simplify maintaining a consistent design across pages by allowing reusable components that adapt based on customizable parameters. The article describes creating a hiring agency site using two components: department cards and recruiter profiles. These components pull live data from Dataverse, avoiding redundant code and ensuring updates propagate across all instances. Developers initially set up the templates with Liquid and FetchXML code, which can be configured by non-developers through parameters. Each department and recruiter listing stays dynamic and connected to the relevant Dataverse records. Establishing these components involves creating Dataverse tables, writing the template code with necessary parameters, and using the templates across various pages to automatically update content without altering the structure. The article emphasizes how this method keeps the site professional and up-to-date, reducing the workload typically required when modifying design elements.


Article 3w

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time