You need to sign in to do that
Don't have an account?
Page needs a refresh After Insert
I have a after insert, after update trigger that calls a class with @future annotation.
When i insert a record, a field in the record gets populated with a value based on existing records in the data base.
My trigger is working well but after i insert a record, I have to do do F5 (i.e refresh) to see the field value.
I don't have to do F5 on update, it's only on insert.
Is there any way to refresh the page after the (after insert) trigger is fired ?
I don't have any VFP. It's a standard page.
It's strange that sometimes the field is updated immediately after insert, without having to refresh.
i read a post with similar issue http://boards.developerforce.com/t5/Apex-Code-Development/Refresh-a-page-after-insert/td-p/504945 which doesn't resolve my problem.
Thanks.
http://boards.developerforce.com/t5/Apex-Code-Development/How-to-refresh-current-page-when-future-method-completes/td-p/333713