<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How to use content with contents in ScriptSteps?</title><link>https://answers.axonivy.com/questions/1415/how-to-use-content-with-contents-in-scriptsteps</link><description>&lt;p&gt;I have a Label (cms content) which holds other labels. The content of my label looks like that:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;%=ivy.cms.co("/Labels/Labels/username")%&amp;gt; or &amp;lt;%=ivy.cms.co("/Labels/Labels/password")%&amp;gt; is incorrect.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It works fine in JSF UI's with this code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;"#{ivy.cms.co('/Labels/Messages/loginFailedMsg')}"
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;But if I fill a process variable over a ScriptStep like this...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;out.message = ivy.cms.co("/Labels/Messages/loginFailedMsg");
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;... the integrated contents are not rendered.&lt;/p&gt;
&lt;p&gt;Is there a way to get the fully rendered label in a ScriptStep?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1415/how-to-use-content-with-contents-in-scriptsteps" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 30 Jul 2024 07:05:28 -0000</lastBuildDate></channel></rss>