get_bo_folder_ressources: Retrieve all the children elements of a folder

Description Usage Arguments Value Author(s) References Examples

View source: R/functions.R

Description

Retrieves all the children ressources with name, description, id and type from a given Folder ID. The current file and the one to upload must have the same file structure (columns number, names, and order).

Usage

1
2
3
4
5
6
7
get_bo_folder_ressources(
  domain,
  folder_id,
  type = NULL,
  page = NULL,
  pageSize = 50
)

Arguments

domain

SAP Business Objects domain

folder_id

Folder ID in the CMS repository of the folder to retrieve its children from (Equals to the SI_ID variable).

type

Optional parameter to define the type of elements to retrieve. Must be a single element (Equals to the SI_KIND variable). Some of the types of the elements to retrieve are the following (incomplete list):

  • "InfoView"

  • "Webi"

  • "Publication"

  • "Folder"

page

For more than 50 elements within a folder pagination is necessary. Use this parameter to control pagination.

pageSize

Page size of the number of ressources to obtain. Maximum is 50, defaults to 50.

Value

Returns a tidy data.frame of all the children elements within the folder

Author(s)

Matthias Brenninkmeijer - https://github.com/matbmeijer

References

https://help.sap.com/viewer/db6a17c0d1214fd6971de66ea0122378/4.2.3/en-US/45aa8bae6e041014910aba7db0e91070.html

Examples

1
2
3
4
5
6
7
## Not run: 
get_bo_folder_ressources(domain = "YOUR_DOMAIN",
                         folder_id = 12345,
                         type = Webi
)

## End(Not run)

matbmeijer/BusinessObjects documentation built on June 20, 2020, 10:43 a.m.