<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarai.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>How to write code for SugarCloud webinar Q&amp;A</title><link>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>How to write code for SugarCloud webinar Q&amp;A</title><link>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a</link><pubDate>Tue, 18 Apr 2023 15:16:15 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:0b130c87-7c05-4395-9a2e-d8c779f36d11</guid><dc:creator>Rafael Fernandes</dc:creator><comments>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a#comments</comments><description>Current Revision posted to Dev Tutorials by Rafael Fernandes on 4/18/2023 3:16:15 PM&lt;br /&gt;

&lt;p&gt;At the end of the July 16, 2019 &amp;quot;How to write code for SugarCloud&amp;quot; webinar, we opened the discussion for questions. This is a&amp;nbsp;curated list of&amp;nbsp;the questions we received&amp;nbsp;and their answers.&lt;/p&gt;&lt;div class="j-rte-table"&gt;&lt;table class="j-table jiveBorder" style="border:1px solid #c6c6c6;" width="100%"&gt;&lt;thead&gt;&lt;tr style="background-color:#595959;"&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Question&lt;/span&gt;&lt;/th&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Answer&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;On the cloud when updating a module, how can we delete/remove old unused files?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Instead of upgrading package versions, I recommend uninstalling the previous version and then installing the new one. Uninstalling will remove all existing files and give you a clean slate for the install of the new module.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to add some files directly outside custom folder? e.g.&amp;nbsp;validation domain (txt file and CNAME) from AWS console, SES service&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Checked with SugarCloud and Sugar Support team. No, this is not feasible&amp;nbsp;within SugarCloud today. &lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;How can we access your Sugar unit testing?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;If you are a SugarCRM Partner or Customer, then simply send a request to&amp;nbsp;&lt;a href="mailto:developers@sugarcrm.com"&gt;developers@sugarcrm.com&lt;/a&gt;. Please include your Github username.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there an example script for generating Module Loadable Packages?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;There are several examples in different SugarCRM open source repositories. Specifically, the Professor M project contains a script and instructions for this. See &lt;a href="https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Does the SugarCloud Module Loader accepts &amp;quot;post-install&amp;quot; scripts, for example to launch a QRR after install?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;It does. See&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Introduction_to_the_Manifest/#post_execute" rel="nofollow" target="_blank"&gt;post_execute&lt;/a&gt;&amp;nbsp;$installdef action.&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What was that git hub repo again, the one for Professor M&amp;#39;s School&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Professor M&amp;#39;s School for Gifted Coders is available on Github at&amp;nbsp;&lt;a href="https://github.com/sugarcrm/school" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What are the minimum Sugar system requirements?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Here is a list of our&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Supported_Platforms/" rel="nofollow" target="_blank"&gt;Supported Platforms&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This page of additional resources on the Support site may be of further help to you:&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/" rel="nofollow" target="_blank"&gt;https://support.sugarcrm.com/Resources/&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What&amp;nbsp;are VARs and ISVs? Is one of them a partner?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;&lt;strong&gt;Value Added Reseller (VAR) partners&lt;/strong&gt; - This is a type partner that sells Sugar to end customers while also providing added services&amp;nbsp;that include&amp;nbsp;Sugar customization and&amp;nbsp;integration for end customers.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Independent Software Vendor (ISV) partners&lt;/strong&gt; - This is a type of partner that&amp;nbsp;integrates their own software applications with Sugar to create a combined solution.&lt;/p&gt;&lt;p&gt;For more details on the different SugarCRM partnerships see:&amp;nbsp;&lt;a href="https://www.sugarcrm.com/partners" rel="nofollow" target="_blank"&gt;https://www.sugarcrm.com/partners&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Can you share that presentation with us/me?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The video recording and a pdf version of the slide deck have been posted to the Developer Community:&lt;/p&gt;&lt;p&gt;&lt;a href="https://sugarclub.sugarcrm.com/dev-club/m/event-recaps/1147"&gt;How to write code for SugarCloud (Recording)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://sugarclub.sugarcrm.com/dev-club/m/event-recaps/864"&gt;How to write code for SugarCloud (Slides)&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is bulk limit to 20 req/s per user or per instance?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The 20 requests per second limit is per Sugar instance.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to develop a project locally and provide you with the whole code package and Database and you upload on the cloud?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Yes, you can migrate a locally developed Sugar instance to the SugarCloud. Your customizations will need to comply with Package Scanner and the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Sugar_Cloud_Policy_Guide/" rel="nofollow" target="_blank"&gt;Sugar Cloud Policy Guide&lt;/a&gt; to be accepted. If you are already using Module Loadable Packages then this will make it a lot easier. Please contact Sugar Support for assistance with migration.&amp;nbsp;&lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;I uploaded a package with a&amp;nbsp;PHP error by mistake which broke my test environment. How can I fix this?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;For now, this would have to be addressed by contacting Sugar Support. We&amp;nbsp;plan to provide access to the PHP error logs in the future. This should help with remedying the issue when it happens.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Where can you find the the demo instance builder?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;The demo Builder is available to all VAR partners. If you are part of a VAR organization, see your administrator for access. ISV partners can request access via a form in the ISV Partner Portal.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there a list of PHP functions that cannot be used in the cloud available somewhere?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;Please see the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restrictions/" rel="nofollow" target="_blank"&gt;Module Loader Restrictions&lt;/a&gt;&amp;nbsp;page in the Sugar Support Documentation. There is also an article regarding&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restriction_Alternatives/" rel="nofollow" target="_blank"&gt;Module Loader Restriction Alternatives&lt;/a&gt;&amp;nbsp;that may be helpful.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Development Best Practices, Sugar 9.x, developer webinar&lt;/div&gt;
</description></item><item><title>How to write code for SugarCloud webinar Q&amp;A</title><link>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a/revision/5</link><pubDate>Fri, 05 Aug 2022 17:45:09 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:0b130c87-7c05-4395-9a2e-d8c779f36d11</guid><dc:creator>Alex Nassi</dc:creator><comments>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a#comments</comments><description>Revision 5 posted to Dev Tutorials by Alex Nassi on 8/5/2022 5:45:09 PM&lt;br /&gt;

&lt;p&gt;At the end of the July 16, 2019 &amp;quot;How to write code for SugarCloud&amp;quot; webinar, we opened the discussion for questions. This is a&amp;nbsp;curated list of&amp;nbsp;the questions we received&amp;nbsp;and their answers.&lt;/p&gt;&lt;div class="j-rte-table"&gt;&lt;table class="j-table jiveBorder" style="border:1px solid #c6c6c6;" width="100%"&gt;&lt;thead&gt;&lt;tr style="background-color:#595959;"&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Question&lt;/span&gt;&lt;/th&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Answer&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;On the cloud when updating a module, how can we delete/remove old unused files?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Instead of upgrading package versions, I recommend uninstalling the previous version and then installing the new one. Uninstalling will remove all existing files and give you a clean slate for the install of the new module.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to add some files directly outside custom folder? e.g.&amp;nbsp;validation domain (txt file and CNAME) from AWS console, SES service&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Checked with SugarCloud and Sugar Support team. No, this is not feasible&amp;nbsp;within SugarCloud today. &lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;How can we access your Sugar unit testing?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;If you are a SugarCRM Partner or Customer, then simply send a request to&amp;nbsp;&lt;a href="mailto:developers@sugarcrm.com"&gt;developers@sugarcrm.com&lt;/a&gt;. Please include your Github username.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there an example script for generating Module Loadable Packages?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;There are several examples in different SugarCRM open source repositories. Specifically, the Professor M project contains a script and instructions for this. See &lt;a href="https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Does the SugarCloud Module Loader accepts &amp;quot;post-install&amp;quot; scripts, for example to launch a QRR after install?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;It does. See&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Introduction_to_the_Manifest/#post_execute" rel="nofollow" target="_blank"&gt;post_execute&lt;/a&gt;&amp;nbsp;$installdef action.&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What was that git hub repo again, the one for Professor M&amp;#39;s School&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Professor M&amp;#39;s School for Gifted Coders is available on Github at&amp;nbsp;&lt;a href="https://github.com/sugarcrm/school" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What are the minimum Sugar system requirements?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Here is a list of our&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Supported_Platforms/" rel="nofollow" target="_blank"&gt;Supported Platforms&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This page of additional resources on the Support site may be of further help to you:&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/" rel="nofollow" target="_blank"&gt;https://support.sugarcrm.com/Resources/&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What&amp;nbsp;are VARs and ISVs? Is one of them a partner?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;&lt;strong&gt;Value Added Reseller (VAR) partners&lt;/strong&gt; - This is a type partner that sells Sugar to end customers while also providing added services&amp;nbsp;that include&amp;nbsp;Sugar customization and&amp;nbsp;integration for end customers.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Independent Software Vendor (ISV) partners&lt;/strong&gt; - This is a type of partner that&amp;nbsp;integrates their own software applications with Sugar to create a combined solution.&lt;/p&gt;&lt;p&gt;For more details on the different SugarCRM partnerships see:&amp;nbsp;&lt;a href="https://www.sugarcrm.com/partners" rel="nofollow" target="_blank"&gt;https://www.sugarcrm.com/partners&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Can you share that presentation with us/me?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The video recording and a pdf version of the slide deck have been posted to the Developer Community:&lt;/p&gt;&lt;p&gt;&lt;a href="https://sugarclub.sugarcrm.com/dev-club/m/event-recaps/1147"&gt;How to write code for SugarCloud (Recording)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://sugarclub.sugarcrm.com/dev-club/m/event-recaps/864"&gt;How to write code for SugarCloud (Slides)&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is bulk limit to 20 req/s per user or per instance?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The 20 requests per second limit is per Sugar instance.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to develop a project locally and provide you with the whole code package and Database and you upload on the cloud?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Yes, you can migrate a locally developed Sugar instance to the SugarCloud. Your customizations will need to comply with Package Scanner and the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Sugar_Cloud_Policy_Guide/" rel="nofollow" target="_blank"&gt;Sugar Cloud Policy Guide&lt;/a&gt; to be accepted. If you are already using Module Loadable Packages then this will make it a lot easier. Please contact Sugar Support for assistance with migration.&amp;nbsp;&lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;I uploaded a package with a&amp;nbsp;PHP error by mistake which broke my test environment. How can I fix this?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;For now, this would have to be addressed by contacting Sugar Support. We&amp;nbsp;plan to provide access to the PHP error logs in the future. This should help with remedying the issue when it happens.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Where can you find the the demo instance builder?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;The demo Builder is available to all VAR partners. If you are part of a VAR organization, see your administrator for access. ISV partners can request access via a form in the ISV Partner Portal.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there a list of PHP functions that cannot be used in the cloud available somewhere?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;Please see the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restrictions/" rel="nofollow" target="_blank"&gt;Module Loader Restrictions&lt;/a&gt;&amp;nbsp;page in the Sugar Support Documentation. There is also an article regarding&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restriction_Alternatives/" rel="nofollow" target="_blank"&gt;Module Loader Restriction Alternatives&lt;/a&gt;&amp;nbsp;that may be helpful.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Development Best Practices, Sugar 9.x, developer webinar&lt;/div&gt;
</description></item><item><title>How to write code for SugarCloud webinar Q&amp;A</title><link>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a/revision/4</link><pubDate>Wed, 07 Jul 2021 20:00:19 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:0b130c87-7c05-4395-9a2e-d8c779f36d11</guid><dc:creator>Matt Marum</dc:creator><comments>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a#comments</comments><description>Revision 4 posted to Dev Tutorials by Matt Marum on 7/7/2021 8:00:19 PM&lt;br /&gt;

&lt;p&gt;At the end of the July 16, 2019 &amp;quot;How to write code for SugarCloud&amp;quot; webinar, we opened the discussion for questions. This is a&amp;nbsp;curated list of&amp;nbsp;the questions we received&amp;nbsp;and their answers.&lt;/p&gt;&lt;div class="j-rte-table"&gt;&lt;table class="j-table jiveBorder" style="border:1px solid #c6c6c6;" width="100%"&gt;&lt;thead&gt;&lt;tr style="background-color:#595959;"&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Question&lt;/span&gt;&lt;/th&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Answer&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;On the cloud when updating a module, how can we delete/remove old unused files?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Instead of upgrading package versions, I recommend uninstalling the previous version and then installing the new one. Uninstalling will remove all existing files and give you a clean slate for the install of the new module.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to add some files directly outside custom folder? e.g.&amp;nbsp;validation domain (txt file and CNAME) from AWS console, SES service&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Checked with SugarCloud and Sugar Support team. No, this is not feasible&amp;nbsp;within SugarCloud today. &lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;How can we access your Sugar unit testing?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;If you are a SugarCRM Partner or Customer, then simply send a request to&amp;nbsp;&lt;a href="mailto:developers@sugarcrm.com"&gt;developers@sugarcrm.com&lt;/a&gt;. Please include your Github username.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there an example script for generating Module Loadable Packages?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;There are several examples in different SugarCRM open source repositories. Specifically, the Professor M project contains a script and instructions for this. See &lt;a href="https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Does the SugarCloud Module Loader accepts &amp;quot;post-install&amp;quot; scripts, for example to launch a QRR after install?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;It does. See&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Introduction_to_the_Manifest/#post_execute" rel="nofollow" target="_blank"&gt;post_execute&lt;/a&gt;&amp;nbsp;$installdef action.&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What was that git hub repo again, the one for Professor M&amp;#39;s School&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Professor M&amp;#39;s School for Gifted Coders is available on Github at&amp;nbsp;&lt;a href="https://github.com/sugarcrm/school" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What are the minimum Sugar system requirements?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Here is a list of our&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Supported_Platforms/" rel="nofollow" target="_blank"&gt;Supported Platforms&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This page of additional resources on the Support site may be of further help to you:&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/" rel="nofollow" target="_blank"&gt;https://support.sugarcrm.com/Resources/&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What&amp;nbsp;are VARs and ISVs? Is one of them a partner?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;&lt;strong&gt;Value Added Reseller (VAR) partners&lt;/strong&gt; - This is a type partner that sells Sugar to end customers while also providing added services&amp;nbsp;that include&amp;nbsp;Sugar customization and&amp;nbsp;integration for end customers.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Independent Software Vendor (ISV) partners&lt;/strong&gt; - This is a type of partner that&amp;nbsp;integrates their own software applications with Sugar to create a combined solution.&lt;/p&gt;&lt;p&gt;For more details on the different SugarCRM partnerships see:&amp;nbsp;&lt;a href="https://www.sugarcrm.com/partners" rel="nofollow" target="_blank"&gt;https://www.sugarcrm.com/partners&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Can you share that presentation with us/me?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The video recording and a pdf version of the slide deck have been posted to the Developer Community:&lt;/p&gt;&lt;p&gt;&lt;a href="https://sugarclub.sugarcrm.com/dev-club/m/event-recaps/1147"&gt;How to write code for SugarCloud (Recording)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://sugarclub.sugarcrm.com/dev-club/m/event-recaps/864"&gt;How to write code for SugarCloud (Slides)&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is bulk limit to 20 req/s per user or per instance?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The 20 requests per second limit is per Sugar instance.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to develop a project locally and provide you with the whole code package and Database and you upload on the cloud?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Yes, you can migrate a locally developed Sugar instance to the SugarCloud. Your customizations will need to comply with Package Scanner and the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Sugar_Cloud_Policy_Guide/" rel="nofollow" target="_blank"&gt;Sugar Cloud Policy Guide&lt;/a&gt; to be accepted. If you are already using Module Loadable Packages then this will make it a lot easier. Please contact Sugar Support for assistance with migration.&amp;nbsp;&lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;I uploaded a package with a&amp;nbsp;PHP error by mistake which broke my test environment. How can I fix this?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;For now, this would have to be addressed by contacting Sugar Support. We&amp;nbsp;plan to provide access to the PHP error logs in the future. This should help with remedying the issue when it happens.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Where can you find the the demo instance builder?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;The demo Builder is available to all VAR partners. If you are part of a VAR organization, see your administrator for access. ISV partners can request access via a form in the ISV Partner Portal.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there a list of PHP functions that cannot be used in the cloud available somewhere?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;Please see the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restrictions/" rel="nofollow" target="_blank"&gt;Module Loader Restrictions&lt;/a&gt;&amp;nbsp;page in the Sugar Support Documentation. There is also an article regarding&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restriction_Alternatives/" rel="nofollow" target="_blank"&gt;Module Loader Restriction Alternatives&lt;/a&gt;&amp;nbsp;that may be helpful.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Development Best Practices, Sugar 9.x, developer webinar&lt;/div&gt;
</description></item><item><title>How to write code for SugarCloud webinar Q&amp;A</title><link>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a/revision/3</link><pubDate>Mon, 10 Aug 2020 01:34:13 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:0b130c87-7c05-4395-9a2e-d8c779f36d11</guid><dc:creator>Michael Shaheen</dc:creator><comments>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a#comments</comments><description>Revision 3 posted to Dev Tutorials by Michael Shaheen on 8/10/2020 1:34:13 AM&lt;br /&gt;

&lt;p&gt;At the end of the July 16, 2019 &amp;quot;How to write code for SugarCloud&amp;quot; webinar, we opened the discussion for questions. This is a&amp;nbsp;curated list of&amp;nbsp;the questions we received&amp;nbsp;and their answers.&lt;/p&gt;&lt;div class="j-rte-table"&gt;&lt;table class="j-table jiveBorder" style="border:1px solid #c6c6c6;" width="100%"&gt;&lt;thead&gt;&lt;tr style="background-color:#595959;"&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Question&lt;/span&gt;&lt;/th&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Answer&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;On the cloud when updating a module, how can we delete/remove old unused files?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Instead of upgrading package versions, I recommend uninstalling the previous version and then installing the new one. Uninstalling will remove all existing files and give you a clean slate for the install of the new module.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to add some files directly outside custom folder? e.g.&amp;nbsp;validation domain (txt file and CNAME) from AWS console, SES service&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Checked with SugarCloud and Sugar Support team. No, this is not feasible&amp;nbsp;within SugarCloud today. &lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;How can we access your Sugar unit testing?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;If you are a SugarCRM Partner or Customer, then simply send a request to&amp;nbsp;&lt;a href="mailto:developers@sugarcrm.com"&gt;developers@sugarcrm.com&lt;/a&gt;. Please include your Github username.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there an example script for generating Module Loadable Packages?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;There are several examples in different SugarCRM open source repositories. Specifically, the Professor M project contains a script and instructions for this. See &lt;a href="https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Does the SugarCloud Module Loader accepts &amp;quot;post-install&amp;quot; scripts, for example to launch a QRR after install?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;It does. See&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Introduction_to_the_Manifest/#post_execute" rel="nofollow" target="_blank"&gt;post_execute&lt;/a&gt;&amp;nbsp;$installdef action.&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What was that git hub repo again, the one for Professor M&amp;#39;s School&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Professor M&amp;#39;s School for Gifted Coders is available on Github at&amp;nbsp;&lt;a href="https://github.com/sugarcrm/school" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What are the minimum Sugar system requirements?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Here is a list of our&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Supported_Platforms/" rel="nofollow" target="_blank"&gt;Supported Platforms&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This page of additional resources on the Support site may be of further help to you:&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/" rel="nofollow" target="_blank"&gt;https://support.sugarcrm.com/Resources/&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What&amp;nbsp;are VARs and ISVs? Is one of them a partner?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;&lt;strong&gt;Value Added Reseller (VAR) partners&lt;/strong&gt; - This is a type partner that sells Sugar to end customers while also providing added services&amp;nbsp;that include&amp;nbsp;Sugar customization and&amp;nbsp;integration for end customers.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Independent Software Vendor (ISV) partners&lt;/strong&gt; - This is a type of partner that&amp;nbsp;integrates their own software applications with Sugar to create a combined solution.&lt;/p&gt;&lt;p&gt;For more details on the different SugarCRM partnerships see:&amp;nbsp;&lt;a href="https://www.sugarcrm.com/partners" rel="nofollow" target="_blank"&gt;https://www.sugarcrm.com/partners&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Can you share that presentation with us/me?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The video recording and a pdf version of the slide deck have been posted to the Developer Community:&lt;/p&gt;&lt;p&gt;&lt;a href="https://sugarclub.sugarcrm.com/dev-club/m/event-recaps/1147"&gt;How to write code for SugarCloud (Recording)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://sugarclub.sugarcrm.com/dev-club/m/event-recaps/864"&gt;How to write code for SugarCloud (Slides)&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is bulk limit to 20 req/s per user or per instance?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The 20 requests per second limit is per Sugar instance.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to develop a project locally and provide you with the whole code package and Database and you upload on the cloud?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Yes, you can migrate a locally developed Sugar instance to the SugarCloud. Your customizations will need to comply with Package Scanner and the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Sugar_Cloud_Policy_Guide/" rel="nofollow" target="_blank"&gt;Sugar Cloud Policy Guide&lt;/a&gt; to be accepted. If you are already using Module Loadable Packages then this will make it a lot easier. Please contact Sugar Support for assistance with migration.&amp;nbsp;&lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;I uploaded a package with a&amp;nbsp;PHP error by mistake which broke my test environment. How can I fix this?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;For now, this would have to be addressed by contacting Sugar Support. We&amp;nbsp;plan to provide access to the PHP error logs in the future. This should help with remedying the issue when it happens.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Where can you find the the demo instance builder?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;The demo Builder is available to all VAR partners. If you are part of a VAR organization, see your administrator for access. ISV partners can request access via a form in the ISV Partner Portal.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there a list of PHP functions that cannot be used in the cloud available somewhere?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;Please see the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restrictions/" rel="nofollow" target="_blank"&gt;Module Loader Restrictions&lt;/a&gt;&amp;nbsp;page in the Sugar Support Documentation. There is also an article regarding&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restriction_Alternatives/" rel="nofollow" target="_blank"&gt;Module Loader Restriction Alternatives&lt;/a&gt;&amp;nbsp;that may be helpful.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Development Best Practices, Sugar 9.x, developer webinar&lt;/div&gt;
</description></item><item><title>How to write code for SugarCloud webinar Q&amp;A</title><link>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a/revision/2</link><pubDate>Fri, 31 Jul 2020 20:38:55 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:0b130c87-7c05-4395-9a2e-d8c779f36d11</guid><dc:creator>Michael Shaheen</dc:creator><comments>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a#comments</comments><description>Revision 2 posted to Dev Tutorials by Michael Shaheen on 7/31/2020 8:38:55 PM&lt;br /&gt;

&lt;p&gt;At the end of the July 16, 2019 &amp;quot;How to write code for SugarCloud&amp;quot; webinar, we opened the discussion for questions. This is a&amp;nbsp;curated list of&amp;nbsp;the questions we received&amp;nbsp;and their answers.&lt;/p&gt;&lt;div class="j-rte-table"&gt;&lt;table class="j-table jiveBorder" style="border:1px solid #c6c6c6;" width="100%"&gt;&lt;thead&gt;&lt;tr style="background-color:#595959;"&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Question&lt;/span&gt;&lt;/th&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Answer&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;On the cloud when updating a module, how can we delete/remove old unused files?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Instead of upgrading package versions, I recommend uninstalling the previous version and then installing the new one. Uninstalling will remove all existing files and give you a clean slate for the install of the new module.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to add some files directly outside custom folder? e.g.&amp;nbsp;validation domain (txt file and CNAME) from AWS console, SES service&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Checked with SugarCloud and Sugar Support team. No, this is not feasible&amp;nbsp;within SugarCloud today. &lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;How can we access your Sugar unit testing?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;If you are a SugarCRM Partner or Customer, then simply send a request to&amp;nbsp;&lt;a href="mailto:developers@sugarcrm.com"&gt;developers@sugarcrm.com&lt;/a&gt;. Please include your Github username.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there an example script for generating Module Loadable Packages?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;There are several examples in different SugarCRM open source repositories. Specifically, the Professor M project contains a script and instructions for this. See &lt;a href="https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Does the SugarCloud Module Loader accepts &amp;quot;post-install&amp;quot; scripts, for example to launch a QRR after install?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;It does. See&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Introduction_to_the_Manifest/#post_execute" rel="nofollow" target="_blank"&gt;post_execute&lt;/a&gt;&amp;nbsp;$installdef action.&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What was that git hub repo again, the one for Professor M&amp;#39;s School&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Professor M&amp;#39;s School for Gifted Coders is available on Github at&amp;nbsp;&lt;a href="https://github.com/sugarcrm/school" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What are the minimum Sugar system requirements?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Here is a list of our&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Supported_Platforms/" rel="nofollow" target="_blank"&gt;Supported Platforms&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This page of additional resources on the Support site may be of further help to you:&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/" rel="nofollow" target="_blank"&gt;https://support.sugarcrm.com/Resources/&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What&amp;nbsp;are VARs and ISVs? Is one of them a partner?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;&lt;strong&gt;Value Added Reseller (VAR) partners&lt;/strong&gt; - This is a type partner that sells Sugar to end customers while also providing added services&amp;nbsp;that include&amp;nbsp;Sugar customization and&amp;nbsp;integration for end customers.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Independent Software Vendor (ISV) partners&lt;/strong&gt; - This is a type of partner that&amp;nbsp;integrates their own software applications with Sugar to create a combined solution.&lt;/p&gt;&lt;p&gt;For more details on the different SugarCRM partnerships see:&amp;nbsp;&lt;a href="https://www.sugarcrm.com/partners" rel="nofollow" target="_blank"&gt;https://www.sugarcrm.com/partners&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Can you share that presentation with us/me?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The video recording and a pdf version of the slide deck have been posted to the Developer Community:&lt;/p&gt;&lt;p&gt;&lt;a href="https://community.sugarcrm.com/videos/1720-how-to-write-code-for-sugarcloud-recording"&gt;How to write code for SugarCloud (Recording)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://sugarclub.sugarcrm.com/dev-club/m/event-recaps/864"&gt;How to write code for SugarCloud (Slides)&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is bulk limit to 20 req/s per user or per instance?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The 20 requests per second limit is per Sugar instance.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to develop a project locally and provide you with the whole code package and Database and you upload on the cloud?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Yes, you can migrate a locally developed Sugar instance to the SugarCloud. Your customizations will need to comply with Package Scanner and the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Sugar_Cloud_Policy_Guide/" rel="nofollow" target="_blank"&gt;Sugar Cloud Policy Guide&lt;/a&gt; to be accepted. If you are already using Module Loadable Packages then this will make it a lot easier. Please contact Sugar Support for assistance with migration.&amp;nbsp;&lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;I uploaded a package with a&amp;nbsp;PHP error by mistake which broke my test environment. How can I fix this?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;For now, this would have to be addressed by contacting Sugar Support. We&amp;nbsp;plan to provide access to the PHP error logs in the future. This should help with remedying the issue when it happens.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Where can you find the the demo instance builder?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;The demo Builder is available to all VAR partners. If you are part of a VAR organization, see your administrator for access. ISV partners can request access via a form in the ISV Partner Portal.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there a list of PHP functions that cannot be used in the cloud available somewhere?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;Please see the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restrictions/" rel="nofollow" target="_blank"&gt;Module Loader Restrictions&lt;/a&gt;&amp;nbsp;page in the Sugar Support Documentation. There is also an article regarding&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restriction_Alternatives/" rel="nofollow" target="_blank"&gt;Module Loader Restriction Alternatives&lt;/a&gt;&amp;nbsp;that may be helpful.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Development Best Practices, Sugar 9.x, developer webinar&lt;/div&gt;
</description></item><item><title>How to write code for SugarCloud webinar Q&amp;A</title><link>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a/revision/1</link><pubDate>Mon, 27 Jul 2020 10:27:48 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:0b130c87-7c05-4395-9a2e-d8c779f36d11</guid><dc:creator>Michael Shaheen</dc:creator><comments>https://sugarclub.sugarai.com/dev-club/w/dev-tutorials/200/how-to-write-code-for-sugarcloud-webinar-q-a#comments</comments><description>Revision 1 posted to Dev Tutorials by Michael Shaheen on 7/27/2020 10:27:48 AM&lt;br /&gt;

&lt;p&gt;At the end of the July 16, 2019 &amp;quot;How to write code for SugarCloud&amp;quot; webinar, we opened the discussion for questions. This is a&amp;nbsp;curated list of&amp;nbsp;the questions we received&amp;nbsp;and their answers.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="j-rte-table"&gt;&lt;table class="j-table jiveBorder" style="border:1px solid #c6c6c6;" width="100%"&gt;&lt;thead&gt;&lt;tr style="background-color:#595959;"&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Question&lt;/span&gt;&lt;/th&gt;&lt;th&gt;&lt;span style="color:#ffffff;"&gt;Answer&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;On the cloud when updating a module, how can we delete/remove old unused files?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Instead of upgrading package versions, I recommend uninstalling the previous version and then installing the new one. Uninstalling will remove all existing files and give you a clean slate for the install of the new module.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to add some files directly outside custom folder? e.g.&amp;nbsp;validation domain (txt file and CNAME) from AWS console, SES service&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Checked with SugarCloud and Sugar Support team. No, this is not feasible&amp;nbsp;within SugarCloud today. &lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;How can we access your Sugar unit testing?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;If you are a SugarCRM Partner or Customer, then simply send a request to&amp;nbsp;&lt;a href="mailto:developers@sugarcrm.com"&gt;developers@sugarcrm.com&lt;/a&gt;. Please include your Github username.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there an example script for generating Module Loadable Packages?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;There are several examples in different SugarCRM open source repositories. Specifically, the Professor M project contains a script and instructions for this. See &lt;a href="https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school#generating-the-professor-m-module-loadable-packages-locally&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Does the SugarCloud Module Loader accepts &amp;quot;post-install&amp;quot; scripts, for example to launch a QRR after install?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;It does. See&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Introduction_to_the_Manifest/#post_execute" rel="nofollow" target="_blank"&gt;post_execute&lt;/a&gt;&amp;nbsp;$installdef action.&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What was that git hub repo again, the one for Professor M&amp;#39;s School&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Professor M&amp;#39;s School for Gifted Coders is available on Github at&amp;nbsp;&lt;a href="https://github.com/sugarcrm/school" rel="nofollow" target="_blank"&gt;https://github.com/sugarcrm/school&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What are the minimum Sugar system requirements?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Here is a list of our&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Supported_Platforms/" rel="nofollow" target="_blank"&gt;Supported Platforms&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This page of additional resources on the Support site may be of further help to you:&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/" rel="nofollow" target="_blank"&gt;https://support.sugarcrm.com/Resources/&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;What&amp;nbsp;are VARs and ISVs? Is one of them a partner?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;&lt;strong&gt;Value Added Reseller (VAR) partners&lt;/strong&gt; - This is a type partner that sells Sugar to end customers while also providing added services&amp;nbsp;that include&amp;nbsp;Sugar customization and&amp;nbsp;integration for end customers.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Independent Software Vendor (ISV) partners&lt;/strong&gt; - This is a type of partner that&amp;nbsp;integrates their own software applications with Sugar to create a combined solution.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For more details on the different SugarCRM partnerships see:&amp;nbsp;&lt;a href="https://www.sugarcrm.com/partners" rel="nofollow" target="_blank"&gt;https://www.sugarcrm.com/partners&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Can you share that presentation with us/me?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The video recording and a pdf version of the slide deck have been posted to the Developer Community:&lt;/p&gt;&lt;p&gt;&lt;a href="https://community.sugarcrm.com/videos/1720-how-to-write-code-for-sugarcloud-recording"&gt;How to write code for SugarCloud (Recording)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://community.sugarcrm.com/docs/DOC-6702-how-to-write-code-for-sugarcloud-slides"&gt;How to write code for SugarCloud (Slides)&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is bulk limit to 20 req/s per user or per instance?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;The 20 requests per second limit is per Sugar instance.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is it possible to develop a project locally and provide you with the whole code package and Database and you upload on the cloud?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;&lt;p&gt;Yes, you can migrate a locally developed Sugar instance to the SugarCloud. Your customizations will need to comply with Package Scanner and the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Resources/Sugar_Cloud_Policy_Guide/" rel="nofollow" target="_blank"&gt;Sugar Cloud Policy Guide&lt;/a&gt; to be accepted. If you are already using Module Loadable Packages then this will make it a lot easier. Please contact Sugar Support for assistance with migration.&amp;nbsp;&lt;sup&gt;&lt;strong style="color:#3c773e;"&gt;Updated&lt;/strong&gt;&lt;/sup&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;I uploaded a package with a&amp;nbsp;PHP error by mistake which broke my test environment. How can I fix this?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;For now, this would have to be addressed by contacting Sugar Support. We&amp;nbsp;plan to provide access to the PHP error logs in the future. This should help with remedying the issue when it happens.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Where can you find the the demo instance builder?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;The demo Builder is available to all VAR partners. If you are part of a VAR organization, see your administrator for access. ISV partners can request access via a form in the ISV Partner Portal.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width:48%;"&gt;&lt;p&gt;Is there a list of PHP functions that cannot be used in the cloud available somewhere?&lt;/p&gt;&lt;/td&gt;&lt;td style="background-color:#f2f2f2;width:48%;"&gt;Please see the&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restrictions/" rel="nofollow" target="_blank"&gt;Module Loader Restrictions&lt;/a&gt;&amp;nbsp;page in the Sugar Support Documentation. There is also an article regarding&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Architecture/Module_Loader/Module_Loader_Restriction_Alternatives/" rel="nofollow" target="_blank"&gt;Module Loader Restriction Alternatives&lt;/a&gt;&amp;nbsp;that may be helpful.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Development Best Practices, Sugar 9.x, developer webinar&lt;/div&gt;
</description></item></channel></rss>