Category: Salesforce
Purpose of Security.salt and Security.cipherSeed in CakePHP
cipherSeed in CakePHP cipherSeed is used in Security::cipher() function to seed rand(). Seed means to give the initial value to rand() function to start and based on that the future values by rand() function are generated. In php, before 4.2.0
Java | Concept of Fail Fast and Fail Safe Iterators
The terms Fail Fast and Fail Safe iterators come into picture when we deal with Concurrency issue while programming in Java. In Java, while iterating over a collection if multiple threads modify the collection (such as adding a new element,
Heroku | The datasource configuration “default” was not found in database.php
Heroku throwing ERROR: “The datasource configuration “default” was not found in database.php” with database configuration already present for cakephp app. In one of our cakephp projects hosted on Heroku we used PostgreSql database. For configuring the database to connect to
How to convert an object into Json String in Unity3D Script (C#)
How to convert an object into JSON String in Unity3D Script (C#)? Let’s say I have a class: class User { String firstName; String lastName; String userName; } User obj = new User { firstName = “Shalini”, lastName = “Vashist”,
Ajax call example
How to call ajax function and then fill the data received from server in a table. Suppose the is html code of view. On change in selection of the dropdown getfun() function is called that will send an ajax call
Salesforce Mobile | Error: OAUTH_APPROVAL_ERROR_GENERIC
SALESFORCE MOBILE Authorization Error after successful login from mobile in salesforce connected app 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
How to install .box extension Virtual Machine
To install and use .box extension machine we have to follow these steps: 1. Installing Virtualbox: $ sudo apt-get install virtualbox $ sudo apt-get install virtualbox-dkms 2. Installing vagrant: Please don’t install the repository version, because this is very old and
NetSuite API | operator undefined for search
On filtering contacts coming from Netsuite CRM based on last modified date, gives error “operator undefined for search”: Below is the code that retrieves all the contacts from Netsuite CRM: ContactSearch custSearch = new ContactSearch(); ContactSearchBasic custSearchBasic = new ContactSearchBasic();
CSS3 Viewport units vh, vw, vmin and vmax explained
CSS3 Viewport units vh, vw, vmin and vmax explained 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
