Creating Action button in APS package

We can create our own button in customer control panel using the class action. This button also like ‘Upgrade’,’Uninstall’ buttons. Follow the below steps to create action button —————————————————- In Eclipse go to Entry Points Tab 1. Label -> NewUpdateButton 2. Description-> Keep it as blank (optiional) 3. Destination-> Keep it as blank (optional) 4.… Read More »

Uploading the package in the PA server in APS2.0

There are three server details needed to do this 1.PA server 2.ssh to connect endpoint server 3.ssh to connect PA server. Step1 : Upload the package into PA server using Services->Applications->import package. Step2: Connect the Endpoint server using SSH. Upload the package into the endpointserver. (Note:Upload path-var/ww/html) Step3: Go to the endpoint server terminal window… Read More »

How to build and validate a package in APS2.0

IF the Eclipse2.0 environment not supporting the Package Build and validation then use the following method. 1)Install the APStools on your machine. 2)Go to Command Prompt using Run-cmd command. 3)cd C:\Program Files (x86)\APSStandard.org\APSTools 4)C:\Program Files (x86)\APSStandard.org\APSTools>apsbuild D:\workspace\Helloworld 5)C:\Program Files (x86)\APSStandard.org\APSTools>apslint -v D:\workspace\Helloworld-1- app.zip note:here D:\workspace is the path of your eclipse.After building the package the… Read More »

Application configuration script reported errors: ‘env: php: No such file or directory ‘ why showing this error in APS package?

This error is usualy show while clicking on the create button in the Customer control panel (CCP). This is because of PHP/Apche attribute is missing in the Resource type/Provisioning attributes tab. If PHP Attributes is not available in the provisioning attributes tab, Use the following steps to make it available. Please follow the below Steps… Read More »

Select Clause to find out the current timestamp?

See the Example Select * from mydoubts_data +———+————————-+——————–+ | EMPCODE | NAME | SALARAY CODE | +———+————————-+——————–+ | 787 | Vasanthan | K | | GORT | Shaji | S | | GKL | James | P | | IND | Abdul | ZO | | VIS | Sunil | F | +———+————————-+——————–+ For Example… Read More »

IN and NOT In using mysql

See the Example Select * from mydoubts_data +———+————————-+——————–+ | EMPCODE | NAME | SALARAY CODE | +———+————————-+——————–+ | 787 | Vasanthan | K | | GORT | Shaji | S | | GKL | James | P | | IND | Abdul | ZO | | VIS | Sunil | F | +———+————————-+——————–+ IN and… Read More »

Distinct record selection using mysql

See the Example Select * from mydoubts_data +———+————————-+——————–+ | EMPCODE | NAME | SALARAY CODE | +———+————————-+——————–+ | 787 | Vasanthan | K | | GORT | Shaji | S | | GKL | James | P | | IND | Abdul | ZO | | VIS | Sunil | F | +———+————————-+——————–+ For only… Read More »