<?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: String Format Syntax Error in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/string-format-syntax-error/m-p/462927#M133640</link>
    <description>&lt;P&gt;&lt;LI-USER uid="11813833"&gt;&lt;/LI-USER&gt;&amp;nbsp;My Apology. I forgot to add the exact code. I have modified the code above. Please have a look. And by the way, there is no specific error in the error log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just getting this - "org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.api.resource.ResourceNotFoundException: Resource at '/content/dam/en/error/404' not found: No resource found"&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jul 2022 13:58:55 GMT</pubDate>
    <dc:creator>Ameen_Dev</dc:creator>
    <dc:date>2022-07-27T13:58:55Z</dc:date>
    <item>
      <title>String Format Syntax Error</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/string-format-syntax-error/m-p/462917#M133636</link>
      <description>&lt;P&gt;Actually, I am trying to format the string inside the div and when I implement the string format, I am getting a syntax error.&lt;/P&gt;
&lt;P&gt;Error, I am getting.&lt;/P&gt;
&lt;P&gt;"org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: Identifier card.html cannot be correctly instantiated by the Use API"&lt;/P&gt;
&lt;P&gt;And the code is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;title="${item.includeIcon =='true' ? '&amp;lt;div class=\'sec-secondary-headings\'&amp;gt;&amp;lt;h3&amp;gt;{0}&amp;lt;/h3&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div  class=\'sec-paragraph\'&amp;gt;&amp;lt;div class=\'p3\'&amp;gt;{1}&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; @ format=[item.toolTitle, item.toolDescription]' : ''}"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know what I am doing wrong. Could someone help me, please?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 13:59:58 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/string-format-syntax-error/m-p/462917#M133636</guid>
      <dc:creator>Ameen_Dev</dc:creator>
      <dc:date>2022-07-27T13:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: String Format Syntax Error</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/string-format-syntax-error/m-p/462925#M133639</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17458627"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Can you please check error.log? Is there any exception? That helps to tackle issue.&lt;/P&gt;
&lt;P&gt;Below is one of the example.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;format:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Concatenates strings.&lt;BR /&gt;Example:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;${'Page {0} of {1}' @ format = [1, 10]}&lt;/CODE&gt;&lt;BR /&gt;Displays:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;Page 1 of 10&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Santosh&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 13:50:40 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/string-format-syntax-error/m-p/462925#M133639</guid>
      <dc:creator>SantoshSai</dc:creator>
      <dc:date>2022-07-27T13:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: String Format Syntax Error</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/string-format-syntax-error/m-p/462927#M133640</link>
      <description>&lt;P&gt;&lt;LI-USER uid="11813833"&gt;&lt;/LI-USER&gt;&amp;nbsp;My Apology. I forgot to add the exact code. I have modified the code above. Please have a look. And by the way, there is no specific error in the error log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just getting this - "org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.api.resource.ResourceNotFoundException: Resource at '/content/dam/en/error/404' not found: No resource found"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 13:58:55 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/string-format-syntax-error/m-p/462927#M133640</guid>
      <dc:creator>Ameen_Dev</dc:creator>
      <dc:date>2022-07-27T13:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: String Format Syntax Error</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/string-format-syntax-error/m-p/462931#M133641</link>
      <description>&lt;P&gt;&lt;LI-USER uid="11813833"&gt;&lt;/LI-USER&gt;&amp;nbsp;In the generic use case, it's working. In my case, it's not working.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 14:01:58 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/string-format-syntax-error/m-p/462931#M133641</guid>
      <dc:creator>Ameen_Dev</dc:creator>
      <dc:date>2022-07-27T14:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: String Format Syntax Error</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/string-format-syntax-error/m-p/462980#M133653</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You cannot assign the the html tags value in attribute.&lt;/P&gt;
&lt;P&gt;Please check similar thread here&amp;nbsp;&lt;A href="https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/tooltip-syntax-error/m-p/462566#M133514" target="_blank"&gt;https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/tooltip-syntax-error/m-p/462566#M133514&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 16:55:50 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/string-format-syntax-error/m-p/462980#M133653</guid>
      <dc:creator>arunpatidar</dc:creator>
      <dc:date>2022-07-27T16:55:50Z</dc:date>
    </item>
  </channel>
</rss>

