# Script for admin to push user's preferences

**URL:** <https://community.fibery.io/t/script-for-admin-to-push-users-preferences/4668>\
**Category:** Get Help\
**Created:** [June 23, 2023, 7:35pm UTC](https://community.fibery.io/t/script-for-admin-to-push-users-preferences/4668 "2023-06-23T19:35:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccollins](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@ccollins](https://community.fibery.io/u/ccollins)\
**Post date:** [June 23, 2023, 7:35pm UTC](https://community.fibery.io/t/script-for-admin-to-push-users-preferences/4668/1 "2023-06-23T19:35:02Z")

</div>

Is there a script for an admin to set a user’s preferences through buttons? (specifically the one panel navigation). I don’t see any options printed in the console log for a user page that would let me do this, but just wanted to check. Would be very helpful.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [June 25, 2023, 7:39am UTC](https://community.fibery.io/t/script-for-admin-to-push-users-preferences/4668/2 "2023-06-25T07:39:00Z")

</div>

There isn’t, sorry.

---

<div class="post-metadata">

**Author:** ![ccollins](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@ccollins](https://community.fibery.io/u/ccollins)\
**Post date:** [June 25, 2023, 2:54pm UTC](https://community.fibery.io/t/script-for-admin-to-push-users-preferences/4668/3 "2023-06-25T14:54:30Z")

</div>

Thanks for confirming Chris. I feel like this sort of control is needed, or alternatively the ability as an admin to set the default preferences for new users on your workspace.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [June 25, 2023, 3:35pm UTC](https://community.fibery.io/t/script-for-admin-to-push-users-preferences/4668/4 "2023-06-25T15:35:16Z")

</div>

Slightly related (linked for the benefit of people who aren’t aware):

> [@Sidebar Space (aka App) sort order](https://community.fibery.io/t/sidebar-space-aka-app-sort-order/357/8):
>
> 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 sele…
