Featured Post

How to call a JavaScript function of parent Visualforce page from iframe

Whenever there is cross domain and we try to call any JavaScript function of parent Visualforce page from an iframe included in the same page, with window.parent, we get the below error: Uncaught DOMException: Blocked a frame with origin "---" from accessing a cross-origin frame. What is …

How to call a JavaScript function of parent Visualforce page from iframe

Whenever there is cross domain and we try to call any JavaScript function of parent Visualforce page from an iframe included in the same page, with window.parent, we get the below error: Uncaught …

How to get session id in @future methods, Batch Apex jobs, or scheduled Apex jobs.

As you know you can not get session id in future method by calling UserInfo.getSessionId() method, if you call this you will get null value, so there are two ways by which you can get the session id…

How to create your own Interface and use it efficiently in Apex Salesforce

Go to 'Apex Classes', click 'New' and create a new interface like below: public interface IntegrationServiceInterface{     String doHttpCallout(String inputParam); } This is you…
Newest Oldest
Subscribe Our Newsletter