Category: Salesforce
Mobile App development | Flipper view not showing some images
When mobile developers create an application, whether in Android or iOS, they often face challenge of mobile device fragmentation. Mobile device fragmentation in simple words means when an application is not able to run on some devices while it runs
Salesforce – To Fetch and process more than 50000 records
To Fetch and process more than 50000 records in Salesforce Problem We want to fetch more than 50000 contacts and want to process them but are not able to do that due to salesforce Query limit. Solution Batch apex is
PHP Code | Connect to remote SFTP location on Windows
We need to use the phpseclib library to connect to SFTP server: $sftp = new Net_SFTP(‘www.webnersolutions.com’); if (!$sftp->login(‘user_name’, ‘password’)) { exit(‘Login Failed’); } $this->downloadfiles($sftp->nlist()); //to download all files on remote root folder
Amazon S3 and PHP | How to list only top level folders in a bucket
Sample code: $result= $client->listObjects(array(“Bucket” => $bucket,”Delimiter” => “/”)); $files = $response2->getPath(‘Contents’); foreach ($result[‘CommonPrefixes’] as $object) { echo $object[‘Prefix’]’; } This will list only the top level folder. If we do not use delimiter with listObject function then it will give
Salesforce | How to recover data deleted by mistake
Salesforce provides facility to create multiple copies of organization’s data in different environments for testing and training purpose without affecting the original data. Sandboxes are of three types – Configuration Only Sandbox, Developer Sandbox, Full Sandbox. Configuration only Sandbox is
Salesforce to Amazon S3 file upload – Heap Limit Exceeded
How to resolve “Heap Limit Exceeded” error while uploading large files to Amazon S3 from within Salesforce. Amazon Toolkit from Force.com has inbuilt classes and methods that facilitate connecting to Amazon S3 from Salesforce and uploading files to Amazon S3
How to get all the checked values from the Table view in iOS
Table view is not like listview on which you can iterate over cells and get values. Tableview in iOS has reusable cells i.e. every time you scroll it, old cells don’t go up or down but the existing cells are
How to display Courses on dashboard In Moodle/Totara
To display any course on Dashboard of Administrator or a Student, Admin/Student must be enrolled with the course. Following are the steps for Administrator to enroll himself or some other user to a course in Moodle/Totara: Open the course that
Providing technical support to Salesforce clients without their credentials
When clients install managed package developed by us into their Salesforce Organization, if they face a technical problem and need us to debug our package in their Organization, we need their Salesforce login credentials. But most of the times clients