You need to sign in to do that
Don't have an account?

I have apex column to display the formula field on visualforce page. I am rendering the page on submit of the record and then displaying the newly created record.
I have apex column to display the formula field on visualforce page.
I am rendering the page on submit of the record and then displaying the newly created record.
But issue is formula field value is displaying blank in the results section.
Whereas if i go to record detail page I see the value but not on the vf page.
I am rendering the page on submit of the record and then displaying the newly created record.
But issue is formula field value is displaying blank in the results section.
Whereas if i go to record detail page I see the value but not on the vf page.
Formula fields are only evaluated when the record is retrieved from the database, so if you create the new record and then just display that as-is, the formula field will be missing. You'll need to insert the record, which sets its id, then query the record back from the database (including the formula field) and display that.