Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
72:custom_reports_getting_started_creating_reports [2019/12/05 12:20] twn72:custom_reports_getting_started_creating_reports [2024/02/15 00:00] (current) – external edit 127.0.0.1
Line 27: Line 27:
   - Select a name for the Data Set, and click **Next**.   - Select a name for the Data Set, and click **Next**.
   - Enter the column names and data types   - Enter the column names and data types
-      - <font inherit/Courier New,Courier,monospace;;inherit;;inherit>Documentname</font>with type string +      - Documentnamewith type string 
-      - <font inherit/Courier New,Courier,monospace;;inherit;;inherit>State</font>with type String+      - Statewith type String
   - Click **Next**.   - Click **Next**.
   - Click **Edit Script**   - Click **Edit Script**
Line 37: Line 37:
 pkit.getCurrentProject().getEntities("containsProcess@SYSTEM") pkit.getCurrentProject().getEntities("containsProcess@SYSTEM")
 [0].getEntities("containsArtifact@SYSTEM"); [0].getEntities("containsArtifact@SYSTEM");
-for (i = 0; i <artifacts.length; ) {+for (i = 0; i <artifacts.length; i++) {
  var artifacts_instances =  var artifacts_instances =
  artifacts[i].getEntities("containsInstance@SYSTEM");  artifacts[i].getEntities("containsInstance@SYSTEM");
- for (j = 0; j <artifacts_instances.length; ) {+ for (j = 0; j <artifacts_instances.length; j++) {
  var artifacts_revisions =  var artifacts_revisions =
  artifacts_instances[j].getEntities("containsRevision@SYSTEM");  artifacts_instances[j].getEntities("containsRevision@SYSTEM");
Line 54: Line 54:
  }  }
 } }
 +
 </code> </code>
  
Line 59: Line 60:
  
 Enter a //Workspace Path //in the text input field. The //Workspace Path//  is the pipe separated path of workspace names in Stages. A report to be executed in the workspace **Company –> Projects and Products –> System A –> Software Project A**  would need the //Workspace Path//  to be set to **Company|Projects and Products|System A|Software Project A**. Enter a //Workspace Path //in the text input field. The //Workspace Path//  is the pipe separated path of workspace names in Stages. A report to be executed in the workspace **Company –> Projects and Products –> System A –> Software Project A**  would need the //Workspace Path//  to be set to **Company|Projects and Products|System A|Software Project A**.
-  - //Note: The Workspace Path value is needed for the preview, if the script contains the statement //<font inherit/Courier New,Courier,monospace;;inherit;;inherit>pkit.getCurrentProject()…</font>+  - //Note: The Workspace Path value is needed for the preview, if the script contains the statement //pkit.getCurrentProject()…
   - Click **Finish**  to continue the data set configuration and click **Preview Results**  to show a preview of the results.   - Click **Finish**  to continue the data set configuration and click **Preview Results**  to show a preview of the results.