3 comments

  • 0
    Avatar
    Stephen Chiu

    Hey Eli,

    We have a Connection Entity field called "Sort Order" that you can find when you're in a Playlist Detail Page and viewing a Versions tab. In the field chooser, it can be found under the Playlist-Specific Fields. These Connection Entity fields are specific to the Version in that Playlist, so it's not a Version field, but instead a Playlist-Specific Version field. You'll notice that when you bring these fields into view, they are shaded a different color grey than normal fields. These Connection Entity fields are also referred to as Join fields.

    Pro-tip: When you drag and drop the sort order while in the Review Notes App, it'll update this Sort Order field. Hope this helps!

    Cheers,

    Stephen

  • 0
    Avatar
    Philip Scadding

    Sorry for replying to an old resolved post, but seeing as this was what google threw up, I thought it would be the right place.

    I wondered if anyone knew how to achieve the same thing but through the api?

    I have a script where I am creating the versions and the playlists, and I know the order, how should I set this?

  • 0
    Avatar
    Brandon Foster

    Hi Philip,

    The order for Versions in a Playlist are stored on the connection entity between the Playlist and linked Versions. This entity is called the "PlaylistVersionConnection." If you perform a schema read for the entity:

    >>> sg.schema_field_read('PlaylistVersionConnection')

    You'll get the full set of accessible fields. The most important one is the sg_sort_order, which stores the sort information.

Please sign in to leave a comment.