2. Add Action
Caption: Internet Explorer
Type: Action
3. Add this code to on OnAction trigger:
CREATE(wSHShell,FALSE,ISSERVICETIER);
wSHShell.Run('iexplore.exe');
CLEAR(wSHShell);
4. When running the action you will get this message:
The Server has requested to run Windows Script Host Shell Object on your client.
• Allow this time, but ask next time
• Always allow
• Never allow
5. If you select either "Allow this time, but ask next time" or "Always allow", Internet Explorer will open.
Regards,
Claus
Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Please use the Attribute-field, to mark your posting as solved. Then a green checkmark is visible, next to your topic title. And you can remove the "[SOLVED]"-text in your title.
Answers
Name: wSHShell
DataType: Automation
Subtype: 'Windows Script Host Object Model'.WshShell
2. Add Action
Caption: Internet Explorer
Type: Action
3. Add this code to on OnAction trigger:
CREATE(wSHShell,FALSE,ISSERVICETIER);
wSHShell.Run('iexplore.exe');
CLEAR(wSHShell);
4. When running the action you will get this message:
The Server has requested to run Windows Script Host Shell Object on your client.
• Allow this time, but ask next time
• Always allow
• Never allow
5. If you select either "Allow this time, but ask next time" or "Always allow", Internet Explorer will open.
Regards,
Claus
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)