<?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>Access to ARAS&amp;#039;s source Code</title><link>https://www.aras.com/community/f/development/3333/access-to-aras-s-source-code</link><description>Hello,

I’am sorry for my bad english. I’am new developer in ARAS and i can’t find the ARAS’s source Code to access to different Classes mention on Aras Innovator 11.0 – Programmers Guide.

Thank you.

cordially.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/668?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 10:43:02 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:eb5db8bc-1dfa-4a15-8ddb-a43631acec5b</guid><dc:creator>Former Member</dc:creator><description>the variable &amp;quot;fcount&amp;quot;  returns 0 despite of i am sure that i have two files(.doc and .pdf)  in the DB who are in relationship with the document.

for the search with  &amp;quot;Item docItemm = inn.applyAML&amp;quot; i have done: Console.WriteLine(docItem); to see the result of search and i noticed that there is a mistake in the XML returned by the &amp;quot;docItemm &amp;quot;.
So in the result i see:

&amp;lt;thumbnail&amp;gt;vault:///?fileId=9429CCD4280644C0966893B14F45A671&amp;lt;/thumbnail&amp;gt; But the

vault:///?fileId=9429CCD4280644C0966893B14F45A671 should be between the symbole &amp;quot;&amp;quot; .

What should i do?

And thanks a lot!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/665?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 08:53:11 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:bf1796de-985a-4216-a85a-77d5aa1ac1e7</guid><dc:creator>Former Member</dc:creator><description>Hello,

I have  executed the code writen by you:

&lt;span&gt;Item docItem = inn.applyAML(“&amp;lt;AML&amp;gt;&lt;/span&gt;
&lt;span&gt;&amp;lt;Item action=’get’ type=’Document’&amp;gt;&lt;/span&gt;
&lt;span&gt;&amp;lt;item_number&amp;gt;{DOCUMENT_NUMBER}&amp;lt;/item_number&amp;gt;&lt;/span&gt;
&lt;span&gt;&amp;lt;Relationships&amp;gt;&lt;/span&gt;
&lt;span&gt;&amp;lt;Item action=’get’ type=’Document File’ /&amp;gt;&lt;/span&gt;
&lt;span&gt;&amp;lt;/Relationships&amp;gt;&lt;/span&gt;
&lt;span&gt;&amp;lt;/Item&amp;gt;&lt;/span&gt;
&lt;span&gt;&amp;lt;/AML&amp;gt;”);&lt;/span&gt;

&lt;span&gt;Item files = docItem.getItemsByXPath( “/Item[@type=’File’]” );&lt;/span&gt;
&lt;span&gt;int fcount = files.getItemCount();&lt;/span&gt;
&lt;span&gt;for( int i = 0; i &amp;lt; fcount; i++ )&lt;/span&gt;
&lt;span&gt;{&lt;/span&gt;
&lt;span&gt;Item file = files.getItemByIndex( i );&lt;/span&gt;
&lt;span&gt;Item result = file.checkout( “c:\\temp” );&lt;/span&gt;
&lt;span&gt;if( result.isError() )&lt;/span&gt;
&lt;span&gt;{&lt;/span&gt;
&lt;span&gt;Console.WriteLine( string.Format( “Failed to checkout file ‘{0}&amp;#39;”, file.getProperty( “filename” ) ) );&lt;/span&gt;
&lt;span&gt;}&lt;/span&gt;
&lt;span&gt;}&lt;/span&gt;

&amp;nbsp;

with a real document name exists in my database. But i don&amp;#39;t have any results ( no  Failed to checkout  file And no files downloaded in the temp folder)

Should I create the folder &amp;quot;temp&amp;quot; or he will be created automatically?

&amp;nbsp;

thank you very much&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/663?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 15:12:30 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:2ed870df-18c9-4ff4-a8a7-09137a4e4e10</guid><dc:creator>Zahar Chernov</dc:creator><description>I think  your questions are implementation questions - and not related to Aras.

You need to create an interface to allow users to input they search criteria. After that you need to query the db based on user input (my previous answer)and then checkout the file. Then you need to save the data from Aras to document properties, so you will be able to upload the file back to the server.

Creating integration between PLM (or other DB centric systems) with Office is not an easy task for beginner. You need to create interface and be able download and upload files. Check videos of this  &lt;a href="//www.aras.com/solutions/office-integration"&gt;Aras Office Integration &lt;/a&gt; or this  &lt;a href="https://www.youtube.com/watch?v=4OB46jGwby4"&gt;Office Integration by Aras partner XPLM  &lt;/a&gt;or this &lt;a href="http://www.minerva-plm.com/aras/minerva-solutions/office-connector"&gt;Office Integration by MinveraPLM&lt;/a&gt; (Aras partner)

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/662?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 12:45:12 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:76b2819f-7dce-4b44-8942-e4c8ec1dc638</guid><dc:creator>Former Member</dc:creator><description>Ok that is fine. But where can i store the result of the search? and if i&amp;#39;am searching for a real document that exists in the database, how can i display his number and properties?

Thank you.

cordially.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/659?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 07:31:15 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:694d9371-334c-47a0-ac9d-e704b3f01b8e</guid><dc:creator>Zahar Chernov</dc:creator><description>Please check Aras Online help for DOT.NET

&lt;a href="http://www.aras.com/support/documentation/11.0%20SP9/Other%20Documentation/APIReferenceDotNet/HTML/html/R_Project_Innovator-_NET-API-Reference.htm"&gt;www.aras.com/.../R_Project_Innovator-_NET-API-Reference.htm&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/657?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 07:29:40 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7f002ca2-f1c4-43ca-89d0-5dae72b6dcb1</guid><dc:creator>Zahar Chernov</dc:creator><description>To search document:
&lt;blockquote&gt;Item docItem = inn.applyAML(&amp;quot;&amp;lt;AML&amp;gt;
&amp;lt;Item action=&amp;#39;get&amp;#39; type=&amp;#39;Document&amp;#39;&amp;gt;
&amp;lt;item_number&amp;gt;{DOCUMENT_NUMBER}&amp;lt;/item_number&amp;gt;
&amp;lt;Relationships&amp;gt;
&amp;lt;Item action=&amp;#39;get&amp;#39; type=&amp;#39;Document File&amp;#39; /&amp;gt;
&amp;lt;/Relationships&amp;gt;
&amp;lt;/Item&amp;gt;
&amp;lt;/AML&amp;gt;&amp;quot;);&lt;/blockquote&gt;
to each document can be linked one or more files, so you need to loop the result and &amp;quot;checkout&amp;quot; the file
&lt;blockquote&gt;Item files = docItem.getItemsByXPath( &amp;quot;/Item[@type='File']&amp;quot; );
int fcount = files.getItemCount();
for( int i = 0; i &amp;lt; fcount; i++ )
{
Item file = files.getItemByIndex( i );
Item result = file.checkout( &amp;quot;c:\\temp&amp;quot; );
if( result.isError() )
{
Console.WriteLine( string.Format( &amp;quot;Failed to checkout file &amp;#39;{0}&amp;#39;&amp;quot;, file.getProperty( &amp;quot;filename&amp;quot; ) ) );
}
}&lt;/blockquote&gt;
&amp;nbsp;

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/656?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 06:18:54 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3ebc98b2-4ace-4967-b592-5e23e4fa4d84</guid><dc:creator>Former Member</dc:creator><description>thank you very much for your reactivity.

Now, how can I query Aras for the document. because i want to display document from the DB to OpenOffice&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/655?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 05:59:10 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:273b4d7a-0e27-473f-a1d0-3092eebd1bff</guid><dc:creator>Zahar Chernov</dc:creator><description>Aras &lt;em&gt;&lt;strong&gt;Innovator&lt;/strong&gt; &lt;strong&gt;Class&lt;/strong&gt; &lt;/em&gt;object.

You can read about Innovator object in &lt;a href="http://www.aras.com/support/documentation/DocumentView.aspx?file=./11.0%20SP9/Other%20Documentation/Aras%20Innovator%2011.0%20-%20Programmers%20Guide.pdf"&gt;Programmers Guide &lt;/a&gt;section 3.2&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/654?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 05:56:07 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:e334e075-a6f3-4581-9722-03b37694600d</guid><dc:creator>Former Member</dc:creator><description>what does mean by loginResult.getInnovator();

the getInnovator() will return wich informations?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/652?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 05:31:17 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d4243cb4-08dc-4778-9e2c-cb4c2e08c6ec</guid><dc:creator>Zahar Chernov</dc:creator><description>Following row give you connection status:
&lt;blockquote&gt;Item loginResult = innServConn.Login();&lt;/blockquote&gt;
So &lt;strong&gt;&lt;em&gt;loginResult&lt;/em&gt;&lt;/strong&gt; is Aras Item... that has a function &lt;strong&gt;&lt;em&gt;isError&lt;/em&gt;&lt;/strong&gt;()... if this function return &lt;strong&gt;false &lt;/strong&gt;- connection is not established. If you want to show user why it not established call function &lt;em&gt;&lt;strong&gt;getErrorString&lt;/strong&gt;&lt;/em&gt;() (of the object &lt;em&gt;&lt;strong&gt;loginResult&lt;/strong&gt; &lt;/em&gt;) and show the result to user.

&amp;nbsp;

About:
&lt;blockquote&gt;this.Innovator = loginResult.getInnovator();&lt;/blockquote&gt;
Yes - my mistake, it was supposed to be:
&lt;blockquote&gt;inn = loginResult.getInnovator();&lt;/blockquote&gt;
But probably you will do the same... the inn will be class property and not inside your connection function, cause you will need this object in the second function - where you query Aras for the document.

&amp;nbsp;

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/651?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 05:21:21 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:e5ecc244-ed8c-4472-92a7-69c1651b8f7b</guid><dc:creator>Former Member</dc:creator><description>in&amp;quot; this.Innovator = loginResult.getInnovator(); &amp;quot;  this references to inn ??

When running the program, how can i test if connection is successfully completed?

thank you.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/650?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 14:24:57 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:4f2849df-ed8b-4779-9565-d79c743cc5ad</guid><dc:creator>Zahar Chernov</dc:creator><description>OK,

To be able to connect to Aras you need to (my assumption that you using C# and Visual Studio):
&lt;ol&gt;
 	&lt;li&gt;add to your project reference to IOM.dll (you can find it in server\bin folder of your Innovator installation)&lt;/li&gt;
 	&lt;li&gt;Then use following code
&lt;blockquote&gt;Innovator inn = null;
HttpServerConnection innServConn = IomFactory.CreateHttpServerConnection({INNOVATOR URL}, {DB NAME}, {username}, {password});
Item loginResult = innServConn.Login();
if (loginResult.isError())
throw new Exception(loginResult.getErrorString());
else
this.Innovator = loginResult.getInnovator();&lt;/blockquote&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/649?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 12:21:15 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:33a61296-1fe4-42e1-b755-a598f4ae0ebf</guid><dc:creator>Former Member</dc:creator><description>I am learning Aras development and i am devoloping a connector for OpenOffice.

I create a plugin that allows the display of a toolbar in LibreOffice wish have two commands that allow users to connect to aras Database and to search for document objects.

So i should implement a command allowing users to  connect to ARAS database and another allowing the search of objects of documents type.

&amp;nbsp;

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/644?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 12:11:17 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7fa14d7f-5d96-460c-852f-82db3ac99a57</guid><dc:creator>Zahar Chernov</dc:creator><description>Server side code is not open.

Just to understand your needs, you wrote that you are new to Aras. So I&amp;#39;m wondering, are you learning Aras development (and just want to view the code to understand something) or you already trying to solved some development task? Maybe if you will ask specific question it will be much easier to help you.

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/645?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 11:47:18 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ed802f4e-227c-4927-9ad6-6567e5ffcfdc</guid><dc:creator>Former Member</dc:creator><description>First of all, thank your for your response.

I want to access to IOMCredentials Class for example to know how ARAS ensure connexion to server and database and how can i extract data from database?

Is the a way to access to soure code? what should i do or download?

cordially.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to ARAS's source Code</title><link>https://www.aras.com/community/thread/643?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 10:59:36 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3056e04e-5aaf-43de-9af6-f206be1709a3</guid><dc:creator>Zahar Chernov</dc:creator><description>cordially,

What source code you want to access? Do you have specific needs that are not covered by Aras core code?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>