<?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>Disabling &amp;quot;Create New Item&amp;quot; Button.</title><link>https://www.aras.com/community/f/development/36117/disabling-create-new-item-button</link><description>Hello All, 
 Is there any way to remove or disable the create new item button from UI. My use case is, I am creating items from the backend code using IOM api and want to restrict Item creation from UI. For disabling button I can remove can add from item</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Disabling "Create New Item" Button.</title><link>https://www.aras.com/community/thread/6259?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 13:03:30 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:4a583529-f214-4a74-a6af-a805f7663a9f</guid><dc:creator>Suhas</dc:creator><description>&lt;p&gt;Hello Nilesh,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can write &amp;quot;OnBeforeNew &amp;quot;client side method to restrict user to create Item from UI.&lt;/p&gt;
&lt;p&gt;Please find the below code to restrict user to create Item from&lt;span&gt;&amp;nbsp;&lt;/span&gt;UI.&lt;/p&gt;
&lt;p&gt;var inn = top.aras;&lt;br /&gt;if (window.itemID === undefined){&lt;br /&gt;aras.AlertError(&amp;quot;You cannot create Epac Item from the main grid!&amp;quot;);&lt;br /&gt;return false;&lt;br /&gt;}else{&lt;br /&gt;return this;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Suhas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disabling "Create New Item" Button.</title><link>https://www.aras.com/community/thread/6187?ContentTypeID=1</link><pubDate>Sat, 02 Jan 2021 09:09:11 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:99db8ebe-ed0a-48fe-bb2b-525a458e8dff</guid><dc:creator>Valleydrive</dc:creator><description>&lt;p&gt;Instead of&amp;nbsp;removing&amp;nbsp;the&amp;nbsp;button&amp;nbsp;you can restrict it through permissions.&amp;nbsp; In&amp;nbsp;IOM&amp;nbsp;api I am using admin user and want to&amp;nbsp;disable&amp;nbsp;create&amp;nbsp;button&amp;nbsp;for the same user&amp;nbsp; Hello All, Is there any way to remove or&amp;nbsp;disable&amp;nbsp;the&amp;nbsp;create new item button&amp;nbsp;from UI.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a class="in-cell-link" href="https://www.tellpopeyes.biz/"&gt;www.tellpopeyes.com&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disabling "Create New Item" Button.</title><link>https://www.aras.com/community/thread/5993?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 13:37:39 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:522faa32-e1e3-411c-bac3-b05be1bbcedc</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;I assume this one is no CUI element, so your only chance might be a codetree modification.&amp;nbsp;The secondaryMenu.js builds the NavPanel. You can find the file in ../Innovator/Client/Modules .&lt;/p&gt;
&lt;p&gt;In general, I would more recommend to use a separate user accounts for all external connections. This way you can assign &amp;quot;can_add&amp;quot; just to the IOM api users, while Innovator client users don&amp;acute;t have the right to add something.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>