<?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>I want to edit a CAD document with IOM.dll in C# and put a thumbdail using a .jpg file but it is not putting the picture. How can I do it?</title><link>https://www.aras.com/community/f/development/8961/i-want-to-edit-a-cad-document-with-iom-dll-in-c-and-put-a-thumbdail-using-a-jpg-file-but-it-is-not-putting-the-picture-how-can-i-do-it</link><description>I have searched the forum before and people talk about Rons document. However I can&amp;#39;t find it. My actual code goes below, it is working for all other properties, except for the thumbdail: itemX.setAction(&amp;quot;edit&amp;quot;); string DateAndTime = DateTime.UtcNow.ToString</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: I want to edit a CAD document with IOM.dll in C# and put a thumbdail using a .jpg file but it is not putting the picture. How can I do it?</title><link>https://www.aras.com/community/thread/4213?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 11:02:41 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:cbcbf93b-10c0-467f-92fb-04d9729690f2</guid><dc:creator>Agostinho</dc:creator><description>&lt;p&gt;Hi Angela&lt;br /&gt;&lt;br /&gt;I have added the image file like below and next I add the image as you said to the CAD item:&lt;br /&gt;&lt;br /&gt; var ItemVault = Innovator.newItem(&amp;quot;File&amp;quot;,&amp;quot;add&amp;quot;);&lt;br /&gt; ItemVault.setProperty(&amp;quot;filename&amp;quot;, PicName);&lt;br /&gt; ItemVault.attachPhysicalFile(@NewPicNameAndPath);&lt;br /&gt; var ItemResult = ItemVault.apply();&lt;/p&gt;
&lt;p&gt;However the picture doens&amp;#39;t appear. I have looked in the Files list in Aras and the picture file it isn&amp;#39;t there. I think I am adding the picture file wrongly to the Vault.&lt;/p&gt;
&lt;p&gt;Kind Regards&lt;/p&gt;
&lt;p&gt;Agostinho&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to edit a CAD document with IOM.dll in C# and put a thumbdail using a .jpg file but it is not putting the picture. How can I do it?</title><link>https://www.aras.com/community/thread/4199?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 15:06:03 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1e5d60d7-c01b-4685-b0ad-3872819d0cd1</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Who is Ron? :)&lt;/p&gt;
&lt;p&gt;itemX.setProperty(&amp;quot;thumbnail&amp;quot;,&amp;quot;vault:///?fileId=XXX&amp;quot;) - for thumbnails in the Vault&lt;/p&gt;
&lt;p&gt;itemX.setProperty(&amp;quot;thumbnail,&amp;quot;../customer/images/RonOnTheBeach.jpg&amp;quot;); - for thumbnails in codetree&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>