You need to sign in to do that
Don't have an account?
Chethan SN
How to refresh VisualForce page on completion of action on Apex:Page tag
Hi All,
We have a visual force page with an action in apex:Page tag. This page is called on click of a quick action. This page is embedded as quick action for a custom object. I want to refresh the page once the action gets completed. Can anyone please give possible solution to this ?
<apex:page extensions="WorkOrderComplete" sidebar="false" showHeader="false" action="{!WorkOrderCompleteAction}" StandardController="Work_Order__c">
</apex:page>
Thanks and Regards,
Chethan.S.N
We have a visual force page with an action in apex:Page tag. This page is called on click of a quick action. This page is embedded as quick action for a custom object. I want to refresh the page once the action gets completed. Can anyone please give possible solution to this ?
<apex:page extensions="WorkOrderComplete" sidebar="false" showHeader="false" action="{!WorkOrderCompleteAction}" StandardController="Work_Order__c">
</apex:page>
Thanks and Regards,
Chethan.S.N
Hope this will help you.
Thanks
Vinod
Thanks for reply.
I have used Pagereference at method definition and returning something like this.
return new ApexPages.StandardController(currentWorkOrder).view();
This is same as your code isn't it ?
Thanks,
Chethan.S.N
This custom object's standard page is displayed after the action gets completed. I am just changing the page layout through the workflow based on status change by action.
Flow : quickAction --> VF Page --> Apex Pageref (Action) --> return to standard Detail page (Page layout change by workfllow).