Manually create text objects from template
- Julie Wetherill
- Emily Kelly
- Former user (Deleted)
Owned by Julie Wetherill
Â
Overview
This is a description of the procedure to manually create a batch of Text objects from template in Batch Builder 2 (BB). Use this method when only several Text objects need to be created, processed in Batch Builder (BB) and deposited into the DRS. If you have many (over 10) objects to create, use the procedure to build objects automatically.
Procedure summary:
- Create a new project.
- Enter DRS deposit settings.
- Create object template.
- Add directories to template.
- Create new object batch.
- Move/copy files into corresponding directories on disk.
- Process the batch.
What you need before you start:
- Prepare several text files and 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 your Text objects and the digital files they consist of. For instance, you could use local classification or local accession numbers. Section 3 of this Guide for more information about file and object Owner Supplied Names.
Procedure:
- Create a new project.
- Open BB by double clicking on the executable.
- From the Project menu select New.
- In the dialog enter Project Name (used for internal tracking); select the directory on disk in which the project will be saved (click the ellipsis button to browse to it on disk); select Content Model "text" from the dropdown; click OK to continue.
- Enter DRS deposit settings.
- Click on "Deposit Settings" in Project Panel tree.
- 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.Â
Deposit Agent: type your HUID.
Deposit Agent Email:Â type your official Harvard email address.
- Create object template (called "batch template" in BB 1).
- Select "Object Template" in Project Panel on the left and then enter information in the Content Panel on the right.
- Enter Owner Code for objects you will be depositing (use all caps).
- Enter Billing Code for objects you will be depositing (use all caps).
- Select DRS Access Flag value for objects you will be depositing.
- Enter the URN Authority Path for your objects (Look up your Path here if needed: http://nrs.harvard.edu/urn-3:hul.ois:nrsstatusprod) – use all caps.
- Enter File URN Resource Name Pattern.
- (Optional) Switch to "optional" tab in the Content Panel to enter any additional 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 that metadata entered at the object level will override metadata entered at the template level.
- Add directories to template.
- Right click on "Object Template" in the Project Panel on the left and add a directory (The directory name starts with "text" but you can append a custom suffix).
- In the Project Panel on the left select the directory you just created.
- In the Content Panel on the right, choose "yes" from the dropdown list for the field "First Generation in DRS".
- Choose "HIGHUSE" for Usage Class.
- Note about Role: For text objects, role at the file directory level is optional. In any case, there is no "deliverable" role at this level and one is not needed since the DRS loader automatically generates a delivery URN for text files.
- Go to Project menu in the top menu bar and choose Save to save your project.
- Create new object batch.
- From the Batch menu select "New"; enter the name of the new batch directory to be created on disk and click OK. A new batch icon will be added to the Project Panel on the left (icon with red letter B).
- From the Object menu select New; leave Content Model at default (FROM TEMPLATE) and enter the name of the object (Object Owner Supplied Name). Click OK.
- Click on the "+" next to the Batch icon to expand it – it will show the icon for the new object.
- (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 additional optional metadata (for example descriptive metadata, roles or/and relationships that will apply to your object). For more about optional metadata see Sections 9. Adding Relationships, 10. Adding Descriptive Metadata, 11. Adding Supporting Content. Note that metadata entered at the object level will override metadata entered at the template level.
- Repeat if you have more than object.
- Move/copy files into corresponding file directories on disk (Done outside Batch Builder)
The directory structure on disk is the same as what you see in the Project Panel in Batch Builder if you expand the batch icon. If you need to check where on disk Batch Builder built the directory structure, click on Deposit Settings in the Project Panel on the left and look at the Project Path field at the bottom of the Content Panel on the right.- Copy the files into corresponding file directories in the object directory.
- Repeat if you have more than one object.
- Process the batch.
- In the Project Panel on the left right-click on the batch you want to process (batch icon with a red letter B) and select "Create descriptors and batch.xml."
- Builder will start processing the batch.
- When the batch is successfully processed you will see the following message: FINISHED - Creation of batch.xml and descriptors complete for batch: …
If you see any error messages, remedy the errors and re-process the batch.
On this page: