The Web Object represents a DataWeb Application. The Web Object provides information about the current application, such the application's name, URL, and the data table contained in the application.
||A read only property that provides the name of the current application.|
||A read only property that provides the domain of the current application.|
||A read only property that provides the URL of the current web|
||A read only property that provides the email address of the owner of the application.|
||A read only property that provides an object listing all of the data tables within the application.|
||Retrieves the build of the platform on which the application is currently running.|
||Retrieves the version of the platform on which the application is currently running.|
||Creates, retrieves and deletes tables in the application.|
The properties of the Web object are demonstrated in the code below. Assume there is an application named "stevehContactManager", owned by "steveh", and which contains six data tables: "AddressBook", "Log", "wscm_companies", "wscm_contacts", "wscm_contentType", "wscm_settings".
for(var prop in web)
response.write(prop + ":" + web[prop]);
for(prop in web.tables)
response.write(" " + prop + "<br>");