Tag: Zoho Features
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 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
zoho creator | How to Lookup Specific Data from a CRM Module
Lookup of a CRM module from Creator Form based on some criteria – One of our clients required lookup to Contacts module in Zoho CRM on a Creator form to select a contact. Lookup to Contacts module can be placed
How to Remove Empty Objects From Array In CakePHP
In CakePHP, to remove empty or ‘false’ values from an Array, use CakePHP’s static ‘filter’ method contained in ‘Hash’ class: $sampleArray = [ , false, true, 0, [‘one, ‘two, ‘three’] ] $sampleArray = Hash::filter($sampleArray); Here’s the array after filter method
How to Optimize Layout for Different iOS Screen Sizes
We were stuck on a problem with new auto layout interface while trying to adjust contents within the screen but changing the property for a single element was disturbing whole layout. Optimized layout was working only for one device for
SFDC Apex – Get list of all the file names from Amazon S3 bucket
I have two buckets in AWS S3. For one of the buckets, code given below returns all the file names (more than 1000) but the same code returns only 1000 file names for 2nd bucket: ObjectListing objects = s3.listObjects(“bucket.new.test”); do