1756-EWEB Module: Web Server and More - Rockwell Automation

1756-EWEB Module: Web Server and More - Rockwell Automation 1756-EWEB Module: Web Server and More - Rockwell Automation

rockwellautomation.nl
from rockwellautomation.nl More from this publisher
30.11.2012 Views

LAB 1: 1756-EWEB Module Highlight and copy (Ctrl + C) the data view URL. 88. Highlight the text that represents your data view. 89. Copy the text: press Ctrl + C 90. Paste the text into the text box labeled URL Page 18 Paste the text in the URL field. 91. Change the selection box labeled Group to “Write” and click the Add button. The display should now show Write under the Group With Access column for your Data View. Now, we need to apply an access restriction to the HTML file. 92. Type /user/web/UDXSL.html in the URL text box. 93. Change the selection box to Write and click Add. We have two other files which we would like to give access to the Data View. Let’s apply an access restriction to those files now. 94. Repeat the two steps immediately above for the files /user/web/UDWEB.html and /user/web/UDEmail.html. We are now prepared to view our example files. 95. Close all instances of Internet Explorer. 96. Reopen Internet Explorer and navigate to http://10.88.89.2xx/user/web/UDXSL.html. The table that appears has been generated using XSL. XSL stands for Extensible Style- Sheet language. Where as XML is used to structure data, XSL is used to format and display data. Like XML, XSL is a widely supported technology and because it is text-

ased, it is platform independent. Below the table are the contents of the files used to generate this table. Next we will see the same table generated using a different technology. 97. Navigate to http://10.88.89.2xx/user/web/UDWeb.html. On the surface, seeing the same table recreated over and over again isn’t exciting; but this example illustrates how another technology can be used to access our Data Views. This example uses a Microsoft ActiveX Object and JavaScript to parse the XML file. We could use Visual Basic to import the data into a Microsoft Office application, or we could even use and non-Microsoft solution on a non-Microsoft platform. Using XML in office 2003 97a. Navigate to the dataviews and copy the shortcut to one of them (rightclick); LAB 1: 1756-EWEB Module Page 19

ased, it is platform independent. Below the table are the contents of the files used to<br />

generate this table.<br />

Next we will see the same table generated using a different technology.<br />

97. Navigate to http://10.88.89.2xx/user/web/UD<strong>Web</strong>.html.<br />

On the surface, seeing the same table recreated over <strong>and</strong> over again isn’t exciting; but this<br />

example illustrates how another technology can be used to access our Data Views. This<br />

example uses a Microsoft ActiveX Object <strong>and</strong> JavaScript to parse the XML file. We<br />

could use Visual Basic to import the data into a Microsoft Office application, or we could<br />

even use <strong>and</strong> non-Microsoft solution on a non-Microsoft platform.<br />

Using XML in office 2003<br />

97a. Navigate to the dataviews <strong>and</strong> copy the shortcut to one of them (rightclick);<br />

LAB 1: <strong>1756</strong>-<strong>EWEB</strong> <strong>Module</strong><br />

Page 19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!