How can I read parent window's fields and pass it to a web resource in a child window (Modal)?
Something like below,

I need to read about 10 fields and use it in web resource.
I can retrieve with a service call, but just checking if i can read directly using getAttribute.
Tried few methods like this - window.opener.parent.Xrm.Page.getAttribute("myfield").getValue()
Thanks in advance.