Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This schema is...

 

under review

complete

 

Schema

The following fields determine which image is considered "primary" and if it should be displayed.

Procedure

MMI Field Name

CSpace field name

DB table.field

NXQL table:field

Notes

Required

Media

isPrimary

Is primary (boolean)

media_mmi.isprimary

media_mmi:isPrimary

related media records with a true value are displayed. One per collectionobject record.

Y

 

mediaStatus

Status (URN)

media_mmi.mediastatus

media_mmi:mediaStatus

either display, private. Only records set to display are used. Should never be both private and isPrimary == true

Y

...

The objType value is the Media document type for the unique MMI tenant, MediaTenant42.

If only one media record is displayed then it should be considered to be the primary media record.

REST API calls

An API call would follow the following format

...