{"id":92423,"date":"2017-08-08T05:14:41","date_gmt":"2017-08-08T05:14:41","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=92423"},"modified":"2021-07-16T14:20:20","modified_gmt":"2021-07-16T14:20:20","slug":"using-external-javascript-library-method-lightning-component","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/","title":{"rendered":"Using External JavaScript Library And Its Method In Lightning Component"},"content":{"rendered":"\n<p>In this blog we are going to learn about <strong>how to use external JavaScript and its method in lightning component<\/strong>. First, we learn <strong>how to use external JavaScript library in lightning component.<\/strong><\/p>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">JavaScript Library<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>Following steps are used to load the external Java Script library in lightning component.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Load your external java script library in static resource. <strong>Goto >> SetUp>> Custom Code >> Static Resources<\/strong><\/li><li>Use <strong>&lt;ltng:require><\/strong> tag to load the Java Script library in lightnig component as follows. <\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;!-- For one js library --> &lt;!-- Here filename1 is static resource name --> &lt;ltng:require scripts=\"{!$Resorce.filename1}\">&lt;\/ltng:require> &lt;!-- For more than one js file --> &lt;!-- Here filename1 and filename2 is static resource name --> &lt;ltng:require scripts=\"{!join(',',                             $Resource.filename1,                             $Resource.filename2)}\">&lt;\/ltng:require> \n<\/pre>\n\n\n\n<p><\/p>\n<\/div>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Example<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>In this example we print the list of fruits which is predefined in external JavaScript library.<\/p>\n\n\n\n<p>1). Create a js file as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted brush:js\">\/**\n * Webkul Software.\n *\n * @category  Webkul\n * @author    Webkul\n * @copyright Copyright (c) 2010-2016 Webkul Software Private Limited (https:\/\/webkul.com)\n * @license   https:\/\/store.webkul.com\/license.html\n *\/\n\n\n\nwindow._map = (function() {\n    var fruits = [\"Mango\", \"Apple\", \"Banana\", \"Graps\", \"Pineapple\"];\n    return {\n        getFruits: function() {\n            return fruits;\n        }\n    };\n}());<\/pre>\n\n\n\n<p>2). Upload the external js file\/library in static resource. &nbsp;<strong>Goto &gt;&gt; SetUp&gt;&gt; Custom Code &gt;&gt; Static Resources<\/strong><\/p>\n\n\n\n<p><img decoding=\"async\" width=\"1301\" height=\"678\" class=\"alignnone wp-image-92424 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Static-Resource-Salesforce-Developer-Edition-Salesforce.jpg\" alt=\"\" style=\"width: undefinedpx;\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Static-Resource-Salesforce-Developer-Edition-Salesforce.jpg 1301w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Static-Resource-Salesforce-Developer-Edition-Salesforce-250x130.jpg 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Static-Resource-Salesforce-Developer-Edition-Salesforce-300x156.jpg 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Static-Resource-Salesforce-Developer-Edition-Salesforce-768x400.jpg 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Static-Resource-Salesforce-Developer-Edition-Salesforce-1200x625.jpg 1200w\" sizes=\"(max-width: 1301px) 100vw, 1301px\" loading=\"lazy\" \/><br>3). Create a lightning component and write following code.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted brush:xml\">&lt;aura:component &gt;\n    &lt;!-- \n    \/**\n    * Webkul Software.\n    *\n    * @category  Webkul\n    * @author    Webkul\n    * @copyright Copyright (c) 2010-2016 Webkul Software Private Limited (https:\/\/webkul.com)\n    * @license   https:\/\/store.webkul.com\/license.html\n    *\/\n    --&gt;\n    &lt;ltng:require scripts=\"{!$Resource.fruits}\"&gt;&lt;\/ltng:require&gt;\n    &lt;aura:attribute name=\"externalList\" type=\"Array\" &gt;&lt;\/aura:attribute&gt;\n    &lt;div&gt;\n        &lt;p&gt; Click on button to show the name of fruits...&lt;\/p&gt;\n        &lt;lightning:button label=\"Show Fruits\"\n                          variant=\"brand\"\n                          onclick=\"{!c.getFruits}\"&gt;\n        &lt;\/lightning:button&gt;\n        &lt;aura:iteration items=\"{!v.externalList}\" var=\"el\"&gt;\n            &lt;p&gt; {!el}&lt;\/p&gt;\n        &lt;\/aura:iteration&gt;\n    &lt;\/div&gt;\n&lt;\/aura:component&gt;<\/pre>\n\n\n\n<p>4). Controller code.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted brush:js\">({\n\tgetFruits : function(component, event, helper) {\n\t\tvar fruits = _map.getFruits(); \/\/ Get the list of fruits from external Java Script Library \n        console.log(fruits);\n        component.set(\"v.externalList\", fruits); \n\t}\n})<\/pre>\n<\/div>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Output<\/h3><\/div><div class=\"margin-bottom-50\">\n<p><strong>&nbsp;# Lightning Component View<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Aura.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" width=\"422\" height=\"220\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Aura.jpg\" alt=\"\" class=\"wp-image-92426\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Aura.jpg 422w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Aura-250x130.jpg 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Aura-300x156.jpg 300w\" sizes=\"(max-width: 422px) 100vw, 422px\" loading=\"lazy\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Support<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>That\u2019s all for<strong> How To Use External Java Script And Its Method In Lightning Component&nbsp;<\/strong>, still if you have any further query &nbsp;or seek assistance to make your salesforce classic apps compatible with lightning experience, feel free to add a ticket, we will be happy to help you&nbsp;<a href=\"https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/<\/a>.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this blog we are going to learn about how to use external JavaScript and its method in lightning component. First, we learn how to use external JavaScript library in lightning component.<\/p>\n","protected":false},"author":145,"featured_media":92427,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1887],"tags":[5246,4715,5247,4998],"class_list":["post-92423","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-salesforce","tag-external-javascript-library","tag-external-js","tag-external-js-method-in-lightning-component","tag-lightning-component"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using External JavaScript Library And Its Method In Lightning Component - Webkul Blog<\/title>\n<meta name=\"description\" content=\"In this blog we are going to learn about how to use external JavaScript and its method in lightning component. First, we learn how to use external JavaScript library in lightning component.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using External JavaScript Library And Its Method In Lightning Component - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog we are going to learn about how to use external JavaScript and its method in lightning component. First, we learn how to use external JavaScript library in lightning component.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-08T05:14:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-16T14:20:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/download-16.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Snehil Jaiswal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Snehil Jaiswal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/\"},\"author\":{\"name\":\"Snehil Jaiswal\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/e7e387ae1eb38a5dd56c53c2daf848d1\"},\"headline\":\"Using External JavaScript Library And Its Method In Lightning Component\",\"datePublished\":\"2017-08-08T05:14:41+00:00\",\"dateModified\":\"2021-07-16T14:20:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/\"},\"wordCount\":209,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/download-16.png\",\"keywords\":[\"External JavaScript Library\",\"External JS\",\"External js method in lightning component\",\"Lightning Component\"],\"articleSection\":[\"Salesforce\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/\",\"url\":\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/\",\"name\":\"Using External JavaScript Library And Its Method In Lightning Component - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/download-16.png\",\"datePublished\":\"2017-08-08T05:14:41+00:00\",\"dateModified\":\"2021-07-16T14:20:20+00:00\",\"description\":\"In this blog we are going to learn about how to use external JavaScript and its method in lightning component. First, we learn how to use external JavaScript library in lightning component.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/download-16.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/download-16.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using External JavaScript Library And Its Method In Lightning Component\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/e7e387ae1eb38a5dd56c53c2daf848d1\",\"name\":\"Snehil Jaiswal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4bca6424a95aaafa9ab0ddc940099d65d20ab159fbcec826869a62578336590d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4bca6424a95aaafa9ab0ddc940099d65d20ab159fbcec826869a62578336590d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Snehil Jaiswal\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/snehil-jaiswal901\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using External JavaScript Library And Its Method In Lightning Component - Webkul Blog","description":"In this blog we are going to learn about how to use external JavaScript and its method in lightning component. First, we learn how to use external JavaScript library in lightning component.","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:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/","og_locale":"en_US","og_type":"article","og_title":"Using External JavaScript Library And Its Method In Lightning Component - Webkul Blog","og_description":"In this blog we are going to learn about how to use external JavaScript and its method in lightning component. First, we learn how to use external JavaScript library in lightning component.","og_url":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-08-08T05:14:41+00:00","article_modified_time":"2021-07-16T14:20:20+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/download-16.png","type":"image\/png"}],"author":"Snehil Jaiswal","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Snehil Jaiswal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/"},"author":{"name":"Snehil Jaiswal","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/e7e387ae1eb38a5dd56c53c2daf848d1"},"headline":"Using External JavaScript Library And Its Method In Lightning Component","datePublished":"2017-08-08T05:14:41+00:00","dateModified":"2021-07-16T14:20:20+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/"},"wordCount":209,"commentCount":1,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/download-16.png","keywords":["External JavaScript Library","External JS","External js method in lightning component","Lightning Component"],"articleSection":["Salesforce"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/","url":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/","name":"Using External JavaScript Library And Its Method In Lightning Component - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/download-16.png","datePublished":"2017-08-08T05:14:41+00:00","dateModified":"2021-07-16T14:20:20+00:00","description":"In this blog we are going to learn about how to use external JavaScript and its method in lightning component. First, we learn how to use external JavaScript library in lightning component.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/download-16.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/download-16.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/using-external-javascript-library-method-lightning-component\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Using External JavaScript Library And Its Method In Lightning Component"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/e7e387ae1eb38a5dd56c53c2daf848d1","name":"Snehil Jaiswal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4bca6424a95aaafa9ab0ddc940099d65d20ab159fbcec826869a62578336590d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4bca6424a95aaafa9ab0ddc940099d65d20ab159fbcec826869a62578336590d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Snehil Jaiswal"},"url":"https:\/\/webkul.com\/blog\/author\/snehil-jaiswal901\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/92423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/145"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=92423"}],"version-history":[{"count":9,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/92423\/revisions"}],"predecessor-version":[{"id":296738,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/92423\/revisions\/296738"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/92427"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=92423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=92423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=92423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}