<?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>Setting Default Relation Row</title><link>https://www.aras.com/community/f/development/3693/setting-default-relation-row</link><description>Hi

When create form, I need the relationship have default row data.  But use add code it&amp;#39;s really add. How to add relationship default data before save.

Add Code:

Item addItem = this.newItem(&amp;quot;AAA&amp;quot;,&amp;quot;add&amp;quot;);</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Setting Default Relation Row</title><link>https://www.aras.com/community/thread/1592?ContentTypeID=1</link><pubDate>Thu, 17 May 2018 08:39:54 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7bfe2a94-a38b-4882-9809-32ffed6e9d92</guid><dc:creator>Former Member</dc:creator><description>It looks like the code you are looking for is
&lt;pre&gt;Item addItem = this.newItem(&amp;quot;AAA&amp;quot;,&amp;quot;add&amp;quot;);
addItem.fetchDefaultPropertyValues(true);&lt;/pre&gt;
&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>