<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Accessing data from email template]]></title><description><![CDATA[<p dir="auto">Hello everyone!</p>
<p dir="auto">I have a problem with sending node data using an email template. When I manually run the template with the linked script, I see a nice HTML table of data (it is the node data table example in the documentation).</p>
<p dir="auto">But when I use the send email trigger  rule to start the operation, I cant specify my script and thus the template of course does not access the data provided from the script:</p>
<p dir="auto">var nodes = mcApi.node().getAll(options);</p>
<p dir="auto">and in the mail template the connection is provided thru</p>
<p dir="auto">&lt;#list nodes.data as item&gt;</p>
<p dir="auto">So the question is probably how can I access the nodes data from within the mail template without using a script <img src="http://forum.mycontroller.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2ce0f5c73bf" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>http://forum.mycontroller.org/topic/113/accessing-data-from-email-template</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 02:55:01 GMT</lastBuildDate><atom:link href="http://forum.mycontroller.org/topic/113.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Jan 2017 17:00:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Accessing data from email template on Wed, 25 Jan 2017 08:59:47 GMT]]></title><description><![CDATA[<p dir="auto">Ticket for this request: <a href="https://github.com/mycontroller-org/mycontroller/issues/350" rel="nofollow ugc">https://github.com/mycontroller-org/mycontroller/issues/350</a></p>
]]></description><link>http://forum.mycontroller.org/post/596</link><guid isPermaLink="true">http://forum.mycontroller.org/post/596</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Wed, 25 Jan 2017 08:59:47 GMT</pubDate></item><item><title><![CDATA[Reply to Accessing data from email template on Wed, 25 Jan 2017 08:53:32 GMT]]></title><description><![CDATA[<p dir="auto">okay, i added a ticket. Good to know that I dont need to search further <img src="http://forum.mycontroller.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2ce0f5c73bf" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>http://forum.mycontroller.org/post/595</link><guid isPermaLink="true">http://forum.mycontroller.org/post/595</guid><dc:creator><![CDATA[Velo17]]></dc:creator><pubDate>Wed, 25 Jan 2017 08:53:32 GMT</pubDate></item><item><title><![CDATA[Reply to Accessing data from email template on Wed, 25 Jan 2017 02:11:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/velo17" aria-label="Profile: Velo17">@<bdi>Velo17</bdi></a> we cannot access node data. Kindly create a <a href="https://github.com/mycontroller-org/mycontroller/issues" rel="nofollow ugc">ticket</a> to pass resource(node, gateway, sensors, whatever used on condition)</p>
]]></description><link>http://forum.mycontroller.org/post/591</link><guid isPermaLink="true">http://forum.mycontroller.org/post/591</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Wed, 25 Jan 2017 02:11:07 GMT</pubDate></item></channel></rss>