Switch to desktop version  
Custom config page with custom IOserver - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Java (https://techforum.ewon.biz/forum-53.html)
+--- Thread: Custom config page with custom IOserver (/thread-1161.html)



Custom config page with custom IOserver - AndreasABB - 30-01-2020

Hi,

I've developped a working application for the eWON Flexy205. I require an IOServer to scale the application.

I'd like to use a custom form (custom web page) to login my customer and pass these credentials on to the custom IOServer.

I've looked at the readme.txt wich specified that in order to pass parameters, you have to do so in the tag string. I'd like to avoid doing so.

Is there another (safer) way?

(Also, is there a way to publish all memory tags to OPC UA using JAVA code?)


RE: Custom config page with custom IOserver - simon - 31-01-2020

Andreas,

You can use the JvmForm to make this webform like https://developer.ewon.biz/content/custom-configuration-page-java

Regarding the OPCUA, you just have to activate the OPCUA server (OpcuaEnabled) in the CONFIG config using the SysControlBlock (https://hmsnetworks.blob.core.windows.net/www/docs/librariesprovider10/downloads-monitored/manuals/knowledge-base/kb-0052-00-en-ewon-config-txt.pdf?sfvrsn=753857d7_9)

Simon


RE: Custom config page with custom IOserver - AndreasABB - 04-02-2020

Simon,

I'd prefer to send the parameters through the HTTP request body - not through the URL.
Secondly I cannot see how to retrieve these parameters in the IOServer.


RE: Custom config page with custom IOserver - simon - 13-03-2020

Andreas,

Sorry for the delay,
Have you managed to work around your problem ?
I was just thinking that using the IOServer Java class could be a solution : https://developer.ewon.biz/content/java-0 (It is perhaps what you wanted from he beginning : "I require an IOServer to scale the application".)
In this case, the system will consider your program as a new IOServer. So the user will see a new IOServer to configure in the IOServers list (We call it JAVA IOServer).

Simon