<?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/"><channel><title>harvey_str さんのアクティビティ</title><link>https://www.aras.com/community/members/harvey_5f00_str</link><description>harvey_str さんの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>How to display automatically properties from an ItemType in a Form from another ItemType, thanks to an ID</title><link>https://www.aras.com/community/f/development/9071/how-to-display-automatically-properties-from-an-itemtype-in-a-form-from-another-itemtype-thanks-to-an-id</link><pubDate>Mon, 10 Feb 2020 11:29:50 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:904a4332-abeb-438a-82e2-dea93960d807</guid><dc:creator>harvey_str</dc:creator><description>&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;I&amp;#39;m searching for a solution capable of displaying automatically properties from an ItemType in a Form from another ItemType, with an ID that creates a link between them.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;I have an item linked to a form and I have a second item with some properties. I want to populate one field of the first form with the data of the second item. This field corresponds to a certain property of the first item.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;To highlight my problem there is an example.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;The first Item is called &amp;ldquo;student_info&amp;rdquo;. . The other properties don&amp;#39;t matter for my problem.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;ol style="text-align:justify;"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;ItemType, Name = &amp;ldquo;student_info&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;1) &amp;quot;student_name&amp;quot;, DataType = &amp;quot;Text&amp;quot;,&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;2) &amp;quot;student_class&amp;quot;, DataType = &amp;quot;String&amp;quot;,&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;3) &amp;quot;exam_1&amp;quot;, DataType = &amp;quot;String&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;4) &amp;quot;exam_2&amp;quot;, DataType = &amp;quot;String&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;5) &amp;ldquo;id&amp;rdquo;, DataType = &amp;quot;Item&amp;quot;, Data Source = &amp;quot;student_info&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;In my form &amp;ldquo;student_info&amp;rdquo;, I have a field where I want to display all the exams that a student has passed.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;All the exams infos come from the second item. This ItemType is called &amp;quot;exam&amp;quot;. It has 5 importants&amp;nbsp; properties :&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;ol style="text-align:justify;"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;ItemType, Name = &amp;ldquo;exam&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;1) &amp;quot;exam_name&amp;quot;, DataType = &amp;quot;String&amp;quot;,&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;2) &amp;quot;exam_descrption&amp;quot;, DataType = &amp;quot;String&amp;quot;,&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;3) &amp;quot;exam_discipline&amp;quot;, DataType = &amp;quot;List&amp;quot;, Data Source = &amp;quot;Discipline&amp;quot;,&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;4) &amp;quot;exam_monitor&amp;quot;, DataType = &amp;quot;List&amp;quot;, Data Source = &amp;quot;Monitor&amp;quot;,&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;5) &amp;ldquo;id&amp;rdquo;, DataType = &amp;quot;Item&amp;quot;, Data Source = &amp;quot;exams&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;I succeeded in changing the &amp;ldquo;id&amp;rdquo; with the &amp;ldquo;exam_name&amp;rdquo; thanks to another question on this forum !&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;Each student has passed a different exam. And each exam can be passed by a different student.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;So, in my &amp;ldquo;student_info&amp;rdquo; form, I have created a HTML Field with an id included in a div. The id is linked to a method called &amp;ldquo;load_exam&amp;rdquo; that displays all the exams the student has passed.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;BUT for the moment, I need to add manually via a Relationship that I create between the ItemType &amp;ldquo;student_info&amp;rdquo; and the ItemType &amp;ldquo;exam&amp;rdquo;. To add the exam I need to go in the edit view of the ItemType &amp;ldquo;student_info&amp;rdquo; and in the tab called &amp;ldquo;Add Exam&amp;rdquo;. And after in a dialog box I choose the right exam.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;Now I want to find a solution that automatically displays the list of exams for each student. In fact if I fill the properties &amp;ldquo;exam_1&amp;rdquo; and &amp;ldquo;exam_2&amp;rdquo; with the exam name, that corresponds exactly to the &amp;ldquo;exam_name&amp;rdquo; property. I want to have the list of exams in the HTML Field of the &amp;ldquo;student_info&amp;rdquo; Form.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;Thanks for reading, I hope you can understand my problem and help me to solve it !&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;&lt;span style="font-weight:400;"&gt;P.S. : I can show my JavaScript code for the method &amp;ldquo;load_exam&amp;rdquo;, if you want.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://www.aras.com/community/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Mon, 10 Feb 2020 04:37:33 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3e60f469-2e63-47ae-bd68-7066a06279b5</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>