<?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>Get properties of an item number</title><link>https://www.aras.com/community/f/development/3255/get-properties-of-an-item-number</link><description>Hello,
I am in the process of creating an application (c#) that will display all / specific properties of a part number in the system.
I have done a lot of searching but nothing seems to work. I&amp;#39;m a noobie to c# so might be doing it completely wrong.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Get properties of an item number</title><link>https://www.aras.com/community/thread/415?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2017 11:18:08 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f74fc946-59d4-4a31-b837-4a363d8945f2</guid><dc:creator>Yoann Maingon</dc:creator><description>the apply needs to be done before you actually read the returned property

have you tried step by step debug to see what&amp;#39;s happening?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get properties of an item number</title><link>https://www.aras.com/community/thread/412?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2017 11:14:42 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:0a685525-6159-4be9-8888-81c1347da075</guid><dc:creator>James Marriner</dc:creator><description>Hello Yoann,

Thanks for the speedy reply. I have updated the code which now looks like this, but only returns the part number. I feel there should be a getattributes() somewhere after string pro...

Innovator inn = IomFactory.CreateInnovator(conn);

string partnum = &amp;quot;1000-00-0001&amp;quot;;

Item item = inn.newItem(&amp;quot;Part&amp;quot;, &amp;quot;get&amp;quot;);

string pro = item.getProperty(&amp;quot;major_rev&amp;quot;, partnum);

item.apply();

MessageBox.Show(pro);

&amp;nbsp;

Thanks

James&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get properties of an item number</title><link>https://www.aras.com/community/thread/410?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2017 10:39:44 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:a377dabb-dff3-4c12-ba32-a506933d22a9</guid><dc:creator>Yoann Maingon</dc:creator><description>Hi Jamar,

the following line just creates the query, it doesn&amp;#39;t execute it
&lt;pre&gt;Item item = inn.newItem(“Part”, “get”);&lt;/pre&gt;
you need to do item.apply(); before you read the property.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>