Why has an Object URL changed after adding new Objects to a Collection?
Symptom
- An object URL is different after adding new objects to a collection
Applies to
- CONTENTdm
Resolution
Permalinks to objects in CONTENTdm follow this pattern: https://cdm#####.contentdm.oclc.org/digital/collection/COLLECTIONID/id/###
An example of this can be found on the CONTENTdm Demo Site: https://cdm15700.contentdm.oclc.org/digital/collection/oclcsample/id/159
When browsing a collection for an item the phrase </rec/###> will be appended to the end of the object URL. This phrase represents the relative position of the object within the browsed results (i.e. position ### of ### results). When the total number of objects within a collection is updated—whether by adding, combining, or deleting objects—the relative position of an object might no longer be valid. When browsing the same collection as above with results displaying as "Sort By: Title Ascending," the URL would become https://cdm15700.contentdm.oclc.org/digital/collection/oclcsample/id/159/rec/1
Adding an object to the collection that comes before the example object when "Sort By: Title Ascending" would change the relative position of the example object when browsing the collection, but it would not change the permalink.