Skip to contents

Returns the identifier of the view with the specified type, name and/or title in the table with the specified id_tbl on a NocoDB server.

Usage

tbl_view_id(
  id_tbl,
  type = "default",
  name = NULL,
  title = NULL,
  hostname = pal::pkg_config_val("hostname"),
  email = pal::pkg_config_val("email"),
  password = pal::pkg_config_val("password"),
  api_token = pal::pkg_config_val("api_token")
)

Arguments

id_tbl

NocoDB table identifier as returned by tbl_id(). A character scalar.

type

NocoDB view type. One of "default", "form", "gallery", "grid", "kanban", "map", "calendar", or NULL for any type.

name

NocoDB view name. A character scalar, or NULL for any name.

title

NocoDB view title. A character scalar, or NULL for any title.

hostname

NocoDB server hostname. A character scalar.

email

E-mail address of the NocoDB user to authenticate with.

password

Password of the NocoDB user to authenticate with.

api_token

NocoDB API token. Takes precedence over email and password if provided.

Value

A character scalar.

See also

Other functions to manage NocoDB table views: base_ui_acl(), tbl_views(), update_base_ui_acl()