alma920
...
Name: alma920.ps1
Created: 2018-12-04 by V.M. Downey for Houghton Technical Services
Description: Windows PowerShell v. 1 .ps1 is a Windows PowerShell script to create a text string for the Alma 920 field and copy the string to the clipboard
How to Use
- Create a new field in the Alma holdings record (F8)
- Type "920" for the field and "11" for the indicator values
- Double click on the alma920 shortcut (or use shortcut keys, if assigned)
- Select a cataloging type ($$a) value and a curatorial department ($$x)
- Click OK to save the 920 string to the clipboard
- Paste string into 920 field
Setup (Windows 10)
. This text string is saved to the clipboard and can be pasted into a blank 920 field in Alma.
Users not on Windows or without access to PowerShell will not be able to use this script. Creating an Alma template or copying and pasting from a notepad or text document are options if you cannot run this PowerShell script. See: 920 Statistics Field in the Holdings: Copying and Pasting Info. (ITS)
Download
Attachments | ||||||
---|---|---|---|---|---|---|
|
Installation
...
- Remove previously downloaded alma920.ps1 file and shortcuts (skip to step 2 if installing for the first time)
- Locate the previously downloaded .ps1 file
- If you have a shortcut, right click on shortcut and select "Properties"
- Select Shortcut tab
- Copy "Start in" folder path
- Navigate to the folder in Windows Explorer
- Delete the file
- Delete the Desktop shortcut
- Locate the previously downloaded .ps1 file
- Save new or updated alma920.ps1 to your computer by right-clicking on the file above and choosing "Save link as"
- Create a shortcut to alma920.ps1 (right
- Right click on file
- Select "Show more options"
- Select "Create shortcut"
- Move shortcut to Desktop (and, optionally, rename shortcut)
- Right click on shortcut and select "Properties"
- Select Shortcut tab
- Copy and paste following text into Target box: powershell.exe -ExecutionPolicy Bypass -NoProfile -WindowStyle Hidden -File alma920.ps1
- -ExecutionPolicy Bypass allows the script to run without being blocked or triggering security warnings or prompts
- -NoProfile does not load the PowerShell profile
- -WindowStyle Hidden hides the command prompt window
- (Optional) Assign shortcut keys using the Shortcut key box
- Change Run value to "Minimized"
- Click Apply
- Click OK
Note: The blank $$a can be left in the 920 field. When the record is saved, the blank subfield will be deleted.
View file | ||||
---|---|---|---|---|
|
Notes
- Default cataloging type ($$a) value is "a" (accession) and default curatorial department ($$x) value is "modbm" (Modern Books & Manuscripts).
- The date ($$d) and cataloger ($$f) values are computer-generated. The date is today's date; the cataloger is from the computer username.
- Double click on the shortcut to run the script
How to Use
- Create a new field in the Alma holdings record (F8)
- Type "920" for the field and "11" for the indicator values
- Double click on the alma920 shortcut (or use shortcut keys, if assigned)
- Select cataloging type ($$a), project name ($$p), and curatorial department ($$x). Leave $$p blank if not applicable.
- Click OK to save the 920 string to the clipboard
- Paste string into 920 field
Note: Blank subfields will be deleted when the Alma record is saved.
Default Values
Subfield | Name | Value | Default | Notes |
---|---|---|---|---|
$$a | Type of cataloging | Options: a, c, e, o, r | Blank | ITS uses only c (copy), m (modified), and o (original) |
$$d | Title cataloged date | Today's date (yyyyMMdd) | Current system date and time in yyyyMMdd format (for example, 20240319) | |
$$e | Library or Technical Services unit | HO | HO | Code assigned by KNITSS |
$$f | Cataloger | NetID | Computer's current username ($env:username) | See Find Your NetID (HUIT). In some cases, the current username may not be the user's NetID. |
$$p | Project name/code | Options: new acq., aargh, shelf-read, project | Blank | Subfield created by Houghton in 2024 |
$$x | Note | Options: earbm, fal, hew, hfa, htc, hyde, modbm, mus, pga, trc, wpr | Blank | General note subfield but used for curatorial department codes at Houghton |
Expand | ||
---|---|---|
| ||
Revision History
Name: alma920.ps1
Description: Windows PowerShell script to create a text string for the Alma 920 field and copy the string to the clipboard
Created: 2018-12-05 by V.M. Downey for Houghton Library Technical Services
Updated: 2022-06-14 by V.M. Downey to add new $$x codes and enlarge box size
Updated: 2024-03-12 by V.M. Downey to add $$a r for reparative description and $$p for projects
Updated: 2024-03-18 by V.M. Downey to change numbered label/list box variables to descriptive variable names