<?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>Update ItemType programmatically</title><link>https://www.aras.com/community/f/development/3248/update-itemtype-programmatically</link><description>hi

i want to update item type&amp;#160; which is iterated in for loop

i write below code for that
 for(int k=0;k&amp;lt;ir;k++)
{
 string itid= itarray[k].ToString();
 Item balItem1 = inn.newItem(&amp;quot;bal_item&amp;quot;,&amp;quot;get&amp;quot;);
 balItem1.setAttribute(&amp;quot;id&amp;quot;,itid);
 Item resbalItem1</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Update ItemType programmatically</title><link>https://www.aras.com/community/thread/443?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 05:34:34 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f45c7f27-4587-4dc5-822b-686918dd2f7d</guid><dc:creator>Yoann Maingon</dc:creator><description>you know that if your itemtype is versionable, using config_id will potentially update every revision. Config_id is the common id to all the revisions of an item.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update ItemType programmatically</title><link>https://www.aras.com/community/thread/431?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 00:57:09 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3d25b62b-a8ac-40cf-9078-d64a2ececafe</guid><dc:creator>R</dc:creator><description>i solve this problem by using config_is instead of id in setAtttribute() method&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update ItemType programmatically</title><link>https://www.aras.com/community/thread/422?ContentTypeID=1</link><pubDate>Mon, 08 May 2017 09:32:46 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:eb58ee46-66fe-4b92-b090-f8d3790090ec</guid><dc:creator>Yoann Maingon</dc:creator><description>Hi,

hummm... not sure yet why it may fail. Can you a step by step debug and tell us where it exactly fails? on which line?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>