{"id":5112,"date":"2021-10-12T04:26:40","date_gmt":"2021-10-12T04:26:40","guid":{"rendered":"https:\/\/studysection.com\/blog\/?p=5112"},"modified":"2021-10-12T05:45:49","modified_gmt":"2021-10-12T05:45:49","slug":"how-to-show-list-of-related-records-using-search-filter-in-lwc","status":"publish","type":"post","link":"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/","title":{"rendered":"How to show List of Related Records using Search filter in LWC"},"content":{"rendered":"<p>To show the List of Related Records using <a href=\"https:\/\/studysection.com\/blog\/what-is-voice-search-optimization\/\">Search<\/a> filter in LWC, firstly we need to make a new <strong>Lightning Web Component in Vs code<\/strong>. <\/p>\n<ol>\n<li>\n<h2>Step 1 &#8211; Create a New Lightning Web Component<\/h2>\n<ul>\n<li>Press <strong>shift+ctrl+p<\/strong><\/li>\n<li>Select SFDX: <strong>Create Lightning Web Component<\/strong> Command from the command palette.<\/li>\n<li>Now give the file name that you want.<\/li>\n<li>Select default folder :- <strong>force-app\\main\\default\/lwc<\/strong><\/li>\n<\/ul>\n<p>Now a new Component is created inside the lwc folder in your vs code. This component contains three files: Html, js, and js-meta.xml.<\/p>\n<p><strong>DisplayAllRelatedRecords.html<\/strong><br \/>\n<code>&lt;template><br \/>\n    &lt;lightning-card title=\"How to display the Contacts based on Account Name in LWC\" custom-icon=\"custom:icon13\"><br \/>\n        &lt;div class=\"slds slds-p-horizontal--medium\"><br \/>\n         &lt;div class=\"slds-grid slds-wrap\"><br \/>\n            &lt;div class=\"slds-col slds-size_4-of-12 slds-m-bottom--medium\"><br \/>\n                &lt;lightning-Input type=\"search\" placeholder=\"Search...\" value={accountName} name=\"accountName\" class=\"accountName\" onchange={handleChangeAccName}>&lt;\/lightning-input><br \/>\n             &lt;\/div><br \/>\n             &lt;div class=\"slds-col slds-size_6-of-12 slds-m-top--medium\" style=\"margin-top: 19px; margin-left: 10px;\"><br \/>\n                    &lt;lightning-button label=\"Search Account Name\" size=\"small\" variant=\"brand\" onclick={handleAccountSearch} icon-name=\"utility:search\" icon-position=\"right\">&lt;\/lightning-button><br \/>\n             &lt;\/div><br \/>\n         &lt;\/div><br \/>\n         &lt;h2>Account Name :- &lt;span>&lt;strong>{currentAccountName}&lt;\/strong>&lt;\/span>&lt;\/h2>&lt;br\/><br \/>\n         &lt;h3>&lt;strong>&lt;span style=\"color:brown;\">{dataNotFound}&lt;\/span>&lt;\/strong>&lt;\/h3>&lt;br\/><br \/>\n         &lt;h2 class=\"slds-m-bottom--x-small\" style=\"color:darkslateblue; font-weight:bold;\">Displaying Contacts Records based on Account Name&lt;\/h2><br \/>\n           &lt;table class=\"slds-table slds-table_cell-buffer slds-table_bordered\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" bordercolor=\"#ccc\" style=\"border-collapse:collapse;\"><br \/>\n               &lt;thead><br \/>\n                   &lt;tr><br \/>\n                       &lt;th>First Name&lt;\/th><br \/>\n                       &lt;th>Last Name&lt;\/th><br \/>\n                       &lt;th>Phone&lt;\/th><br \/>\n                       &lt;th>Description&lt;\/th><br \/>\n                   &lt;\/tr><br \/>\n               &lt;\/thead><br \/>\n               &lt;tbody><br \/>\n                   &lt;template for:each={records} for:item=\"conItem\"><br \/>\n                       &lt;tr key={conItem.Id}><br \/>\n                           &lt;td>{conItem.FirstName}&lt;\/td><br \/>\n                           &lt;td>{conItem.LastName}&lt;\/td><br \/>\n                           &lt;td>{conItem.Phone}&lt;\/td><br \/>\n                           &lt;td>{conItem.Account.Name}&lt;\/td><br \/>\n                       &lt;\/tr><br \/>\n                   &lt;\/template><br \/>\n               &lt;\/tbody><br \/>\n           &lt;\/table><br \/>\n        &lt;\/div><br \/>\n&lt;br\/>&lt;br\/><br \/>\n    &lt;\/lightning-card><br \/>\n&lt;\/template><\/code><\/p>\n<p><strong>DisplayAllRelatedRecords.js<\/strong><\/p>\n<p><code>import { LightningElement, track, wire } from 'lwc';<br \/>\nimport retrieveContactData from '@salesforce\/apex\/lwcAppExampleApex.retrieveContactData';<br \/>\nexport default class DisplayContactsOnAccountName extends LightningElement {<br \/>\n   @track currentName;<br \/>\n   @track searchName;<br \/>\n    handleChangeAccName(event){<br \/>\n      this.currentAccountName = event.target.value;<br \/>\n    }<br \/>\n    handleAccountSearch(){<br \/>\n       this.searchName = this.currentName;<br \/>\n    }<br \/>\n    @track records;<br \/>\n    @track dataNotFound;<br \/>\n    @wire (retrieveContactData,{keySearch:'$searchName'})<br \/>\n    wireRecord({data,error}){<br \/>\n        if(data){<br \/>\n            this.records = data;<br \/>\n            this.error = undefined;<br \/>\n            this.dataNotFound = '';<br \/>\n            if(this.records == ''){<br \/>\n                this.dataNotFound = 'There is no Contact found related to Account name';<br \/>\n            }<br \/>\n           }else{<br \/>\n               this.error = error;<br \/>\n               this.data=undefined;<br \/>\n           }<br \/>\n    }<br \/>\n}<\/code><\/p>\n<p><strong>DisplayAllRelatedRecords.js-meta.xml<\/strong><br \/>\n<code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?><br \/>\n&lt;LightningComponentBundle xmlns=\"http:\/\/soap.sforce.com\/2006\/04\/metadata\"><br \/>\n    &lt;apiVersion>45.0&lt;\/apiVersion><br \/>\n    &lt;isExposed>true&lt;\/isExposed><br \/>\n    &lt;targets><br \/>\n        &lt;target>lightning__AppPage&lt;\/target><br \/>\n        &lt;target>lightning__RecordPage&lt;\/target><br \/>\n        &lt;target>lightning__HomePage&lt;\/target><br \/>\n        &lt;target>lightning__Tab&lt;\/target><br \/>\n      &lt;\/targets><br \/>\n&lt;\/LightningComponentBundle><\/code><\/p>\n<p>To fetch data from org make an <strong>apex class<\/strong> in your vs code.\n<\/li>\n<li>\n<h3>Step 2  &#8211; Create a New Apex Class in vscode<\/h3>\n<ul>\n<li>Press <strong>shift+ctrl+p<\/strong><\/li>\n<li>Select <strong>SFDX:Create Apex Class<\/strong> Command from the command palette.<\/li>\n<li>Now enter the file name that you want. <\/li>\n<li>Select default folder :- <strong>force-app\\main\\default\/classes<\/strong><\/li>\n<\/ul>\n<p>Now your apex class is created inside the classes folder. <\/p>\n<p>Now write a query inside your Apex class to fetch the related record.<\/p>\n<p><strong>fetchAllRelatedRecords.cls <\/strong><br \/>\n<code>public with sharing class fetchRelatedRecords {<br \/>\n    @AuraEnabled(cacheable=true)<br \/>\n    public static List&lt;Contact> retrieveContact(string keySearch){<br \/>\n        List&lt;Contact> mycontactList = [Select Id, FirstName, LastName, Email, Phone, Account.Name From Contact Where Account.Name=:keySearch];<br \/>\n        return mycontactList;<br \/>\n    }<br \/>\n}<\/code><br \/>\nIn this class, we have written a query for fetching the records from contact which is in a lookup relationship with Account. <\/p>\n<p><strong>OUTPUT:-<\/strong><\/br><br \/>\n<em>When the Input Box is Empty <\/em><br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/LWC1.png\" alt=\"LWC1\"\/><\/br><br \/>\n<em>When the Related Records are available:<\/em><br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/LWC2.png\" alt=\"LWC2\"\/><\/br><br \/>\nWhen there is no Related Records available:<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/LWC3.png\" alt=\"LWC3\"\/>\n<\/li>\n<\/ol>\n<p><small><em>Microsoft Windows 10 is a widely used operating system in computers all over the world. If you have skills in Microsoft Windows 10 then you can get a <a href=\"https:\/\/www.studysection.com\/windows-10-expert\">Windows 10 Certification<\/a> from StudySection which can help you in getting hired. A beginner level certification exam for newbies and an advanced level certification exam for experts is available on StudySection.<\/em><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To show the List of Related Records using Search filter in LWC, firstly we need to make a new Lightning<\/p>\n","protected":false},"author":1,"featured_media":5113,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[717,721],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to show List of Related Records using Search filter in LWC - SS Blog<\/title>\n<meta name=\"description\" content=\"To show the List of Related Records using Search filter in LWC, firstly we need to make a new Lightning Web Component in Vs code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to show List of Related Records using Search filter in LWC - SS Blog\" \/>\n<meta property=\"og:description\" content=\"To show the List of Related Records using Search filter in LWC, firstly we need to make a new Lightning Web Component in Vs code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Posts on famous people, innovations and educational topics\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/studysection\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-12T04:26:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-12T05:45:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/LWC.png\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin-studysection-blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@studysection\" \/>\n<meta name=\"twitter:site\" content=\"@studysection\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin-studysection-blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/\"},\"author\":{\"name\":\"admin-studysection-blog\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\"},\"headline\":\"How to show List of Related Records using Search filter in LWC\",\"datePublished\":\"2021-10-12T04:26:40+00:00\",\"dateModified\":\"2021-10-12T05:45:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/\"},\"wordCount\":283,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"keywords\":[\"Component\",\"LWC\"],\"articleSection\":[\"Learn and Grow\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/\",\"url\":\"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/\",\"name\":\"How to show List of Related Records using Search filter in LWC - SS Blog\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/#website\"},\"datePublished\":\"2021-10-12T04:26:40+00:00\",\"dateModified\":\"2021-10-12T05:45:49+00:00\",\"description\":\"To show the List of Related Records using Search filter in LWC, firstly we need to make a new Lightning Web Component in Vs code.\",\"breadcrumb\":{\"@id\":\"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/studysection.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to show List of Related Records using Search filter in LWC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/studysection.com\/blog\/#website\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"name\":\"Blog Posts on famous people, innovations and educational topics\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/studysection.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/studysection.com\/blog\/#organization\",\"name\":\"StudySection\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"contentUrl\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"width\":920,\"height\":440,\"caption\":\"StudySection\"},\"image\":{\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/studysection\",\"https:\/\/twitter.com\/studysection\",\"https:\/\/www.instagram.com\/study.section\/\",\"https:\/\/www.linkedin.com\/company\/studysection\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\",\"name\":\"admin-studysection-blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"caption\":\"admin-studysection-blog\"},\"url\":\"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to show List of Related Records using Search filter in LWC - SS Blog","description":"To show the List of Related Records using Search filter in LWC, firstly we need to make a new Lightning Web Component in Vs code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/","og_locale":"en_US","og_type":"article","og_title":"How to show List of Related Records using Search filter in LWC - SS Blog","og_description":"To show the List of Related Records using Search filter in LWC, firstly we need to make a new Lightning Web Component in Vs code.","og_url":"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/","og_site_name":"Blog Posts on famous people, innovations and educational topics","article_publisher":"https:\/\/www.facebook.com\/studysection","article_published_time":"2021-10-12T04:26:40+00:00","article_modified_time":"2021-10-12T05:45:49+00:00","og_image":[{"width":300,"height":200,"url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/LWC.png","type":"image\/png"}],"author":"admin-studysection-blog","twitter_card":"summary_large_image","twitter_creator":"@studysection","twitter_site":"@studysection","twitter_misc":{"Written by":"admin-studysection-blog","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/#article","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/"},"author":{"name":"admin-studysection-blog","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402"},"headline":"How to show List of Related Records using Search filter in LWC","datePublished":"2021-10-12T04:26:40+00:00","dateModified":"2021-10-12T05:45:49+00:00","mainEntityOfPage":{"@id":"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/"},"wordCount":283,"commentCount":0,"publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"keywords":["Component","LWC"],"articleSection":["Learn and Grow"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/","url":"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/","name":"How to show List of Related Records using Search filter in LWC - SS Blog","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/#website"},"datePublished":"2021-10-12T04:26:40+00:00","dateModified":"2021-10-12T05:45:49+00:00","description":"To show the List of Related Records using Search filter in LWC, firstly we need to make a new Lightning Web Component in Vs code.","breadcrumb":{"@id":"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/studysection.com\/blog\/how-to-show-list-of-related-records-using-search-filter-in-lwc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/studysection.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to show List of Related Records using Search filter in LWC"}]},{"@type":"WebSite","@id":"https:\/\/studysection.com\/blog\/#website","url":"https:\/\/studysection.com\/blog\/","name":"Blog Posts on famous people, innovations and educational topics","description":"","publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/studysection.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/studysection.com\/blog\/#organization","name":"StudySection","url":"https:\/\/studysection.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","contentUrl":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","width":920,"height":440,"caption":"StudySection"},"image":{"@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/studysection","https:\/\/twitter.com\/studysection","https:\/\/www.instagram.com\/study.section\/","https:\/\/www.linkedin.com\/company\/studysection"]},{"@type":"Person","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402","name":"admin-studysection-blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","caption":"admin-studysection-blog"},"url":"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/"}]}},"views":33886,"_links":{"self":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/5112"}],"collection":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/comments?post=5112"}],"version-history":[{"count":7,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/5112\/revisions"}],"predecessor-version":[{"id":5123,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/5112\/revisions\/5123"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media\/5113"}],"wp:attachment":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media?parent=5112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/categories?post=5112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/tags?post=5112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}