Hi,
I am working on XPages to get it displayed in 8.5.1 Notes Client and am able to view my xpages on the client. I created a button and an edit box by the names, BUTTON_STANDARD_CONVENTION_1 and FIELD_STANDARD_CONVENTION_1.
I have put the following code on my button (Client side script)
[b]var fieldVal=‘#{javascript:document.getItemValue(“FIELD_STANDARD_CONVENTION_1”)}’;
alert(fieldVal);[/b]
When I save and preview the XPage on notes client in 8.5.1, I get the following error message…
[i]
Unexpected runtime error
The runtime has encountered an unexpected error.
500 Exception
Error while executing JavaScript action expression
Script interpreter error, line=1, col=10: Reference error: ‘document’ not found
Reference error: ‘document’ not found[/i]
Can you help me resolve this issue,
Thanks in advance