<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to reset field values on bean duplication?</title>
	<atom:link href="http://blog.joaomorais.com/how-to-reset-field-values-on-bean-duplication/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.joaomorais.com/how-to-reset-field-values-on-bean-duplication/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-reset-field-values-on-bean-duplication</link>
	<description>Blog about software development, personal projects and development tools.</description>
	<lastBuildDate>Sun, 10 Nov 2013 22:21:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Joe Hines</title>
		<link>http://blog.joaomorais.com/how-to-reset-field-values-on-bean-duplication/#comment-1573</link>
		<dc:creator>Joe Hines</dc:creator>
		<pubDate>Wed, 27 Jun 2012 04:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joaomorais.com/?p=1008#comment-1573</guid>
		<description><![CDATA[The information in your post about SugarCRM Development is very interesting and very helpful for the Developers for the SugarCRM Development.]]></description>
		<content:encoded><![CDATA[<p>The information in your post about SugarCRM Development is very interesting and very helpful for the Developers for the SugarCRM Development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: João Morais</title>
		<link>http://blog.joaomorais.com/how-to-reset-field-values-on-bean-duplication/#comment-1483</link>
		<dc:creator>João Morais</dc:creator>
		<pubDate>Fri, 15 Jun 2012 09:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joaomorais.com/?p=1008#comment-1483</guid>
		<description><![CDATA[Hi @Matthew, @Jeff Bickart, 

This article was rescued from my blog backups, so it was probably obsolete, unfortunately I lost a few posts  due to unpredicted hosting issues.

Thanks for your feedback guys :)
Already updated the post in order to reflect the changes you guys pointed out, and also gave you credits for that. 

Regarding the &quot;truly&quot; custom views, I think that this feature was implemented in the latest versions, from what I recall at least in SugarCRM 5.2.X it didn&#039;t exist, and one was forced to copy all their logic to the ones on custom folder.]]></description>
		<content:encoded><![CDATA[<p>Hi @Matthew, @Jeff Bickart, </p>
<p>This article was rescued from my blog backups, so it was probably obsolete, unfortunately I lost a few posts  due to unpredicted hosting issues.</p>
<p>Thanks for your feedback guys <img src='http://blog.joaomorais.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Already updated the post in order to reflect the changes you guys pointed out, and also gave you credits for that. </p>
<p>Regarding the &#8220;truly&#8221; custom views, I think that this feature was implemented in the latest versions, from what I recall at least in SugarCRM 5.2.X it didn&#8217;t exist, and one was forced to copy all their logic to the ones on custom folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://blog.joaomorais.com/how-to-reset-field-values-on-bean-duplication/#comment-1474</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Thu, 14 Jun 2012 12:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joaomorais.com/?p=1008#comment-1474</guid>
		<description><![CDATA[Very nice, Joao. The only thing to add is that not all beans have a specific view.edit.php file in their directory. Some do and some don&#039;t... for those that do, the new class is usually CustomViewEdit and it would extend ViewEdit. For thost that don&#039;t, they&#039;ll extend the normal ViewEdit but they can (and probably should still be) named CustomViewEdit.]]></description>
		<content:encoded><![CDATA[<p>Very nice, Joao. The only thing to add is that not all beans have a specific view.edit.php file in their directory. Some do and some don&#8217;t&#8230; for those that do, the new class is usually CustomViewEdit and it would extend ViewEdit. For thost that don&#8217;t, they&#8217;ll extend the normal ViewEdit but they can (and probably should still be) named CustomViewEdit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Bickart</title>
		<link>http://blog.joaomorais.com/how-to-reset-field-values-on-bean-duplication/#comment-1473</link>
		<dc:creator>Jeff Bickart</dc:creator>
		<pubDate>Thu, 14 Jun 2012 12:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joaomorais.com/?p=1008#comment-1473</guid>
		<description><![CDATA[There a few corrections to be made to your post.  When you create a custom view.edit.php in custom/modules//views/view.edit.php and your new class should be called CustomViewEdit not ViewEdit.

Further you usually don&#039;t need to copy the logic from the modules//view/view.edit.php you should be extending it.

So a custom Contacts View edit would be

require_once(&#039;modules/contacts/view/view.edit.php&#039;);
class CustomContactsViewEdit extends ContactsViewEdit

Changing it in this manner allows for the core code to be changed from SugarCRM Version to SugarCRM version and not loose any functionality]]></description>
		<content:encoded><![CDATA[<p>There a few corrections to be made to your post.  When you create a custom view.edit.php in custom/modules//views/view.edit.php and your new class should be called CustomViewEdit not ViewEdit.</p>
<p>Further you usually don&#8217;t need to copy the logic from the modules//view/view.edit.php you should be extending it.</p>
<p>So a custom Contacts View edit would be</p>
<p>require_once(&#8216;modules/contacts/view/view.edit.php&#8217;);<br />
class CustomContactsViewEdit extends ContactsViewEdit</p>
<p>Changing it in this manner allows for the core code to be changed from SugarCRM Version to SugarCRM version and not loose any functionality</p>
]]></content:encoded>
	</item>
</channel>
</rss>
