CustomSelector does not show selected objects

Enonic version: 7.6.1
OS: Windows 10 and Ubuntu 22.04

During adding new publications I can see them at the editing window (left) and at a preview in Content Studio.
But after publishing, closing and reopening the editing window in Content Studio I can see no selected publications at the left but in preview only (right).
So the issue is that when you have selected publications, they should be visible, and with that possible to remove them later, in the left column.

Hey,

You need to write the code to look up the values for the selected publications yourself in your CustomSelector-service.

You can have a look at this application, where the first thing I do is look up the values based on req.params.ids.

Good luck!
– Tom Arild

4 Likes

Thanks. The provided example helped fix bug

2 Likes