>>Message imported from previous forum - Category:Scripts and Tips<<
User: mchartrand, originally posted: 2018-10-19 17:34:37 Id:149
This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.
-------------------------------
**_Dbaez:
Exists some tool analog to ViewX interface for WebX clients?
I would like to manage the object properties through scripting for a WebX client in the same way as when ViewX interfaces are used for ViewX._**
-------------------------------
bevanweiss:
Both WebX and ViewX have the same access to scripting, so problem solved 🙂
If you want the configuration GUI as exists in ViewX then you'd need to create this from scratch yourself.. it's a deliberate choice by Schneider to not include (that is.. specifically exclude) this from WebX.
__________________________
**_DBaez:
it is : D
Specifically I wish to use something like: CreateObject("Serck.ViewXApplication") for execution in WebX. There is an object like that for WebX execution?_**
_________________________
bevanweiss:
Yes.
If the client has ViewX installed.
CreateObject is not part of ViewX/WebX 'scripting'... it's part of the VBscript engine.
So it allows you to create an instance of a COM object. That you are happening to pass in the Serck.ViewXApplication COM reference just means that it will try to create an instance of the ViewXApplication. If the user happens to have this installed, then it will work, if they don't have it installed... well it won't work.
User | Count |
---|---|
188 | |
52 | |
16 | |
16 | |
15 |
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!