handpuppet - Thursday, December 10, 2015 10:54 AM:
I have several Forms on an ItemType. On Firefox, the command "top.OnSaveCommand()" saves the form and refreshes the Form just fine. However on Internet Explorer, I cannot figure out how to Refresh the Form on the ItemType when the user does an action in that Form.
Code I have already tried:
top.aras.clearClientMetadataCache();
-This does not refresh the form. The line being displayed still shows old values.
I have also tried:
var newver = top.aras.saveItemEx(document.thisItem.node,false);
top.aras.uiReShowItemEx(document.itemID,newver);
-This causes an error to be thrown.
Right now I use the following statement as a workaround: parent. onSaveUnlockAndExitCommand(); -This forces the whole ItemType to save, unlock and Close. And then when the user re-opens it all of the values are up to date. This is not an ideal solution however.
If anyone has any ideas it would be great appreciated!