• Creating Relate field via Manifest.php

    Hi everyone. I am trying to create a relate field on the ProductTemplates module which links to TaxRates but am struggling to find the syntax to get it right. My latest attempt is: array( 'name' => 'product_vat_rate', 'label' => 'LBL_PRODUCT_VAT_RATE…
  • Module Builder access limitation

    Hello support, i built an integration module for SUGAR. By default when an admin installs the package on the SUGAR org, the permissions on the module will grant admin privileges over the module. This means that a new user without any role, will…
  • Adding formulas/field calculations when creating custom fields via the manifest file.

    Hey guys, I hope you are all well. I am currently work on a package to update our customer onboarding process. It would be preferred to install a single package in production and the configuration is complete except for adding the fields to the record…
  • Why can't I import controller.php files using module loader?

    OtherCustomization.zip I created the following package, but I had to comment out the controller.php files because there is an error when they are imported. Why can't we import into controller.php files, or any file into custom/modules/<module>/…
  • Purpose of uninstall_before_upgrade and remove_tables flag in manifest.php

    Hi All, Can anyone tell me the exact functionality of the uninstall_before_upgrade and remove_tables flag? I am amazed either their behavior is strange in all the other instances or I am missing something. Regarding the uninstall_before_upgrade flag…
  • Need help using copy in the manifest.php

    I have the used "copy" in another package that builds a module and it works fine. Now I am trying to use "copy" in a package all by itself and I get a " Failed to copy cache/upgrades/temp/bEJWuG/Files/custom/Extension/application/Ext/EntryPointRegistry…
  • I am creating a package, but my files are failing to copy.

    Below is what the first part of the manifest looks like. Note: I also have a folder in the package zip file called Files with all the files. The error I am getting is: " Failed to copy cache/upgrades/temp/VP9U4G/Files/custom/Extention/application…
  • How to create a relationship using module loader?

    I get the error " Manifest file must specify the package type" when I use the following manifest. $manifest = array ( 0 => array ( 'acceptable_sugar_versions' => array ( 0 => '9.0.3', ), ), 1 => array ( 'acceptable_sugar_flavors' => array ( 0 => 'PRO…
  • Custom Buttons in list-headerpane to add in manifest Package

    I have modified my Accounts module list-headerpane.php and added Two Buttons to it. \custom\modules\Accounts\clients\base\views\list-headerpane\list-headerpane.php <?php $viewdefs['Accounts'] = array( 'base' => array( 'view' => array( 'list-headerpane…
  • Automate Dropdownlist creation via manifest

    Hi, I know how to create a custom dropdown field for a module from the manifest file. So lets say I have something like this in the manifest file array( "name" => "document_type_c", "label"=> "LBL_DOCUMENT_TYPE", "type" => "enum", "module" => "Quotes…
  • How to add view to Administration module?

    Hey everyone, Today I was trying to add a custom link in the admin panel and did that successfuly. I also managed to add a custom action to the Administration module action view map. I know that the link is working because when I add the view manually…