Manually create target image objects from template

 

This is a description of the procedure to manually create a batch of Target Image objects from template in Batch Builder 2 (BB). This method is a good choice when creating a batch with a small number of objects. To create a batch with many objects (over 10), the automatic object creation procedure may be more efficient.

Procedure summary:

  1. Create a new project.
  2. Enter DRS deposit settings.
  3. Create object template.
  4. Add directories to object template.
  5. Create a new batch and objects.
  6. Move/copy files into corresponding directories on disk.
  7. Process the batch.
  8. Upload the batch to your dropbox.
  9. Check load report in email

What you need before you start:

  • Prepare several target images and (optionally) related Target Description Files (TDFs). Put them in a directory of your choice somewhere on local hard disk or network drive.
  • Decide what you will use for owner supplied names for Target objects and the files they consist of. Consult Naming rules for files, objects and directories of this Guide for more information.

Procedure:

Start at Step 5 if you are reusing a project to generate a new batch.

  1. Create new project in Batch Builder

    1. From main menu select Project > New
    2. Enter project data:
      Project Name: enter a name for your project (used for internal tracking only).
      Project Directory: select the directory where project will be saved (click ellipsis button to browse for or create a directory).
      TIP: use 'project' as part of the directory name to make it easier to identify later. (e.g. museum_slide_project)
      Content Model: select the "target image" value from the dropdown.
      Project Description (optional): Any information relevant to the project – will only remain locally.
    3. Click OK to continue.

  2. Enter DRS deposit settings:
    1. Click on "Deposit Settings" in Project Panel tree.
    2. Enter deposit data in the form:
      Batch Name Pattern: default - {owner}{batchDir}{yyyy}{mo}{dd}_{hh24}{mm}{ss}
      (This is the name for a batch that appears on DRS deposit reports. Batch name must be at least 3 characters long.)
      Success Email: type email and press enter. 
      Failure Email: type email and press enter. 
      Success Method: choose how you will receive load report – email, dropbox or both. 
      Deposit Agent: type your HUID.
      Deposit Agent Email: type your official Harvard email address.

  3. Create object template:
    Metadata added at this level will be applied to every object in a batch, unless overridden by specific object metadata that you define in later steps.
    1. Click on "Object Template" in Project Panel tree:
    2. Click on the 'required' tab and enter object metadata in the form:
      DRS Owner Code: your owner code (use all caps).
      DRS Billing Code: your billing code (use all caps). 
      Object Access: the DRS access flag. At this level, select the least restrictive value if the batch will contain a mix of public and restricted files.
      URN Authority Path: your NRS authority path. Use all caps. Look up your Path here if needed: http://nrs.harvard.edu/urn-3:hul.ois:nrsstatusprod. 
      File URN Resource Name Pattern: use default value {n} to generate a unique number.
    3. Click on 'optional' tab to enter any additional metadata (for example, descriptive metadata, roles and relationships that will apply to your objects). For more about optional metadata see Sections 9. Adding Relationships, 10. Adding Descriptive Metadata, 11. Adding Supporting Content.

  4. Add image directory:

    1. Right click on "OBJECT TEMPLATE" in the Project Panel on the left and select the 'add a directory…" menu option.
    2. Select 'image' from the drop down menu next to 'directory name'.
    3. Type in a name for your directory in the text box. The directory name will start with 'image' but the name you type will be appended to it. Tip: to make it easier to read, start your directory name with an underscore (_) So, typing '_tifs_and_jpegs' will result in a directory called 'image_tifs_and_jpegs'
    4. In the Project Panel on the left select the directory you just created.
    5. In the Content Panel on the right, choose "yes" from the dropdown list for the field "First Generation in DRS".
    6. Choose "LOWUSE" for Usage Class.

    Add additional metadata (optional tab):

    1. Select the new directory in the Project Panel on the left
    2. In the Content Panel, select the 'optional' tab.
    3. Scroll down to "Target Image File Metadata"
    4. Enter any file level optional metadata in the form]

5.  Add target description file (tdf) directory:

    1. Right click on "OBJECT TEMPLATE" in the Project Panel on the left and select the 'add a directory…" menu option.
    2. Select 'tdf' from the drop down menu next to 'directory name'.
    3. Type in a name for your directory in the text box. The directory name will start with 'tdf' but the name you type will be appended to it. In the Project Panel on the left select the directory you just created.
    4. In the Content Panel on the right, choose "yes" from the dropdown list for the field "First Generation in DRS".
    5. Choose "LOWUSE" for Usage Class.

     Add additional metadata (optional tab):

    1. Select the new directory in the Project Panel on the left
    2. In the Content Panel, select the 'optional' tab.
    3. Scroll down to "Target Image File Metadata"
    4. Enter any file level optional metadata in the form.

6.  Create new batch with objects:Metadata added at this level can be applied to a specific object, or specific file directory.

    1. Create new batch: select "Batch > New" from the main menu. Enter a name for the batch (will be used as the batch directory name on disk). Click OK.
      Tip: including the word "batch" in the name will help you remember the directory's purpose on the file system.
    2. Select the batch (with the red letter B) in the Project Panel
    3. From the main menu select Object > New; leave Content Model at default (FROM TEMPLATE) and enter a unique name for the object (Object Owner Supplied Name) and click OK.
    4. Click on the "+" next to the Batch icon to expand it – it will show the icon for the new object (blue letter O)
    5. (Optional) Select the object icon of your new object in the Project Panel and switch to "optional" tab in the Content Panel to enter any optional metadata (for example descriptive metadata, roles or/and relationships that will apply to your objects). For more about optional metadata see Sections 9. Adding Relationships, 10. Adding Descriptive Metadata, 11. Adding Supporting Content. Note: any metadata entered at the object level will override metadata entered at the template level.
    6. Repeat b-e if you have more than object.
    7. Save your project (Project > Save on main menu).

7.  Copy image files into batch object directories on disk (can be done outside Batch Builder).
     Note: if you need to check where the batch/object directories are on disk, click on "Deposit Settings" in the Project Panel tree and look at the Project Path field at bottom.
     ** Quick way to copy content files: you can drag files from your file system onto the object directories in the Batch Builder project panel.

8.  (Optional) Copy Target Description Files to the tdf directories.

9.  Process the batch:

    1. In the Project Panel tree, right click on the batch you want to process (batch icon with a red letter B) and select "Create descriptors and batch.xml." Processing messages will appear in the messages pane.
    2. When the batch is successfully processed you will see the following message: FINISHED Creation of batch.xml and descriptors complete for batch:

10.  Upload batch to dropbox.

    1. Open your SFTP client and log into your DRS2 dropbox account.
    2. Change to the "incoming" directory.
    3. Upload the batch: copy the entire batch directory to the "incoming" directory.
    4. Close the SFTP client. Batch processing will start.

11.  Check load report in email.

    1. Open your email inbox.
    2. Look for message from "drs2-support" with subject "DRS LOAD REPORT …"

For a more readable report, open the attached text file in Excel, or just copy the file listing and paste into Excel. If you see any error messages, remedy the errors and re-process the batch.

On this page: