<div>Hello Everybody, </div><div><br></div><div>I&#39;m trying to set a dataset url dynamically. The thing is that the dataset actually connects to the default data_url specified by default (&quot;/xml/request_key&quot;) and not the dynamic one (&quot;/xml/request_key/&quot; + canvas.profile).</div>
<div><br></div><div>When I check the value in the debug console, the value is set to the second, but actually connects to the first one. </div><div><br></div><div>When the oninit method is executed? after processing all ${} values? </div>
<div><br></div><div>Thanks in advance!</div><div><br></div><div>code:</div><div><br></div><div>&lt;canvas proxied=&quot;false&quot; oninit=&quot;canvas.sprite.setBGColor(null);&quot; debug=&quot;true&quot;&gt;</div><div><br>
</div><div>    &lt;attribute name=&quot;profile&quot; type=&quot;string&quot; value=&quot;&quot;/&gt;</div><div>    &lt;attribute name=&quot;data_url&quot; type=&quot;string&quot; value=&quot;/xml/request_key/&quot;/&gt;</div>
<div><br></div><div>    &lt;handler name=&quot;oninit&quot;&gt;</div><div>        canvas.profile = lz.Browser.getInitArg(&#39;profile&#39;);</div><div>        if(canvas.profile) {</div><div>            canvas.setAttribute(&#39;data_url&#39;,&#39;/xml/request_key/&#39; + canvas.profile);</div>
<div>        }</div><div>    &lt;/handler&gt; </div><div><br></div><div><div>    &lt;dataset id=&quot;perms&quot;</div><div>             name=&quot;perms&quot;</div><div>             type=&quot;http&quot;</div><div>             src=&quot;${canvas.data_url}&quot;</div>
<div>             /&gt;</div><div><br></div><div>...</div></div><br>-- <br>Lucas<br>