# Can we add a custom link to the user settings?

**URL:** <https://community.cumulocity.com/t/can-we-add-a-custom-link-to-the-user-settings/2200>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [October 26, 2023, 10:31am UTC](https://community.cumulocity.com/t/can-we-add-a-custom-link-to-the-user-settings/2200 "2023-10-26T10:31:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhassan](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/mhassan/32/4078_2.png) [@mhassan](https://community.cumulocity.com/u/mhassan)\
**Post date:** [October 26, 2023, 10:31am UTC](https://community.cumulocity.com/t/can-we-add-a-custom-link-to-the-user-settings/2200/1 "2023-10-26T10:31:00Z")

</div>

#### _ **Product/components** used and **version/fix** level:_

10.16

#### _Detailed explanation of the problem:_

We use SSO for logging into C8Y, and our user accounts are managed by Azure AD. When users wish to change their name, phone number, or other details, the default user settings option is disabled with a warning: ‘Some user settings are not editable here because they are managed via your authorization server.’

To address this, we’ve created a URL to our Azure AD profile editor. However, we’re unsure about the best place in C8Y to provide this URL so that users can easily access and edit their profiles. We believe that adding the profile editor link in the ‘user settings’ would be ideal. Is there a way to add a custom link in the out-of-the-box area for this purpose?

#### _Error messages / **full error** message screenshot / **log** file:_

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/b/b/bbf4bc0ecd7f4482341fdf8da3efa25ce78e31cb.png)

#### _Question related to a **free trial** , or to a **production (customer)** instance?_

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [October 27, 2023, 8:38am UTC](https://community.cumulocity.com/t/can-we-add-a-custom-link-to-the-user-settings/2200/2 "2023-10-27T08:38:42Z")

</div>

Hi Saif,

there is no option to add a custom link in this area.

What you might be able to do, is to remove the default `User settings` user menu item and place a custom dialog in front of it that would give a user a hint in case it is an SSO user on where to perform the actual changes.

If the user wants to still see the default dialog to e.g. change their language you could use this code to open the default dialog:

```auto
this.bsModalService.show(UserEditModalComponent);

```

Regards,  
Tristan

---

<div class="post-metadata">

**Author:** ![mhassan](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/mhassan/32/4078_2.png) [@mhassan](https://community.cumulocity.com/u/mhassan)\
**Post date:** [December 9, 2023, 4:59am UTC](https://community.cumulocity.com/t/can-we-add-a-custom-link-to-the-user-settings/2200/3 "2023-12-09T04:59:24Z")

</div>

Thanks @Tristan_Bastian, can you help me how can i remove the default user setting and replace it by custom dialog?

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [December 11, 2023, 1:35pm UTC](https://community.cumulocity.com/t/can-we-add-a-custom-link-to-the-user-settings/2200/5 "2023-12-11T13:35:13Z")

</div>

Hi @mhassan,

The `UserMenuService` has a [remove method](https://resources.cumulocity.com/documentation/websdk/ngx-components/injectables/UserMenuService.html#remove), that you should be able to call in order to remove the item you would like to remove.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [June 8, 2024, 1:36pm UTC](https://community.cumulocity.com/t/can-we-add-a-custom-link-to-the-user-settings/2200/6 "2024-06-08T13:36:08Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
