Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > createApplicationData |
![]() ![]() ![]() |
createApplicationData
Syntax
system.DBAdmin.createApplicationData [#application: "ApplicationName
", #attribute: [#Attribute1
:value1
{,#Attribute2
:value2
,#Attribute3
:value3, #Attribute4
:value4
}]
Description
Multiuser Server command; adds a new DBApplicationData object to the server. Once created, DBApplicationData objects contain read-only data associated with a particular multiuser application.
Example
This statement creates a new DBApplicationData object for the movie called Poker with the attributes #dealerName
, #tableColor
, and #wallArt
:
errCode = gMultiuserInstance.sendNetMessage("system.DBAdmin. createApplicationData", "anySubject", [#application: "Poker", #attribute: [#dealerName: "Larry", #tableColor: color(#rgb, 155, 0, 75), #wallArt: member(3).media]])
It is important that at least one of the attributes contain a string or an integer so that the object can be identified with getApplicationData
or deleteApplicationData
.
The server's response looks like this:
[#errorCode: 0, #recipients: ["userName"], #senderID: "system.DBAdmin.createApplicationData", #subject: "anySubject", #content: [#application: "Poker"], #timeStamp: 189123520]
See also
sendNetMessage()
, getApplicationData
, deleteApplicationData
![]() ![]() ![]() |