Superbadge – Process Automation Specialist

Superbadge – Process Automation Specialist

PAS_final

Continue reading

Advertisements

How to refresh the parent tab from child tab in console app salesforce

Scenario 

Consider a scenario where we need to create a related object record of standard Case object, using the new button in the related list. For example, Case Asset is one of the related objects of the case object and its new button action is overridden with a custom page. The save action defined in the custom page routed us into the newly created case asset record page, after the successful record creation. But the parent Case tab will not automatically reflect this record creation and will require us going back to the Case tab and performing a manual refresh.Instead, can we refresh this from the child Case Asset tab itself?

Details

Console App - Case to Case Asset record creation

The image shows the parent case tab and it’s child tabs. External Page is the custom page which was opened from the details page in a new tab.

Continue reading

Action Function in Salesforce ?

Action Function is an apex component in visual force page. Apex: Form tag enclosed in the action function tag, which can be able to call the controller method. Action function invoked from the JavaScript as XHR (XML Http Request).   For Details

 <apex:form >
 <apex:actionFunction action="{!register}" name="registerStudent"
 rerender="showstate">
 <apex:param name="studentData" value="" />
 </apex:actionFunction>
 </apex:form>