Hello Experts,
I am trying to use the Sendkeys F5 methodology when updating a calculated field in the Parent Page when a line from Child List Part is updated. I am hoping to use the dotnet (systemwidnwosformssendkeys dotnet system.windows.forms) as it doesn't seem to pop up the automation dialog. See below:
SystemWindowsFormsSendKeys DotNet 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089'.System.Windows.Forms.SendKeys
//Update a page
SystemWindowsFormsSendKeys.SendWait('{F5}');
SystemWindowsFormsSendKeys.SendWait('{F5}');
But this doesn't seem to work. I don't see the calc fields from Parent page updating.
However, if I use automation (see below), it works. But I hate that the automation dialog always pops up even though only initially.
IF ISCLEAR(wshShell) THEN
CREATE(wshShell,FALSE,TRUE);
wshShell.SendKeys('{F5}');
wshShell.SendKeys('{F5}');
Can you advise why the dotnet technique doesn't seem to work?
*This post is locked for comments