obj_runnable(path)
Returns a boolean value that indicates if the object at the given path can be opened by the current user. (Available as of version 10.23)
Syntax
obj_runnable(path)
Input
| Argument | Type | Description |
|---|---|---|
path |
text | A path to an object (e.g., table, folder, query) The If |
Return Value
Returns an integer value of 1 or 0 that indicates whether
or not the object at the specified path can be opened by the current
user.
Returns 0 if the path does
not exist.
obj_runnable(path) currently returns the same results as
obj_readable(path), but this behavior may change in the future.Example
The following example demonstrates the behavior of obj_runnable(path)
using the values in the example_path column specified via the
<table> element.
<table cols="example_path">pub.demo.retail; pub.demo.retail.item; pub.demo.retail.selectionlib; pub.demo.retail.foo; default.doc.interactive.trsgsg_qa; default.doc.interactive.doc_lib; foo; ; </table> <col name="example_path" format="width:35"/> <willbe name="obj_runnable_result" value="obj_runnable(example_path)"/>

path parameter is equal to the empty string,
the function returns information corresponding to the root-level folder in the 1010data Insights
Platform, which contains all of the top-level folders (e.g.,
pub, default,
uploads).