User Tools


This is an old revision of the document!


Helper Scripts

In the build/HelperScripts directory you can find a series of small scripts and tools that are useful to achieve some of those special tasks that help adapt the system to your specific needs. Some of these should be done directly inside the application, and hopefully someday they will be, but in the mean time, these are the steps to get it working.

addActionLink.php

This is an example script to show how you can add an action link in the right panel of the detailview of an existing module. In this case it is adding an Add Ticket action link to the Accounts module.

addEntityMethod.php

This is an example script to show how to associated a workflow custom method to a module. You can read more about it here.

addModComments.php

This script adds the comment functionality to any module. Copy it to the root of your install and execute in the browser with the module name you want to have the feature:

http://your_server/your_corebos/addModComments.php?modulename=Timecontrol

Remember to delete the file when you are finished.

composerinstallmodule.php

This is the composer installer worker script. It is in charge of launching the install/update of modules installed using composer. More on this can be read in the Perspective Initiative.

convertTextFieldToPicklist.php

This script converts a uitype 1 text field into a picklist respecting all the current values in the field. It accepts two parameters:

  • module: the name of the module which contains the field to transform
  • fieldname: the name of the field to convert

coreBOSEvents*

Script to load and show the functionality of the coreBOS Eventing system

deleteModule.php

This is an example script to show how to delete a module

evalwf.php

This script is for debugging the workflow process. It executes a given workflow, against a record and gives us the result of the evaluation of the conditions on screen. If the workflow is a scheduled workflow it will show us the full SQL generated. If it is an event based workflow it will tell us if it evaluates to true or false for the record.

installmodule.php

This is an example script to show how to install a module from it's manifest.xml file when all files are already copied into place in the filesytem

installupdater.php

This script is a copy of the installmodule.php script specifically tailored to installing the coreBOS updater module.

stressTest.php

Script that creates 100 records and then deletes them. We use this one to test time impact of the optimization changes we make :-)

Please do not leave this files in the root of your install. Remember to delete the file when you are finished.


coreBOS Documentación