Tag Archives: Apex

Consuming External Web Service in Apex

While developing applications in force.com, there may be a requirement where we will need to consume external web service. There are many external websites which provide service and which can be consumed from our applications. One of the features we have in Salesforce is that we can easily consume External Web Services. Greytrix Releases First… Read More »

Prevent page redirection on Apex Command Button through JavaScript

We had a requirement to add client side validation on Apex Command Button but the page was getting redirected after successful validation. So, we tried the following JavaScript code to prevent the page redirection but it didn’t work.We then found a solution to stop redirection by adding the following code at the Command Click Event.… Read More »