<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged project</title>
<link>https://overflow.efficy.io/?qa=tag/project</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to make changes into Opportunity.js</title>
<link>https://overflow.efficy.io/?qa=2788/how-to-make-changes-into-opportunity-js</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I would like to add content into Opportunity.js&lt;br&gt;
That's why, i created a new folder named &quot;serverscripts&quot; into custom folder in which i moved the related js file. I made these changes after &quot;docu copy&quot; part.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var ContextHandle = Database.OpenTemporaryContext();
var SQL =   &quot;select CL.F_CHECK, CL.F_CHECKDUEDATE, CL.F_CHECKED &quot;+                      
                        &quot;from &amp;lt;#TABLE NAME=LK_CHECKLIST&amp;gt; CL &quot;+
                        &quot;where CL.DISABLED = 0 order by CL.K_SORT&quot;;

var DS = Database.ExecuteSystemSQLQuery(QueryHandle, ContextHandle, SQL, '', true, true, 0)
DS.First
while (! DS.Eof) {              
var ActiContext = Database.OpenEditContext(ntActi, 0);
var ActiDS = DataBase.GetMasterDataSet(ActiContext, 0)
var ActiKey = DataBase.GetEditKey(ActiContext);
ActiDS.Edit();
ActiDS.FieldByName('SUBJECT').AsString = DS.FieldByName('F_CHECK').AsString;    //NAME
ActiDS.FieldByName('NATURE') = 8;
ActiDS.FieldByName('MODE') = 14;    
Database.AddLink2(ntActi, ntProj, ActiKey, ProjKey, true);                  //Link to project
Database.CloseContext(ActiContext);         
DS.Next
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;After restart IIS and connect to custom environment, when i try to convert an opportunity to project, standard release seems to be run.&lt;/p&gt;

&lt;p&gt;(I tried to add an alert but no use)&lt;/p&gt;

&lt;p&gt;Have i miss a thing ?&lt;/p&gt;

&lt;p&gt;Thank you for your feedback.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2788/how-to-make-changes-into-opportunity-js</guid>
<pubDate>Thu, 30 Nov 2017 13:55:47 +0000</pubDate>
</item>
</channel>
</rss>