revXMLRPC_Documents

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLRPC_Documents()
Associationsxml-rpc library
Summary

Returns a list of all XML-RPC documents in memory.

Introduced2.5
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
revXMLRPC_Documents()
if tMyRequest is not among the lines of revXMLRPC_Documents() then loadRequest tMyRequest
Values
NameTypeDescription
return

The revXMLRPC_Documents function returns a list of document IDs, one per line.

RelatedKeyword: line
Glossary: Standalone Application Settings, standalone application, return, XML-RPC, XML-RPC document, LiveCode custom library
Command: revXMLRPC_DeleteAllDocuments
Function: revXMLRPC_Execute, revXMLRPC_CreateRequest
Library: XML-RPC library
Control Structure: function
Securitydisk, process
Description

Use the revXMLRPC_Documents function to find out which XML-RPC document|XML-RPC documents have been created, or when you want to perform an action on all the XML-RPC documents you're working with.

Each document ID is the number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request, or the successful revXMLRPC_Execute function when you executed an XML-RPC request.

If the revXMLRPC_Documents function encounters an error, it returns an error message starting with "xmlrpcerr".

Important: The revXMLRPC_Documents function is part of the XML-RPC library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "XML-RPC" library checkbox is checked.

Tagsnetworking