<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Restricting Graphics based on state</title><link>https://www.aras.com/community/f/development/36039/restricting-graphics-based-on-state</link><description>Hi Team, 
 Need a quick help in ARAS Technical documentation module. I have a scenario where I have developed my Document Type (XML Schema) and added required root and node elements which includes Graphics. 
 Now I will be able to add root, node elements</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Restricting Graphics based on state</title><link>https://www.aras.com/community/thread/5826?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2020 15:31:40 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3152da6c-b2c0-42e7-be13-cd0dd2180421</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;that&amp;acute;s a very nice idea. I see it benefits. There may be a couple of ways to solve this one.&lt;/p&gt;
&lt;p&gt;I am not sure if this one is easier to achieve by codetree modification or by a custom renderer/content generator for the Graphic element.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you just want to do this check when &amp;quot;adding&amp;quot; and Graphic, this codetree file could be of interest:&lt;br /&gt;..\Innovator\Client\Modules\aras.innovator.TDF\Scripts\Aras\Client\Controls\TechDoc\Action\AddElementAction.js&lt;/p&gt;
&lt;p&gt;The Method contains the call for the image picker around line 343. Maybe you can add a filter argument to the image picker or add some kind of restrictions to the image handling done around line 90.&lt;/p&gt;
&lt;p&gt;Or the most easy approach:&amp;nbsp;Make lifecycle based permissions for your tp_graphics. As soon as an image is obsolete, the images will not be available for endusers. But I am not sure how this will affect existing docs.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>