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

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.

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