Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
72:scripting_dataset [2018/07/24 18:24] – [Metric Dataset Script Global Variables] bkkr | 72:scripting_dataset [2024/02/15 00:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
[[: | [[: | ||
- | ====== | + | ====== Global |
**Description**: | **Description**: | ||
- | |||
=== Methods === | === Methods === | ||
- | **Pkit** | + | **pkit | stages | $s** |
- | + | ||
- | Return: pkit | + | |
- | + | ||
- | Description: | + | |
- | + | ||
- | getProjectsByName(str) | + | |
- | + | ||
- | str is the name of a project | + | |
- | + | ||
- | returns an array of Project elements | + | |
- | getProjectByPath (str) | + | * Description: |
+ | * getProjectsByName(str) | ||
+ | * str is the name of a project | ||
+ | * returns an array of Project elements | ||
+ | * getProjectByPath (str) | ||
+ | * str is the path of a project, parent are separated by | e.g. Methodpark | Development | Projects | Project A | ||
+ | * returns the project element | ||
+ | * getRootProject() | ||
+ | * returns the root project element | ||
+ | * getCurrentProject() | ||
+ | * returns the project element where the report is located | ||
+ | * getCurrentProcess() | ||
+ | * returns the currently viewed process version of the active workspace | ||
- | str is the path of a project, parent are separated by | e.g. Methodpark | Development | Projects | Project A | + | **Dataset** |
- | returns | + | * Return: void |
+ | * Description: | ||
- | getRootProject() | + | **CurrentMetric** |
- | returns | + | * Return: MetricFolder |
+ | * Description: | ||
- | getCurrentProject() | + | **CurrentUser** |
- | returns | + | * Return: UserElement |
+ | * Description: | ||