<?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[Report template metadata]]></title><description><![CDATA[<p>Hi!<br />
I need to store some additional info (Map&lt;String, String&gt; or dictionary) with each template and be able to query this info with along with the list of templates. Is it possible?</p>
]]></description><link>https://forum.jsreport.net/topic/780/report-template-metadata</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 07:17:42 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/780.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Oct 2018 16:40:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Report template metadata on Invalid Date]]></title><description><![CDATA[<p>Hi!<br />
I need to store some additional info (Map&lt;String, String&gt; or dictionary) with each template and be able to query this info with along with the list of templates. Is it possible?</p>
]]></description><link>https://forum.jsreport.net/post/3817</link><guid isPermaLink="true">https://forum.jsreport.net/post/3817</guid><dc:creator><![CDATA[Alex Tyutchev]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Report template metadata on Invalid Date]]></title><description><![CDATA[<p>Hi,</p>
<p>you can extend template type with custom string property inside a custom extension.<br />
Here are the docs for writing custom extension<br />
<a href="https://jsreport.net/learn/custom-extension" rel="nofollow">https://jsreport.net/learn/custom-extension</a></p>
<p>or simply add just this to your <code>server.js</code>.</p>
<pre><code class="language-js">const jsreport = require('jsreport')
jsreport.use((reporter) =&gt; {
  reporter.documentStore.model.entityTypes['TemplateType'].foo = { type: 'Edm.String' }
})
jsreport.init()...
</code></pre>
]]></description><link>https://forum.jsreport.net/post/3838</link><guid isPermaLink="true">https://forum.jsreport.net/post/3838</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Report template metadata on Invalid Date]]></title><description><![CDATA[<p>I want actually to have something like template.metadata = {<br />
customerId: &quot;&quot;,<br />
label: &quot;&quot;<br />
};<br />
I need this to solve following usecase - We have set of default reports and many customers, some of them want reports to look differently. Having metadata, I will be able to store for example customerId, base report type it corresponds to, etc...</p>
]]></description><link>https://forum.jsreport.net/post/3846</link><guid isPermaLink="true">https://forum.jsreport.net/post/3846</guid><dc:creator><![CDATA[Alex Tyutchev]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Report template metadata on Invalid Date]]></title><description><![CDATA[<p>Yes, so why don't you add two, three... new props to the template?</p>
<p>Or you can have one extra prop that serializes what ever you want. Like a map.</p>
]]></description><link>https://forum.jsreport.net/post/3847</link><guid isPermaLink="true">https://forum.jsreport.net/post/3847</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Report template metadata on Invalid Date]]></title><description><![CDATA[<p>Sure, I can... I just thought that it can be a good base functionality :)</p>
]]></description><link>https://forum.jsreport.net/post/3850</link><guid isPermaLink="true">https://forum.jsreport.net/post/3850</guid><dc:creator><![CDATA[Alex Tyutchev]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Report template metadata on Invalid Date]]></title><description><![CDATA[<p>Yes perhaps. Thanks. Lets see if it gets requested more often.</p>
]]></description><link>https://forum.jsreport.net/post/3853</link><guid isPermaLink="true">https://forum.jsreport.net/post/3853</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Report template metadata on Invalid Date]]></title><description><![CDATA[<p>I can relate to this, seems to be the exact same thing i need to do as well. I have to deploy the enterprise edition at each of my plethora of customers and this as base functionality would be greatly beneficial. Also I created an issue on Github before finding this post.<br />
<a href="https://github.com/jsreport/jsreport/issues/620" rel="nofollow">https://github.com/jsreport/jsreport/issues/620</a></p>
]]></description><link>https://forum.jsreport.net/post/5742</link><guid isPermaLink="true">https://forum.jsreport.net/post/5742</guid><dc:creator><![CDATA[Css-IanM]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Report template metadata on Invalid Date]]></title><description><![CDATA[<p>Can this actually just be done via the API and resources now?</p>
]]></description><link>https://forum.jsreport.net/post/5743</link><guid isPermaLink="true">https://forum.jsreport.net/post/5743</guid><dc:creator><![CDATA[Css-IanM]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Report template metadata on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/1145">@Css-IanM</a> thanks for creating an issue for this, let's move the conversation to the github issue, we will reply to the issue when we have analyzed the use case a bit more with the team</p>
]]></description><link>https://forum.jsreport.net/post/5747</link><guid isPermaLink="true">https://forum.jsreport.net/post/5747</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>