Sidebar Space (aka App) sort order

Here’s a tip if you (as an Admin) want to ‘push’ the left menu ordering you have to any other users:

Create a button automation on the User db, and use the following script:

const fibery = context.getService('fibery');

for (const entity of args.currentEntities) {
    const userToCopy = await fibery.getEntityById(entity.type, args.currentUser['Id'], ['fibery/menu-rank']);
    await fibery.updateEntity(entity.type, entity.id, { 'fibery/menu-rank': userToCopy['fibery/menu-rank'] });
}

Then select any User and press the button. This user’s left menu will now be ordered to match yours.
(of course, depending on the permissions, they may not see all the same spaces as you).

6 Likes