Skip to content

Commit 7c2102d

Browse files
authored
Update README.md
1 parent c4df441 commit 7c2102d

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

README.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Windows or Mac
99
- Upload files in bulk to Workday Drive. Load files for different Workday user accounts.
1010
- Send files to the Workday Drive Trash.
1111

12+
## CLAR Backup and Versioning
13+
- Quickly download and backup a unique version of a CLAR file.
14+
- Add the backup feature to the Workday Studio menu.
15+
1216
## CLAR Deployment: Why deploy CLAR files with CLARiNET?
1317
You might be asking yourself, "Why load a CLAR file from outside of Workday Studio?"
1418

@@ -56,6 +60,15 @@ You might be asking yourself, "Why load a CLAR file from outside of Workday Stud
5660

5761
Please note that a file is not deleted when sent to the trash. Files can be individually restored from the trash if needed.
5862

63+
## Download a snapshot of a CLAR file from Workday
64+
65+
- Enter `clarinet` on a line by itself. The application will prompt for all necessary information.
66+
- The `clarinet` command is **CLAR_DOWNLOAD**.
67+
- Run `clarinet --help` to view the available options.
68+
- Run `clarinet -w` to view the list of Workday environments and the associated numbers.
69+
- The downloaded CLAR file name will include the Cloud Collection name and a timestamp.
70+
- In addition to the CLAR file, the integration system configuration will be downloaded to an XML file.
71+
5972
## Loading a CLAR file to Workday
6073

6174
- Enter `clarinet` on a line by itself. The application will prompt for all necessary information.
@@ -66,9 +79,9 @@ Please note that a file is not deleted when sent to the trash. Files can be ind
6679

6780
## Run CLARiNET from the command line using positional parameters:
6881

69-
* %1 CLARiNET Command: `CLAR_UPLOAD`, `DRIVE_UPLOAD`, `DRIVE_TRASH`<br/>
82+
* %1 CLARiNET Command: `CLAR_UPLOAD`, `CLAR_DOWNLOAD`, `DRIVE_UPLOAD`, `DRIVE_TRASH`<br/>
7083
* %2 Path or Path and File Name<br/>
71-
* %3 Parameters for the command. Enter the **Cloud Collection** name when performing a **CLAR_UPLOAD**. For other commands, defaults will be used<br/>
84+
* %3 Parameters for the command. Enter the **Cloud Collection** name when performing a **CLAR_UPLOAD** or **CLAR_DOWNLOAD**. For other commands, defaults will be used<br/>
7285
* %4 Workday Environment Number (run `clarinet -w` to see the list of numbers)<br/>
7386
* %5 Tenant<br/>
7487
* %6 Username<br/>
@@ -87,6 +100,25 @@ Example #3: `clarinet CLAR_UPLOAD "C:\example_folder\Test.clar" Test`
87100
### Sample `clarinet` Run
88101
![image](https://user-images.githubusercontent.com/413552/129465336-0168f0e3-7e75-4309-83e1-8aebe9b9ae6e.png)
89102

103+
## Downloading CLAR files from Workday Studio
104+
CLARiNET can be run from within Workday Studio. The External Tools feature of Workday Studio (Eclipse) allows you to add custom executables to your Workday Studio menu After adding CLARiNET to Workday Studio, you can click on a project in Project Explorer and then click on the CLARiNET menu item to backup the CLAR file.
105+
106+
![image](https://user-images.githubusercontent.com/413552/152689476-49886183-06d6-4cfd-a147-190bdea8be19.png)
107+
108+
### External Tools Configuration
109+
1. In Workday Studio, click *Run* on the menu.
110+
2. Navigate to External Tools -> External Tools Configurations...
111+
3. Select *Program*. Click *New launch configuration* (icon in the farthest left position of the External Tools dialog box).
112+
4. Give the configuration a name. Example: "CLARiNET Production Backup"
113+
5. For my setup, I placed the CLARiNET executable in my Workday workspace directory.
114+
6. Select an executable in the Location field. Example: ${workspace_loc}\CLARiNET.exe (`${workspace_loc}` is an external tools variable that will convert to the workspace directory when run.)
115+
7. Set the Working Directory. Example: ${workspace_loc}
116+
8. Set the Arguments. Example: CLAR_DOWNLOAD "" "${project_loc}" {environment number} {tenant name} {username} {encrypted password}
117+
`${project_loc}` is an external tools variable that will convert to the project directory. CLARiNET will use the last directory name of the project path as the `Cloud Collection`.
118+
119+
- Run CLARiNET with the "-w" parameter to get the environment number.
120+
- Run CLARiNET with the "-e" parameter to generate an encrypted password.
121+
90122
## Credits
91123

92124
Command Line Parser - https://github.com/commandlineparser/commandline ([MIT](https://github.com/commandlineparser/commandline/blob/master/License.md))

0 commit comments

Comments
 (0)