Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added default values table and revision history

Name: alma920.ps1
Description: Windows PowerShell script

...

Name: alma920.ps1 
Created: 2018to create a text string for the Alma 920 field and copy the string to the clipboard 
Created: 2018-12-04 05 by V.M. Downey for Houghton Technical Services 
Description: Windows PowerShell v. 1 script to create a text string for the Alma 920 field and copy the string to the clipboard 

Setup (Windows 10)

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

Installation

  1. Save alma920.ps1 to your computer by right-clicking on the file below and chose choosing "save link as"
  2. Create a shortcut to alma920.ps1 (right click on file and select Create Shortcut)
  3. Move shortcut to Desktop (and, optionally, rename shortcut)
  4. Right click on shortcut and select Properties
  5. Select Shortcut tab
  6. Copy and paste following text into Target box: powershell.exe -ExecutionPolicy Bypass -NoProfile -WindowStyle Hidden -File alma920.ps1
  7. (Optional) Assign shortcut keys using the Shortcut key box
  8. Change Run value to "Minimized"
  9. Click Apply
  10. Click OK

Script Download

Attachments
uploadfalse
oldfalse

How to Use

  1. Create a new field in the Alma holdings record (F8)
  2. Type "920" for the field and "11" for the indicator values
  3. Double click on the alma920 shortcut (or use shortcut keys, if assigned)
  4. Select a cataloging type ($$a) value and a ), project name ($$p), and curatorial department ($$x). Leave $$p blank if not applicable.
  5. Click OK to save the 920 string to the clipboard
  6. Paste string into 920 field

Note: The blank $$a can be left in the 920 field. When the Blank subfields will be deleted when the Alma record is saved, the blank subfield will be deleted.

 

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.

 

 

Default Values

SubfieldNameValueDefaultNotes
$$aType of catalogingOptions: a, c, e, o, rBlankITS uses only c (copy), m (modified), and o (original)
$$dTitle cataloged date

Today's date (yyyyMMdd)

Current system date and time in yyyyMMdd format (for example, 20240319)


$$eLibrary or Technical Services unit

HO

HO 

Code assigned by KNITSS

$$fCataloger

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. 

$$pProject name/code

Options: new acq., aargh, shelf-read, project

Blank

Subfield created by Houghton in 2024
$$xNote

Options: earbm, fal, hew, hfa, htc, hyde, modbm, mus, pga, trc, wpr

Blank

General note subfield but used for curatorial department codes at Houghton