0

We have an existing Option list within Sitecore Content Hub DAM. We made new items on this list and want to order it in a different way. But this is not being executed.

On further investigation once we try to reorder the list we get an JavaScript exception.

Uncaught TypeError: e.map is not a function
at s (OptionListDetailModal.tsx:245:36)
at X (OptionListDetailModal.tsx:258:25)
at onChange (OptionListValues.tsx:300:25)
at t.dragApply (Nestable.js:372:13)
at r.onDragEnd (Nestable.js:161:25)

The exception occurs on OptionListDetailModal.tsx:245

Error when ordering option list in Content Hub

2 Answers 2

1

Sitecore Support has confirmed the behavior.

It has been reported as a "bug" and has the reference of "MONE-46327".

0

Ya currently this is a bug on the Content Hub. But you can leverage Import/Export feature to change the order of items inside the option List.

enter image description here

Items of the option list are stored as the array inside the exported json file. You can reorder the values array property and again import the json file back to Content Hub, to change the order.

enter image description here

Hope this helps!!!

2
  • Thank you for this information I will consider it. Unfortunately I cannot let editors in CH let them do this every time they want changes to be done on a option list.
    – Danny Paul
    Commented Jul 5 at 13:25
  • @DannyPaul yes not from editor point of view. But as a developer we can change the order until the issue from Content Hub side is resolved.
    – ckhanna
    Commented Jul 5 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.