Record Editor

The Record Editor allows you to edit data records. Records can be linked to a media item or can be "orphans". Several media items can be linked to one record, and in order for a record to appear in the LUNA Viewer it must be linked to at least one media item. Edit one record at a time or perform a group edit.

In order to edit a record you must first be in context of a collection. Use the collection pull down menu in the upper left corner of the LUNA Library to select a collection. Refer to the breadcrumb trail to help you identify if you are in context of a collection.

If you don't see the edit icon in the upper left corner of an item you can't edit it. This is because either you don't have permission or you're not in the context of a collection.

On this page:

Edit Records by Item

To edit a record, begin by selecting it from the LUNA Library thumbnail view. You'll know you've selected the record when you see a border around it. Then using the Edit menu select "Edit by Item". If only one item is selected this will be your only option. Or, you can simply click on the Edit icon in the upper left corner of the thumbnail.

The record will then open in the Record Editor. Actions you can perform in the Record Editor:

  • If the record has media items linked to it you'll see them to the right of the data.
  • As soon as you start typing into one of the data fields the "Save" or "Save as Draft" options will appear.
  • And if you have the correct permissions you can also delete and copy a record here.
  • Click the checkbox above the record for the record to display in the LUNA Viewer.
  • Click on the + next to the media item to import additional media items to the collection and automatically link them to the record.
  • Click on the delete icon in the upper right corner of the linked media item to either unlink the item or delete it.

You can also use the Media Item Linking tab to link additional items to the record.

Edit Records by Group

To edit multiple records at the same time begin by selecting the items, either orphan records or linked records. Use the many search and label options to help you locate specific content to group edit. Once you've selected the item use the Edit menu to select "Edit by Group".

Once the Group Edit tab opens you'll see the data fields and can make your group edits to them. Check the box to the right of each field to indicate you wish the changes for those fields to be made. Use the Media Items Preview tab to see which media items are linked to the record and the changes you are making.

Tip: Be sure you pay attention to the "LUNA Viewer Display Option" pull down menu. This will affect whether or not the item displays in the LUNA Viewer or not.

Adding & Reordering Fields, Repeating Fields

Every field in a record is subject to the properties assigned to it in the templates tab of the Collection Manager. The many properties you can assign a field in a template are:

  • Field type: text or number
  • Text box type: single, expanding, or autocomplete
  • Required
  • Min and Max length of field
  • For display in LUNA Viewer
  • Searchable in LUNA Viewer
  • Sortable in LUNA Viewer

You can also create Field Groups. Field Groups represent groups of fields, a nice way to organize common content and allow for repeating fields. If in the template you've created a Field Group you'll see these in the record editor represented by the + and - symbols.

For example, in this screen shot of a template, "Dates" is a Field Group with "Creation Year" and "Century" as fields that can repeat:

And here is the same Field Group represented in the Record Editor:

By clicking on the + you can add another set of these fields. This makes it easy to catalog additional fields following the same structure as the schema. Click on the trash can to delete them, and on the arrows to move them up or down.

Tip: To import repeating fields via a .csv spreadsheet in the Uploader make sure each repeating field has the # sign and a successive number following it. To continue with the example used above, the .csv spreadsheet for import would look like this, where "Nickname", "Creation Year" and "Century" are repeating fields:

If you'd like to create an even more hierarchical data structure with Field Groups within Field Groups contact our support team for assistance, support@lunaimaging.com.

 

More Tips About Repeating Fields

  • When you have multiple values for the same field, for example, "Carpet" and "Fragment" for Subject, the Field Groups are a great way to support these kinds of repeating fields. Of course your data could just read "Subject: Spain; Europe", but in order to have both those terms be represented uniquely in the facets of the LUNA Viewer it's best to enter them separately as a repeating field. But if you choose to keep multiple values in one field, be sure you separate them with a semi-colon. This way they will parse out correctly in the LUNA Viewer data panel search:



  • In the LUNA Viewer thumbnail fields, repeating fields will be presented in brackets.

  • When doing a group edit in the Record Editor, the change will be additive. For example, if you select 2 records to group edit and they each have values in a repeating field then any new value you add will simply be added- it will not delete the existing data. Since LUNA doesn't know which of the multiple repeating fields you might want to replace with the new data, it will simply add it.