Walmart Sandbox API Tutorial Using Json (Part 1)

Walmart Sandbox API Tutorial Using Json || Easy Way || Postman || Part -1 Welcome to the first part of our comprehensive Walmart Sandbox API tutorial series! In this installment, we’ll explore the fundamentals of integrating with Walmart’s API using JSON, with a focus on simplicity and ease of understanding. Useful references you can use … Read more

Check this, How to use ExtJs inside React Js Integrating ExtJs in React: A Step-by-Step Guide

Integrating ExtJs in React: A Step-by-Step Guide Reference: Sencha Why Integrate ExtJS with React? Before diving into the integration process, let’s understand why you might want to combine React with ExtJS. ExtJS is renowned for its extensive set of UI components and rich feature set, making it an excellent choice for complex user interfaces. React, … Read more

CakePHP: How to call an action of another controller

App::uses(‘AppController’, ‘Controller’); App::uses(‘EmployeesController’, ‘Controller’); class ReportingController extends AppController { public function some(){ $Employees = new EmployeesController; $Employees->constructClasses(); $Employees->areasAssigned();//areasAssigned function is in the Employees controller. } }

Jasper soft manually installation

Step 1: Download tomcat from here  and intall it. Step 2: Download war file from war file find name  JasperReports Server WAR File Installer. Step 3: Copy mysql_master.properties file from E:\softwares\jasperreports-server-cp-5.1.0-bin\buildomatic\sample_conf and paste into E:\softwares\jasperreports-server-cp-5.1.0-bin\buildomatic. Step 4: Rename mysql_master.properties file to default_master.properties. Step 5: Download mysql connector from here OR here Step 6: Copy here E:\softwares\jasperreports-server-cp-5.1.0-bin\buildomatic\conf_source\db\mysql\jdbc. Step 7: Run the command Like E:\softwares\jasperreports-server-cp-5.1.0-bin\buildomatic>js-install-ce.bat

CakePHP HABTM how to save data

[sql] CREATE TABLE IF NOT EXISTS `permissions` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(45) NOT NULL, `displayName` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) CREATE TABLE IF NOT EXISTS `roles` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL, `company_id` int(11) NOT NULL, `dashboard_type` varchar(100) NOT NULL, PRIMARY KEY (`id`), KEY `company_id` (`company_id`) … Read more

ExtJS 4 Loading data into form panel from store/model or via form.load

[code] var contactModel = component.contactDetails; Ext.getCmp(‘EditContact_Form’).getForm().loadRecord( contactModel ); OR var form = this.getWebItemForm().getForm(); var data = this.getStore(‘WebItemsForm’).getAt(0); form.loadRecord(data); OR Ext.getCmp(‘patient-form’).getForm().load({ url:’formdata.php’, params:{moduleId:moduleId,action:’doAction’,activity:’getActivePatient’}, success:function(form,action) { var res = action.result; Ext.getCmp(‘patient_count’).setText(res.data.active_patient_count); }, failure:function(response) { } }); [/code]

condition in find function cakephp

How to get data on condition that start time only have current year data: [php] $event = $this->Event->find(‘first’, array( ‘conditions’ => array( ‘Event.id’ => $targetEvent[‘Eventtarget’][‘event_id’], ‘Event.stage’ => ‘created’, ‘year(Event.startTime)’ => date(‘Y’) ), //this is the condition we have to check ‘fields’ => array(‘Event.startTime’, ‘Event.city’, ‘Event.zip’, ‘Event.employee_id’) )); [/php]