Category Archives: GUMU™ Salesforce

Invoke Future Methods through Apex Trigger for web service callout

While developing applications in force.com, sometimes we need to consume external web service in apex trigger. But, callouts cannot be made from apex triggers as that restricts database transaction until the callout is completed and the time limit for this is up to 120 seconds. You can find other callout limits here. The only way… Read More »

Set controller variable/properties from JavaScript

Sometimes we need to pass values to apex code or assign the controller properties in JavaScript. Here is the trick that we can use to set a value to an apex variable/properties from JavaScript code using <apex:inputTextarea>  tag in Visualforce Page. <apex:inputTextarea id=”setDataStringValue” value=”{!setDataStringValue}” styleClass=”exampleDataToSetVariable” style=”display:none;”/> We will set the value ‘data’ in JavaScript function… Read More »

Assign custom object permissions to Standard User in Salesforce

One of the key tasks of Salesforce administrator is to assign custom object permissions to the standard Users in Salesforce. One can simply assign a user with administrator rights and can avoid the trouble of assigning privileges to different user groups. However, this would mean providing users with unrestricted access, which could potentially lead to… Read More »