Description
Creates a data.frame of database resources, types, parentIds and ids. This can be used to access a list of folders, forms, and sub-forms.
Usage
getDatabaseResources(database)
Arguments
Argument | Description |
---|---|
database |
Database tree or a database id |
Examples
dbTree <- getDatabaseTree("c9mudk52")
dbResources <- getDatabaseResources(dbTree)
folders <- dbResources[dbResources$type == "FOLDER",]
forms <- dbResources[dbResources$type == "FORM",]
subForms <- dbResources[dbResources$type == "SUB_FORM",]