You need to sign in to do that
Don't have an account?
Bramha1
Update a field while we click on record(i.e @ refreshing the detail page)
Hi,
I have a Inline VF Page from an Object. when i want to view a record(detail page), i want to update a field in other Object. Is this possible? becoz i have been trying and if i have a update statemnet in the method the InLine Vf Page content is not displaying. The error is Content cannot be displayed: DML currently not allowed . Any idea about this?
Cheers
Bramha
You normally get an error like this if you are putting a DML operation inside a class constructor, or within an object getter/setter method or in a VF component that does not have the allowDML=true attribute set.