If you want to fetch the Field names recursively of Related objects up in Salesforce how to do this?
You have to first fetch the field names of one Object Name and scan the list to find the field type of Reference. Then you have to check the Parent Read more…
Description: If you need to run the moodle cron job to test any task which will be executed by the cron job then you can do so by typing the following url in the address bar of your browser:
If you want to improve utilization of your Amazon EC2 machine instances by stopping and starting instances at specific time intervals then you have to use a CloudWatch Event to trigger a Lambda function to start and stop your EC2 instances at scheduled intervals. Cloud watch is used to schedule Read more…
Zoho does not provide any direct mechanism to hide or unhide account information of any user. However, we have an alternative solution for this problem. We can use a listview to solve this problem. The List view can be used to customize records to show in Zoho.
For example Read more…
How to create new FTP user on 1and1.com for specific directory
1. Login to your 1and1.com account.
2. Control panel page will be opened, shown in following screenshot:
3. Click on Secure FTP Account shown at the left menu of Screenshot 1.
Following screen will be opened:
4 Read more…
Steps to integrate CyberSource payment gateway with CakePHP 2.*:
1. Download zip file of CyberSource library from “https://github.com/chrismeller/cybersource”.
2. Extract cybersource-master folder into cakephp vendors folder.
3. Create tests/config.php for test transaction with code and add credentials like below:
Handling attachments and Embedded content in Body of the Msg file read by IndependentSoft MSG.NET package
As we know that the MSG.NET package by IndependentSoft is used for creating, parsing, reading and converting the Msg email without requiring Outlook to be Installed on System.
The link http Read more…
With each theme we install, we get its default options panel that provides settings for the theme like color etc. But sometimes there can be a requirement of some more options that are not already in theme’s options panel. So, in that case, wordpress provides the facility to add Read more…
How to integrate Google Analytics with website and enable settings in Google Analytics for tracking various user activities on the website.
When we want to monitor visitors’ activity on our website in Google Analytics for that we need to add a script provided by Google Analytics on every page of Read more…
Suppose we have a table cake_test with a column named modified that contains epoch values.
$options = array (
‘fields’ => array (
“to_timestamp(modified) as New__original”,
“to_timestamp(modified) AT TIME ZONE ‘America/Denver’ as New__converted”
$result = $this->CakeTest->find ( ‘all’, $options );
In the above query we have Read more…
Salesforce gives us a limit of 2000 records to fetch from it using REST calls. But sometimes we need to get all the records from Salesforce. In Salesforce, there is a limit of API calls. By default, it gives 15,000 for a sandbox. Making salesforce call, again and again Read more…
Sometimes requirement arises to display a field value as column name in output and adjacent values in the same row below it as its values.
Suppose I have a table “students” with marks of each student in different subjects. Each student may not appear in every subject:
We want Read more…
Steps to auto generate AWS S3 Policy that you can use to provide access rights according to requirement:
→ Open S3 from AWS console:
1. Click on AWS bucket
2. Now, click properties
3. Click on Add bucket policy:
4. Now, Click on AWS Policy Generator:
Else use the Read more…
We are registering our customers using Stripe payment gateway where we are storing customer card details. We are doing recurring payment for customers periodic billing cycle. But if customer’s card expires or card number changes, we will not get any information about that and our billing cycle will Read more…
How to set logout URL for customer portal:
-> Go to Quick find box and write customer portal settings.
-> Now, open the portal that you want to edit.
-> Click on the edit button:
-> Enter the URL under the portal default setting→logout URL.
Note Read more…
Step to insert PHP Page in Salesforce:
1. Go to setup->Create->Tabs in Salesforce:
2. Under Web Tab, click on new button. Now you can select the Page layout you want to set – full page width or 2 columns with Salesforce.com slider:
3. Fill Read more…
Error: Blocked a frame with origin “http://xxx.xxx.xxx.xxx” from accessing a frame with origin “http://xxxxx:xxx”. Protocols, domains, and ports must match.
Scenario: We have a cakephp website. In one webpage say “Parent Page” of this website we have used iframe to Read more…
To download attachments from Zoho CRM from a module, like Contacts, fetch detail of all the attachments related to that module, then download each attachment by its attachment id using download file API in Zoho and finally convert blob to the image file.
For Examle: Download attachment from Read more…
Error: Call to a member function schema() on a non-object
Description: I was trying to execute the following cake query to fetch the records:
$records = $this->find ( ‘all’, array Read more…