1

I am using a custom button having VF behaviour on contail detail page

<apex:page standardController="Contact" extensions="ContactController" action="{!logrecord}" showHeader="false" sidebar="false">
<script type = "text/javascript">
alert(document.location.href);
}
</script>
</apex:page>

The action logrecord is a page reference method return type which navigates to an internal URL.

Once I click the VF page custom button, How can I refresh the contact detail page? I tried with window object and DOM element as well but no luck.

Any suggestions?

1 Answer 1

1

Typically from VF page pagination is the preferred way to go. But currently there is a weird bug in lightning that prevents reflection of data updates on UI after pagination. For more info, please look into below link. Data updates are not reflected in UI after a Visualforce+Apex update in Lightning Experience

Thanks

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .