function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
manjirimanjiri 

How to reRender detail section

I have embedded vf pages in standard layout.

In my vf on some button actions I want to reRender detail page. How can I do that?

I don't want to reload the whole page

 

Thanks,

Manjiri

Andy BoettcherAndy Boettcher

Put an Id attribute on your apex:detail tag - then from your commandButton / commandLink, specify the rerender attribute and reference your apex:detail's Id.

 

-Andy

manjirimanjiri

I am not using Apex:Detail tag in vf.

 

I am using standard layout.

In standard layout vf pages, I have added vf page.

 

 

Andy BoettcherAndy Boettcher

You could put a button in your embedded VF page - same logic applies as my previous post, but you'll be rerendering objects on the VF page.

 

-Andy