MMI Intake schema extension notes v1.11

Basic info:

Server: collectionspace.movingimage.us
Version: 1.11
Tenant: mmi
Tenant ID: 42

Intake procedural record

file paths:
/tmp/tenant-customizations-v1.9/ui/our-tenant/bundle/core-messages.properties
/tmp/tenant-customizations-v1.9/ui/our-tenant/html/pages/IntakeTemplate.html
/tmp/tenant-customizations-v1.9/application/our-tenant/base-procedure-intake.xml

Intake was entirely removing unused fields and making minor changes to list contents and/or field names.

Removing unused fields

The entire information groups of:

  • Object collection information
  • Valuation information
  • Insurance information

This was done by editing base-procedure-intake.xml and commenting/removing those information groups and all their fields.

Removed the following fields:

  • Object location information -> Normal location
  • Condition check/technical assessment information -> Condition check/assessment reference number

This was done by editing base-procedure-intake.xml and commenting/removing those specific fields.

Changing list contents

Entry reason had the list item enquiry removed.

Two other fields, entry method and current location fitness will use the UI interface to edit list items.

Remove unused fields from core.messages.bundle

The Intake section now looks like this

#intake:
#intake-insuranceRenewalDateLabel: Renewal Date
intake-currentLocationGroupLabel: Current Location
#intake-valuerLabel: Valuer
#intake-fieldCollectionMethodsLabel: Field collection method
intake-Label: Method
#intake-valuationInformationLabel: Valuation
intake-conditionCheckReasonsLabel: Condition Check Reason
#intake-normalLocationLabel: Normal Location
intake-entryNoteLabel: Entry Note
#intake-fieldCollectionNumberLabel: Field collection number
#intake-insurersLabel: Insurer
intake-returnDateLabel: Return Date
intake-conditionInformationLabel: Condition
intake-objectEntryInformationLabel: Object Entry
#intake-fieldCollectionPlaceLabel: Field collection place
intake-entryReasonLabel: Entry Reason
intake-locationInformationLabel: Location
#intake-fieldCollectionEventNameLabel: Field collection event name
#intake-fieldCollectionEventNamesLabel: Field collection event name
intake-depositorsRequirementsLabel: Depositor Requirements
intake-depositorLabel: Depositor
#intake-fieldCollectionDateLabel: Field Collection Date
#intake-fieldCollectionNoteLabel: Field collection note
intake-currentOwnerLabel: Current Owner
intake-conditionCheckMethodsLabel: Condition Check Method
intake-locationDateLabel: Location Date
#intake-valuationReferenceNumberLabel: Reference Number
#intake-insuranceReferenceNumberLabel: Reference Number
#intake-insuranceNoteLabel: Insurance Note
#intake-fieldCollectionSourcesLabel: Field collection source
intake-entryNumberLabel: Intake Entry Number
intake-conditionCheckDateLabel: Condition Check Date
#intake-insuranceInformationLabel: Insurance
intake-conditionCheckNoteLabel: Condition Check Note
intake-entryDateLabel: Entry Date
#intake-conditionCheckReferenceNumberLabel: Condition Check Reference Number
#intake-insurancePolicyNumberLabel: Policy Number
#intake-fieldCollectorsLabel: Field collector
#intake-objectCollectionInformationLabel: Object Collection Information
intake-conditionCheckersOrAssessorsLabel: Condition checker
intake-depositorGroupLabel:Depositor
intake-packingNoteLabel:Packing Note
intake-currentLocationLabel:Current Location
intake-currentLocationFitnessLabel: Current Location Fitness
intake-currentLocationNoteLabel: Current Location Note
intake-entryMethodsLabel: Entry Method
intake-entryMethodLabel: Entry Method
intake-updatedAtLabel: Modified Date
intake-updatedAtStartLabel: Earliest
intake-updatedAtEndLabel: Latest
intake-editUsernameLabel: Record Modified By
intake-createdAtLabel:
intake-tenantIDLabel:
intake-entryDateStartLabel: Earliest
intake-entryDateEndLabel: Latest
intake-returnDateStartLabel: Earliest
intake-returnDateEndLabel: Latest

Note the change for intake-conditionCheckersOrAssessorsLabel

Remove fields and information groups from the IntakeTemplate.html
Change two fields from controlled text (drop-down) to free text

1. Make the following changes to base-procedure-intake.xml

<section id="conditionInformation">
      <repeat id="conditionCheckMethods">
          <!--<field id="conditionCheckMethod" autocomplete="vocab-conditioncheckmethod" ui-type="enum"></field>-->
          <field id="conditionCheckMethod">
              <selector>intake-conditionCheckMethod</selector>
          </field>
      </repeat>
      <repeat id="conditionCheckReasons">
          <!--<field id="conditionCheckReason" autocomplete="vocab-conditioncheckreason" ui-type="enum"></field>-->
          <field id="conditionCheckReason">
              <selector>intake-conditionCheckReason</selector>
          </field>
      </repeat>
      
...

2. Make the following changes to IntakeTemplate.html

Change from <select ... into <input ...

                        <div class="info-pair">
                            <div class="header">
                                <div class="label csc-intake-conditionCheckMethods-label"></div>
                            </div>
                            <div class="content">
                                <!--<select class="input-select csc-intake-conditionCheckMethodx"><option value="">Options not loaded</option></select>-->
                                <input type="text" class="csc-intake-conditionCheckMethod" />
                            </div>
                        </div>
                        
                        <div class="info-pair">
                            <div class="header">
                                <div class="label csc-intake-conditionCheckReasons-label"></div>
                            </div>
                            <div class="content">
                                <!--<select class="input-select csc-intake-conditionCheckReasonx"><option value="">Options not loaded</option></select>-->
                                <input type="text" class="csc-intake-conditionCheckReason" />
                            </div>
                        </div>

Not sure if there needs to be any additional changes to anything in the app or UI layers...