Hi,
I would like to have the below functionality-
When a person from M-01 area launches the application, machineboard for this machine should display directly with 6 menus above. he should not be able to navigate to other icons.
Similarly when a person from M-02 launches, same applies and he will not be able to view other machine details.
This user login information can be distinguished with their login IP. for eg :if 172.16.10.90 is for M-01, 172.16.10.91 is for M-02.
Client event script Used:
ipAddress = system.tag.read("[System]Client/Network/IPAddress").value
query = """SELECT Process as Process , MachineID as MachineID FROM cdcms.tbl_ip_details where IP_Address=?"""
userInfo = system.db.runPrepQuery(query,[ipAddress])[0]
window1="Main Windows/Machine/Machine Board"
window2="Main Windows/Machine/Machine Board-East Dock"
window3="Main Windows/Machine/Machine Board-West Dock"
system.nav.openWindow("window1",{"Process":Process},{"MachineID":MachineID} )
system.nav.openWindow("window2",{"Process":Process},{"MachineNo":MachineID} )
system.nav.openWindow("window3")

I am getting below error:
