Questions Tagged With cmshttps://answers.axonivy.com/tags/cms/?type=rss&user=Adrian%20Imfeldquestions tagged <span class="tag">cms</span>enTue, 28 Jul 2015 11:36:32 -0400How to use content with contents in ScriptSteps?https://answers.axonivy.com/questions/1415/how-to-use-content-with-contents-in-scriptsteps<p>I have a Label (cms content) which holds other labels. The content of my label looks like that:</p> <pre><code>&lt;%=ivy.cms.co("/Labels/Labels/username")%&gt; or &lt;%=ivy.cms.co("/Labels/Labels/password")%&gt; is incorrect. </code></pre> <p>It works fine in JSF UI's with this code:</p> <pre><code>"#{ivy.cms.co('/Labels/Messages/loginFailedMsg')}" </code></pre> <p>But if I fill a process variable over a ScriptStep like this...</p> <pre><code>out.message = ivy.cms.co("/Labels/Messages/loginFailedMsg"); </code></pre> <p>... the integrated contents are not rendered.</p> <p>Is there a way to get the fully rendered label in a ScriptStep?</p>Adrian ImfeldTue, 28 Jul 2015 11:36:32 -0400https://answers.axonivy.com/questions/1415/how-to-use-content-with-contents-in-scriptstepsivyscriptcms