When a user requests their Salesforce data from within the external application (the consumer’s page), the user must be authenticated by Salesforce.
After login into the native salesforce mobile app using the Oauth login app gives Read more…

Sometimes we need to fit our webpage content into viewport (visible browser window). Some developers achieve this using Javascript by checking the size of viewport and then they resize the content accordingly to fit it in the viewport. When user resizes Read more…

Some situations occur when we become unable to pass the data from visualforce page to apex controller directly. For example – Suppose you have three divs (todoDiv, doingDiv, doneDiv) that are showing some tasks through the List from apex controller. It has the drag and drop functionality that allows the Read more…

To locate elements in Selenium WebDriver, we can use findElement() for single element and findElements() to locate a list of elements satisfying the search criteria. List of different ways in which both the methods can be used are given below:

The heroku command-line tool is an interface to the Heroku Platform API and includes support for things like creating/renaming apps, running one-off dynos, taking backups, and configuring add-ons. It is generally installed in your local development operating system.

Base64 Encoding/Decoding with javax.xml.bind.DatatypeConverter in java 6 and 7.

Solution:
javax.xml.bind.Datatypeconverter class is the built in class inside JRE. We don’t need any third party library as we need in case of Cipher encoding/decoding method. javax.xml.bind.DatatypeConverter.printBase64Binary(byte Read more…

Description: Using the salesforce mobile iOS-native SDK we can retrieve the list of objects using “requestForDescribeGlobal” SDK method. This method will return the data of all the objects from your salesforce org.

While fetching data from database, in SQL query I had ‘order by’ clause but the results were not sorted when the data was in alphanumeric form. The reason for this is that SQL sorts character by character from left to right. So it places c10 before c2 as 1&lt Read more…