You need to sign in to do that
Don't have an account?
Pankaj Pandey 22
refresh visualforcepage change to public site
Hi All,
Recently I have made some changes to my Visualforce page picklist value. New picklist value is getting displayed on the preview section of the visual force page but same is not reflecting on the public site where this page is used.
Do I need to perform any other action in order to push new code changes of visual force page to the public site?
Thanks,
Pankaj Kr Pandey
Recently I have made some changes to my Visualforce page picklist value. New picklist value is getting displayed on the preview section of the visual force page but same is not reflecting on the public site where this page is used.
Do I need to perform any other action in order to push new code changes of visual force page to the public site?
Thanks,
Pankaj Kr Pandey
1. VisualforcePage uses cache, hence old value are beng dsplayed from cache. try using cache=false tag for VF page attribute
2. #1 should resolve the issue if not the controller to be initialised again, so add follwoing String to your VF page
&cacheControl='+system.now().format('yyyyMMddHHmmssFFF')
to make it unique for each page view.
3. Check if you areusing the Javascript and those variable are still using the old values from mergeField. You may have to refresh the script tag so that new values are fetch from the controller