<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HTL Syntax Error in Adobe Experience Manager Discussions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/htl-syntax-error/m-p/460892#M34906</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you try doing same using Sling Model?&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/arunpatidar02/aem63app-repo/blob/master/java/ParamModel.java" target="_blank"&gt;https://github.com/arunpatidar02/aem63app-repo/blob/master/java/ParamModel.java&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2022 07:02:14 GMT</pubDate>
    <dc:creator>arunpatidar</dc:creator>
    <dc:date>2022-07-14T07:02:14Z</dc:date>
    <item>
      <title>HTL Syntax Error</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/htl-syntax-error/m-p/460885#M34905</link>
      <description>&lt;P&gt;Actually, I am trying to use the below syntax&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;span data-sly-use.params="${'tagname.js' &lt;LI-USER uid="15657401" login="value"&gt;&lt;/LI-USER&gt;=item.productFilterTag}" class="package-uses"
                                        data-uses="${params.title}"&amp;gt;${params.title}&amp;lt;/span&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;But getting this error&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;"Cannot get DefaultSlingScript: Identifier tagname.js cannot be correctly instantiated by the Use API"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the tagname.js code is given below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;use(function () {
    // you can reference the parameters via the this keyword.
    var resourceResolver = resource.getResourceResolver();
    var tagManager = resourceResolver.adaptTo(Packages.com.day.cq.tagging.TagManager);
    var tag = tagManager.resolve(this.value);
    var name = tag.name;
    var title = tag.title;
	var pageLocale = currentPage.getLanguage();
    var localizedTitle = tag.getTitle(pageLocale);


    return {
        title: title,
        name:name,
        locale:pageLocale,
        tag_title:localizedTitle
    };
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 06:34:44 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/htl-syntax-error/m-p/460885#M34905</guid>
      <dc:creator>Ameen_Dev</dc:creator>
      <dc:date>2022-07-14T06:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: HTL Syntax Error</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/htl-syntax-error/m-p/460892#M34906</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you try doing same using Sling Model?&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/arunpatidar02/aem63app-repo/blob/master/java/ParamModel.java" target="_blank"&gt;https://github.com/arunpatidar02/aem63app-repo/blob/master/java/ParamModel.java&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 07:02:14 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/htl-syntax-error/m-p/460892#M34906</guid>
      <dc:creator>arunpatidar</dc:creator>
      <dc:date>2022-07-14T07:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: HTL Syntax Error</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/htl-syntax-error/m-p/460903#M34907</link>
      <description>&lt;P&gt;Okay&amp;nbsp;&lt;LI-USER uid="6786635"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me try but can you please explain to me what's the js code issue.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 09:03:44 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/htl-syntax-error/m-p/460903#M34907</guid>
      <dc:creator>Ameen_Dev</dc:creator>
      <dc:date>2022-07-14T09:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: HTL Syntax Error</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/htl-syntax-error/m-p/460968#M34908</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17458627"&gt;&lt;/LI-USER&gt;&amp;nbsp;Check the error logs you can find out the exact issue. Might be the issue while resolving the tagid/tagpath "&lt;SPAN&gt;item.productFilterTag"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 14:24:05 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/htl-syntax-error/m-p/460968#M34908</guid>
      <dc:creator>AshwiniSathe1</dc:creator>
      <dc:date>2022-07-14T14:24:05Z</dc:date>
    </item>
  </channel>
</rss>

