Refresh Generic Object Instance

Latest response

Hi,
I created instances of Generic object class and had custom buttons to update and refresh the generic object instances via Sevices. When I tried updating the generic object instance, it gets actually updated (checked via api) but not reflecting in the UI. I could see its updated when I refresh the page manually.
Is there a way that I can refresh the page from the ruby code implementation, or reflect the changes in the UI.
Please advice.

Code reference :

this_go = $evm.root['generic_object']
this_go.attributes = {
urgency: "#{result['urgency']}",
short_description: "#{result['short_description']}"
}

this_go.save!

The above saves the generic object instance but not reflected in the UI immediately. Is it a bug?

Thanks

Thanks in advance

Responses