Custom Entrypoint


Aug 07, 2017    Janaki Mahapatra, Sugar

  1. Create an entrypoint fine anywhere in custom folder(file can be located anywhere you choose). Let say the file is: ./custom/customEntryPoint.php
  2. Next, we will need to create our extension in the application extensions. This will be located at: ./custom/Extension/application/Ext/EntryPointRegistry/customEntryPoint.php
     'custom/customEntryPoint.php',
        'auth' => true
      );
  3. Finally, navigate to Admin > Repair > Quick Repair and Rebuild. The system will then generate the file ./custom/application/Ext/EntryPointRegistry/entry_point_registry.ext.php containing your registry entry. We are now able to access our entry point by navigating to:
    http://{sugar url}/index.php?entryPoint=customEntryPoint