Refresh a form.
Hello, I just joined a company and they use ARAS. I'm learning everything about the program as I go along.
I have a problem, I have looked in the forum, but no option solves the problem.
I have a form in which I update a field through an action, but I can't get it to refresh the screen and update the changed value. I've tried refreshing and blocking the item by hand, but nothing, no way.
I try with:
parent.onRefresh();
And with:
this.lockItem();
this.unlockItem();
But nothing. Any ideas?
Thank you very much.
Welcome do the happy world of PLM! :)
There are a lot of refresh variants. Each situation works different.
- Do you want to refresh Form or Grid?
- Do you use a C# Action or JS Action? For C# return your item. For JS parent.onRefresh() works in many scenarios. But for Actions you maybe can use aras.uiReShowItem(itemId, itemId);