Key value of the data you are saving. This is how data is retrieved from the repository. Must be a unique value. Limit 100 characters.
The data to save in the repository. Must be character data. No length limit
(optional) A description of the type of data; the description can be determined by the user. Limit 40 characters.
(optional) The GUID of the component from where the data was saved. Limit 40 characters.
(optional) The userId of the user who saved the data in the repository. Limit 40 characters.
(optional) The security groups that are allowed to retrieve the data.
An object that contains the following properites:
The error message.
A .t./.f. value. If hasError is .t., then an error occured. errorText will contain additional information about the error.
Used in a Web application to save data to the Web Application Repository.
Used in a Web application to save data to the Web Application Repository. Returns .t. if the data was saved, or .f. if it was not saved. The Web Application Repository is a table in a database (SQL or DBF) where the web application can read or write data - such as email templates or saved queries. See Web Application Repository for more information.
? a5w_SaveToWebAppRepository("name","Jane Smith") = .T. dim pResult as p ? a5w_GetFromWebAppRepository("name", pResult) = "Jane Smith" ? pResult = errorText = "" hasError = .F.