<?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>Related item property in the main search grid?</title><link>https://www.aras.com/community/f/getting-started/3959/related-item-property-in-the-main-search-grid</link><description>Hi,

maybe it is a silly question but I can&amp;#39;t manage it. I have a relationship item &amp;quot;Part Integration&amp;quot; and it has a customized&amp;#160;property &amp;quot;integration_number&amp;quot;. I want this to be visible in the main Part search grid. I tried to uncheck hidden1 and hidden2</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2128?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 04:01:26 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:0a3780c3-d8c4-4a74-9a85-61a2aff327f4</guid><dc:creator>oeakdemir</dc:creator><description>Nash is now working. It must have been blocked by the breakpoint in the debugging session.

I uploaded two files at the link :

&lt;a href="https://drive.google.com/drive/folders/11PONZ2gnJ-YSYM_-RjizMiUJkkWjpQiK?usp=sharing"&gt;drive.google.com/.../11PONZ2gnJ-YSYM_-RjizMiUJkkWjpQiK&lt;/a&gt;

First file is nash.png. Second file is the server debug log file.

nash result tells me an empty reply.

But I suspect that the id , as copied from the Visual Studio debugger, is no longer valid when used in Nash editor, am I right ?

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2127?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 10:11:05 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f6a65b7d-fc47-4617-8e77-412db13a8266</guid><dc:creator>krisgopi88</dc:creator><description>Hi

I was not sure why nash is not responding. Ensure that IIS is running and try clearing browser cache and give a try. I&amp;#39;m not able to replicate the issue. Can you help with 2 more screenshot
&lt;ol&gt;
 	&lt;li&gt;_uzay_rel_e_no : screen shot of this property line in the item type&lt;/li&gt;
 	&lt;li&gt;_uzay_part_e_no : screen shot of this property line in the item type&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2126?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 08:36:00 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:6da5aae3-59e2-4280-a042-13f1196d0cb7</guid><dc:creator>oeakdemir</dc:creator><description>By the way, nash link does not respond, it waits forever, do you have any idea ?

plmserver/.../Nash.aspx

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2125?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 08:26:52 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:970b6741-072b-4410-9b49-40e83ea37659</guid><dc:creator>oeakdemir</dc:creator><description>You can see the values in the screen3.png image at the same link:

&lt;a href="https://drive.google.com/drive/folders/11PONZ2gnJ-YSYM_-RjizMiUJkkWjpQiK?usp=sharing"&gt;drive.google.com/.../11PONZ2gnJ-YSYM_-RjizMiUJkkWjpQiK&lt;/a&gt;

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2124?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 07:46:49 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:0096e9ad-cda9-4fea-8e2c-b6a36e82755c</guid><dc:creator>krisgopi88</dc:creator><description>Try run the edit part AML generated in your method in Nash tool.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2123?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 07:45:15 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:18d5ff38-a097-460c-abf6-68269abfeaff</guid><dc:creator>krisgopi88</dc:creator><description>Hi

Can you check the values you are getting for &lt;strong&gt;uzay_rel_e_no&lt;/strong&gt; and &lt;strong&gt;AML&lt;/strong&gt; generated to edit the part (In your screenshot screen1, red coloured line.

&amp;nbsp;

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2122?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 09:21:44 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:de61187c-5012-413a-b7bf-42da04621dab</guid><dc:creator>oeakdemir</dc:creator><description>I produced two screenshots showing the status of the debugging before and after the apply() method.

Can you access the images at the link ?

&lt;a href="https://drive.google.com/drive/folders/11PONZ2gnJ-YSYM_-RjizMiUJkkWjpQiK?usp=sharing"&gt;drive.google.com/.../11PONZ2gnJ-YSYM_-RjizMiUJkkWjpQiK&lt;/a&gt;

What can I conclude from the data there to understand the reason behind the error message : &amp;quot;An item with the same key has already been added&amp;#39; ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2121?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 09:02:58 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7aaf415a-de97-41fc-bda1-3306224cf33f</guid><dc:creator>oeakdemir</dc:creator><description>Hi again,

&amp;nbsp;

I finally installed MS Visual Studio and started debugging. What kind of information shall I post here from debugging environment ?

&amp;nbsp;

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2120?ContentTypeID=1</link><pubDate>Sat, 17 Nov 2018 10:49:34 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:96c30f99-37ed-4361-9018-6e4719f955a5</guid><dc:creator>krisgopi88</dc:creator><description>Hi,

Yes, on every update operation new generation of the part will be created (ID will be different for each generation). If you don&amp;#39;t want to change the ID you need to keep version=&amp;#39;0&amp;#39; in AML query. Are you able to debug the issue in Visual Studio or please share the steps to repro this issue.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2119?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 08:42:14 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:05700f0e-1954-4d45-b58c-f733b3f54dc4</guid><dc:creator>oeakdemir</dc:creator><description>Hi,

When I run the code from Nash, the update is OK.

But when I run it for the second time, the update is not done, showing me a short

&amp;lt;SOAP-ENV: Envelope&amp;gt; ... &amp;lt;/SOAP-ENV: Envelope&amp;gt; message.

Is it normal for the part id to change for every operation ? When the second trial fails, I copied the new id from the part and inserted it into the AML code, it succeeds.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2118?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 08:32:05 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:9749a153-a41c-46f3-b530-7743dc808efc</guid><dc:creator>Former Member</dc:creator><description>To manage your all data like contact details important form filling information etc just &lt;a href="https://www.venconsolutions.com/customer-service-outsourcing/"&gt;visit here&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2117?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 07:38:00 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:87b4928a-e079-407e-9403-750c40e7d908</guid><dc:creator>krisgopi88</dc:creator><description>Hi,

Can you enable the debugger and try to check what is the AML you are getting from this method or can you provide me the steps to replicate this issue.

Alternatively, you can try updating the Part &amp;#39;_uzay_part_e_no&amp;#39; using NASH and check how it behaves in AML

&amp;lt;AML&amp;gt;
&amp;lt;Item action=&amp;quot;edit&amp;quot; type=&amp;quot;Part&amp;quot; id=&amp;quot;&lt;strong&gt;id of the part&lt;/strong&gt;&amp;quot;&amp;gt; //get the part id from file --&amp;gt; Properties in Part
&amp;lt;_uzay_part_e_no&amp;gt;2000&amp;lt;/_uzay_part_e_no&amp;gt;
&amp;lt;/Item&amp;gt;
&amp;lt;/AML&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2116?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 05:48:36 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1cce6987-76a8-42a5-9e96-701e942e7947</guid><dc:creator>oeakdemir</dc:creator><description>Thanks a lot for your quick reply.

Unfortunately I still get the same error : “An item with the same key has already been added”

The code is now as follows:

Innovator inn = this.getInnovator();
string my_type = this.getType();
string my_id = this.getID();

Item relation = inn.newItem(my_type,&amp;quot;get&amp;quot;);
relation.setAttribute(&amp;quot;id&amp;quot;, my_id);
relation = relation.apply();

string E_no = relation.getProperty(&amp;quot;_uzay_rel_e_no&amp;quot;);
string source_id = relation.getProperty(&amp;quot;source_id&amp;quot;);

Item sourcePart = inn.newItem(&amp;quot;Part&amp;quot;,&amp;quot;edit&amp;quot;);
sourcePart.setAttribute(&amp;quot;id&amp;quot;, source_id);
sourcePart.setProperty(&amp;quot;_uzay_part_e_no&amp;quot;,E_no); // _uzay_part_e_no is a string propery of the Part Item Type.
sourcePart = sourcePart.apply();

if (sourcePart.isError())
{
return inn.newError(&amp;quot;nb.of items found = &amp;quot; + sourcePart.getItemCount());
}
return this;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2115?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 05:13:48 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c074d8b5-20dc-426a-b37a-d5c6dbaceaf1</guid><dc:creator>krisgopi88</dc:creator><description>&lt;strong&gt;Hi OEAKDEMIR,&lt;/strong&gt;

This should work.

Innovator inn = this.getInnovator();
string my_type = this.getType();
string my_id = this.getID();
Item relation = inn.newItem(my_type,&amp;quot;get&amp;quot;);
relation.setAttribute(&amp;quot;id&amp;quot;, my_id);
relation = relation.apply();
string E_no = relation.getProperty(&amp;quot;_uzay_rel_e_no&amp;quot;);
string source_id = relation.getProperty(&amp;quot;source_id&amp;quot;);
Item sourcePart = inn.newItem(&amp;quot;Part&amp;quot;,&amp;quot;edit&amp;quot;);
&lt;strong&gt;sourcePart.setAttribute(&amp;quot;id&amp;quot;,source_id);&lt;/strong&gt;
sourcePart.setProperty(&amp;quot;reference_designator&amp;quot;,E_no);
sourcePart = sourcePart.apply();
&lt;strong&gt;if (sourcePart.isError())&lt;/strong&gt;
&lt;strong&gt;{&lt;/strong&gt;
&lt;strong&gt;return inn.newError(&amp;quot;no of items found = &amp;quot; + sourcePart.getItemCount()); &lt;/strong&gt;
&lt;strong&gt;}&lt;/strong&gt;
&lt;strong&gt;return this;&lt;/strong&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2114?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 03:09:53 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c637e3ef-26d3-4bc6-82da-3159a15d551e</guid><dc:creator>oeakdemir</dc:creator><description>Thanks a lot for the information.

I can now access the properties of the relationship denoted by the &amp;quot;this&amp;quot; context object.

But, now, I am blocked by another type of error : I can not set any property of the source part using the value of any property of the relationship.

I am getting an error saying : &amp;quot;An item with the same key has already been added&amp;quot;. How can I solve this error ?

The code now is as follows:

Innovator inn = this.getInnovator();
string my_type = this.getType();
string my_id = this.getID();

Item relation = inn.newItem(my_type,&amp;quot;get&amp;quot;);
relation.setAttribute(&amp;quot;id&amp;quot;, my_id);
relation = relation.apply();

string E_no = relation.getProperty(&amp;quot;_uzay_rel_e_no&amp;quot;);
string source_id = relation.getProperty(&amp;quot;source_id&amp;quot;);

Item sourcePart = inn.newItem(&amp;quot;Part&amp;quot;,&amp;quot;edit&amp;quot;);
sourcePart.setAttribute(&amp;quot;where&amp;quot;, &amp;quot;[Part].id = &amp;#39;&amp;quot; + source_id + &amp;quot;&amp;#39;&amp;quot;);
sourcePart.setProperty(&amp;quot;_uzay_part_e_no&amp;quot;,E_no);
sourcePart = sourcePart.apply();

return inn.newError(&amp;quot;nb.of items found = &amp;quot; + sourcePart.getItemCount());

&amp;nbsp;

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2113?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 01:40:17 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:da00821e-8202-45cb-868b-aa2a496d2b50</guid><dc:creator>Former Member</dc:creator><description>I&amp;#39;m trying to solve this error in the past 1 month and now I&amp;#39;m getting solve this error in my &lt;a href="http://gogiluthra.com/business-loan/"&gt;business loan website&lt;/a&gt; thanks for helping me stay connected&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2112?ContentTypeID=1</link><pubDate>Wed, 14 Nov 2018 07:15:09 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:08f6a528-022d-46b9-8800-3cf0209ff5c3</guid><dc:creator>krisgopi88</dc:creator><description>&lt;strong&gt;Hi OEAKDEMIR,&lt;/strong&gt;

Few changes in your code will work. string my_type = this.getType(); will give the Item type of the relationship.

Innovator inn = this.getInnovator();
string my_id = this.getID();
&lt;strong&gt;string my_type = this.getType();&lt;/strong&gt;
Item query = inn.newItem(&lt;strong&gt;my_type&lt;/strong&gt; , &amp;quot;get&amp;quot;);
&lt;strong&gt;query.&lt;/strong&gt;setAttribute(&amp;quot;id&amp;quot;, my_id);
&lt;strong&gt;var result =&lt;/strong&gt; query.apply();
string created_on = &lt;strong&gt;result.&lt;/strong&gt;getProperty(&amp;quot;created_on&amp;quot;);
string source_id = &lt;strong&gt;result.&lt;/strong&gt;getProperty(&amp;quot;source_id&amp;quot;);
return inn.newError(&amp;quot;created_on = &amp;quot; + created_on + &amp;quot; source_id = &amp;quot; + source_id + &amp;quot; my_type = &amp;quot; + my_type);

Result:

created_on = 2018-11-14T17:40:48 source_id = 5E99E424500947C9A844B6350A4D9138 my_type = Part Electronic_Config

&lt;strong&gt;However, you can use the below code to get the created_on, type and source_id of the relationship directly. &lt;/strong&gt;

Innovator inn = this.getInnovator();
string created_on =this.getProperty(&amp;quot;created_on&amp;quot;);
string source_id=this.getProperty(&amp;quot;source_id&amp;quot;);
string my_type = this.getType();
return inn.newError(&amp;quot;created_on = &amp;quot; + created_on + &amp;quot; source_id = &amp;quot; + source_id + &amp;quot; my_type&amp;quot; + my_type);

Result:

created_on = 2018-11-14T17:40:48 source_id = 5E99E424500947C9A844B6350A4D9138 my_type = Part Electronic_Config

Both query will return same result.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2111?ContentTypeID=1</link><pubDate>Wed, 14 Nov 2018 03:12:34 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:e5f19b5a-1300-44f6-8851-801334ab437d</guid><dc:creator>oeakdemir</dc:creator><description>Hi,

&amp;nbsp;

Related to this ongoing discussion, I am trying to make my code to work, but I have some difficulty.

Can you please tell me what it is that I am possibly doing wrong ?

I have a method triggered with onAfterAdd and onAfterUpdate server events of a relationship item type named Part Electronic_Config

Here is the content of the method ( a simplified version )

Innovator inn = this.getInnovator();
string my_id = this.getID();
Item query = inn.newItem(&amp;quot;Part Electronic_Config&amp;quot;, &amp;quot;get&amp;quot;);
qry.setAttribute(&amp;quot;id&amp;quot;, my_id);
qry.apply();
string created_on = qry.getProperty(&amp;quot;created_on&amp;quot;);
string source_id = qry.getProperty(&amp;quot;source_id);
return inn.newError(&amp;quot;created_on = &amp;quot; + created_on + &amp;quot; source_id = &amp;quot; + source_id);

Result is

created on =   source_id =

That is to say, variables are all empty. It is obvious that qry is empty.

One more question; how can I get the type of the context item ? Using the code lines of

string my_type = this.getType()
Item query = inn.newItem(my_type, &amp;quot;get&amp;quot;);

causes an error saying that  &amp;quot;Neither type nor typeId attribute is specified on tag&amp;quot;

Waiting for your valuable help.

Özgür.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2110?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2018 01:29:59 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d09fce40-e0d0-42a4-b7ee-f3639e9a5fcb</guid><dc:creator>dkahraman</dc:creator><description>Hi,

here is the situation;

we have integration parts and 1 Aras part can have multiple integration numbers like E01, E02, etc.

I use Part Integration relationship (Part-Part) and add the E values (E_no property) to this relationship.

Now, I showed self-service reporting to the project group but they definitely want to see the properties of this relationship on the main search grid.

So I think the idea is to see all parts with different E values in the grid like this :

Part 1 -E01

Part 1-E02

Part 2-E03

Part 3-E04

thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2109?ContentTypeID=1</link><pubDate>Mon, 12 Nov 2018 09:22:53 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:491f0402-7cf4-4e8b-bf57-866d5ca14dac</guid><dc:creator>krisgopi88</dc:creator><description>Hi,

Could you please elaborate the use case. My understanding is you have a part and have Part Integration relationship. Part Integration relationship may have multiple rows and you want to show all the rows integration_number in main search grid ? Do you want all the integration_number as comma separated values in search grid ?

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2108?ContentTypeID=1</link><pubDate>Mon, 12 Nov 2018 07:52:54 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:abc4dd66-f93d-45c6-8d89-d9de2996d668</guid><dc:creator>dkahraman</dc:creator><description>Hi again,

what if I want to see all &amp;quot;document_created_on&amp;quot; data for a relationship?

For example, I have different &amp;quot;integration_number&amp;quot; values for a part and I have to see all in the main search grid.

thanks,

Duygu&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2107?ContentTypeID=1</link><pubDate>Mon, 12 Nov 2018 02:19:22 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:b79b7737-2835-4ea9-a3f4-d1d0f887ee12</guid><dc:creator>dkahraman</dc:creator><description>hi thank you, I will try this!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2106?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 14:45:57 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7af44164-2e68-45f4-b62a-dd95ebadd259</guid><dc:creator>krisgopi88</dc:creator><description>Hi

You can use something like this to show the relationship property on the Parent Item type search grid.

Steps:
&lt;ol&gt;
 	&lt;li&gt;Create a property in Parent Item Type ( I have created document_created_on in Document Item Type and  made this field as Visible = &amp;#39;0&amp;#39; in Document Form)&lt;/li&gt;
 	&lt;li&gt;Create method with below code and add it to Document Files Item Type (ServerEvents : OnAfterAdd and OnAfterUpdate&lt;/li&gt;
&lt;/ol&gt;
Innovator inn = this.getInnovator();
string doc_createdon =this.getProperty(&amp;quot;created_on&amp;quot;);
string parentid=this.getProperty(&amp;quot;source_id&amp;quot;);
Item parent = inn.newItem(&amp;quot;Document&amp;quot;, &amp;quot;edit&amp;quot;);
parent.setAttribute(&amp;quot;id&amp;quot;, parentid);
parent.setProperty(&amp;quot;document_created_on&amp;quot;, doc_createdon);
parent = parent.apply();
return this;

If multiple items are there in relationship, then you need to restrict which line item property should be shown in main search grid.

Thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2105?ContentTypeID=1</link><pubDate>Wed, 17 Oct 2018 04:48:13 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:8ed11dfa-22f0-46b7-b2e5-fba216be7143</guid><dc:creator>dkahraman</dc:creator><description>Hi Chris,

is there any sample for this?

thanks,&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related item property in the main search grid?</title><link>https://www.aras.com/community/thread/2104?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 09:08:53 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:9a22da03-c3ce-40ae-93ab-de495b1f56f6</guid><dc:creator>Christopher Gillis</dc:creator><description>Hello,

By default, only the properties on the ItemType itself are visible from the main search grid. One workaround to this would be to create a placeholder property on the Part ItemType that always has it&amp;#39;s value set to the &lt;strong&gt;integration_number&lt;/strong&gt; of any related Part Integrations. You could do this with some custom logic from an &lt;strong&gt;onAfterAdd/onAfterUpdate&lt;/strong&gt; Server Event on the Part Integration ItemType.

Chris

&lt;hr /&gt;

Christopher Gillis

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>