ws.CurrentDocument.Refresh from Embedded View Action Button crashes client?

For better Picklists I use a Form with an embedded view. View actions fill fields in the document (filling a list with UNIDs).I want to achieve a Refresh at the end with

Call ws.CurrentDocument.Refresh

This does crash my 8.5.0 FP1 client?Before the client crashes I see that the Refresh worked.

Has anyone else experienced this behaviour?

Update: Sorry, I just saw that I am in the wrong forum but cannot delete my post.

Subject: try WS reloadwindow

I think, It crashes in all versions. I have faced this with 6.5 & 7 version.

call the below code in the view action

Call uidoc.Save 'UIDocument object

Call ws.ReloadWindow 'reload window

Hoep this works…

if the above did not work…try this…

Have your embedded view in a seperate dialog box and from the main doc open the dialog. Have the fields to be populated created in the dialog form also. So when the view action updates the fields in the dialog and closed, those values will be updated in the main doc.

Subject: Ok, thank you

I am already using a dialogbox. I will fiddle a bit with your other suggestion.