<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: CMS Other type of resources</title><link>https://answers.axonivy.com/questions/1966/cms-other-type-of-resources</link><description>&lt;p&gt;Hello All,&lt;/p&gt;
&lt;p&gt;Is there a reason why I can store on the CMS so few file formats ?&lt;/p&gt;
&lt;p&gt;For example: 
I can store .css files, but not .js files
I can store .png and .jpeg but not .svg&lt;/p&gt;
&lt;p&gt;I would also want to be able to store font files, audio and video files, etc..&lt;/p&gt;
&lt;p&gt;Does Ivy Team has a vision to extend the list in future releases ?&lt;/p&gt;
&lt;p&gt;Best Regards,
Yordan&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1966/cms-other-type-of-resources" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 17 Aug 2016 09:25:38 -0400</lastBuildDate><item><title>Comment by Reguel Wermelinger on Stelt0's question</title><link>https://answers.axonivy.com/questions/1966/cms-other-type-of-resources#1970</link><description>&lt;p&gt;oops, yes I misunderstood the question in first place :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Wed, 17 Aug 2016 09:25:38 -0400</pubDate><guid>https://answers.axonivy.com/questions/1966/cms-other-type-of-resources#1970</guid></item><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/1966/cms-other-type-of-resources/1969</link><description>&lt;p&gt;You can store any file in the Html Dialog resources directory. Just use create a subdirectory called 'resources' in the package of your HtmlDialog. The files within will be accessible for JSF resources.
And of course you can also use the webContent folder for global resources.&lt;/p&gt;
&lt;p&gt;The only drawback of this solutions is, that the contents do not support multiple languages by API.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Wed, 17 Aug 2016 09:09:06 -0400</pubDate><guid>https://answers.axonivy.com/questions/1966/cms-other-type-of-resources/1969</guid></item><item><title>Comment by Stelt0 on Stelt0's question</title><link>https://answers.axonivy.com/questions/1966/cms-other-type-of-resources#1968</link><description>&lt;p&gt;Maybe I used the wrong words. I was talking about static content as well. 
"Store in CMS" = adding content during the development via Axon Ivy Designer GUI&lt;/p&gt;
&lt;p&gt;The problem is that the supported file types are very small number.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stelt0</dc:creator><pubDate>Wed, 17 Aug 2016 09:03:59 -0400</pubDate><guid>https://answers.axonivy.com/questions/1966/cms-other-type-of-resources#1968</guid></item><item><title>Comment by Reguel Wermelinger on Stelt0's question</title><link>https://answers.axonivy.com/questions/1966/cms-other-type-of-resources#1967</link><description>&lt;p&gt;In my personal view it is bad design that the CMS allows modification and creation of contents at runtime. The CMS should only contain static content.&lt;/p&gt;
&lt;p&gt;There are a few other good storages for files which have no type limitations: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;latest API for file handling: ivy.documents&lt;/li&gt;
&lt;li&gt;application wide files: IApplication.getFileArea()&lt;/li&gt;
&lt;li&gt;or session specific files: IApplication.getSessionFileArea()&lt;/li&gt;
&lt;/ul&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Wed, 17 Aug 2016 08:58:38 -0400</pubDate><guid>https://answers.axonivy.com/questions/1966/cms-other-type-of-resources#1967</guid></item></channel></rss>