# How to show tenant id in custom application

**URL:** <https://community.cumulocity.com/t/how-to-show-tenant-id-in-custom-application/4175>\
**Category:** Forum\
**Tags:** analytics, cumulocity-edge, device-connectivity, cumulocity\
**Created:** [November 2, 2023, 12:08pm UTC](https://community.cumulocity.com/t/how-to-show-tenant-id-in-custom-application/4175 "2023-11-02T12:08:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ranjithkumar\_m](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@ranjithkumar\_m](https://community.cumulocity.com/u/ranjithkumar_m)\
**Post date:** [November 2, 2023, 12:08pm UTC](https://community.cumulocity.com/t/how-to-show-tenant-id-in-custom-application/4175/1 "2023-11-02T12:08:14Z")

</div>

Hi,

I have a custom application, but the application does not show the tenant’s id. I’m assigned the role using default and my custom application role is from role mapping. Anything I miss or miss I want to assign any role.

Here I noticed one point subscribed application. i can be able to see the tenet id

Expected View: I want to show the tenet id with details.

 ![Exceptation tenant--ID](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/a/8/a8c141bcbbaa6367ff82ea46881386c7480e872a.jpeg)

Actual View: I’m assigned roles for my custom application, default and custom application User access and Admin, Tenant Manager, is from Global role mapping mBut it’s not working.

 ![tenant-Id](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/6/b/6b996ed18a3996abdaa377d30b9a7b30e9fddc5d.png)

Could you please help to me

---

<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:** [November 2, 2023, 2:55pm UTC](https://community.cumulocity.com/t/how-to-show-tenant-id-in-custom-application/4175/2 "2023-11-02T14:55:28Z")

</div>

Hi,

Please follow the [IoT Forum rules & General Posting guidelines](https://community.cumulocity.com/t/iot-forum-rules-general-posting-guidelines/2665) in future posts and provide us details like e.g. the used versions of the Cumulocity Web SDK in the future.

If I understood you correctly, you are currently missing the section that shows the tenantId and version information below the logout button and would like to have it, right?

This section is hidden if you have set the `hidePowered` ApplicationOption ([Web SDK documentation](https://resources.cumulocity.com/documentation/websdk/ngx-components/classes/ApplicationOptions.html#hidePowered)). This option could be set as part of your custom built application or e.g. through the branding that is applied to your tenant. If it is shown in other default applications, it is probably not part of your tenants branding.

Regards,  
Tristan

---

<div class="post-metadata">

**Author:** ![ranjithkumar\_m](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@ranjithkumar\_m](https://community.cumulocity.com/u/ranjithkumar_m)\
**Post date:** [November 7, 2023, 8:33am UTC](https://community.cumulocity.com/t/how-to-show-tenant-id-in-custom-application/4175/3 "2023-11-07T08:33:19Z")

</div>

Hi @Tristan_Bastian  
Sorry for the delayed response. Thanks for your response. Here we are not updating the hidePowered true are false in the header component. Could please help to me, how i can show the logout information below in tenant Id option after that.

---

<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:** [November 7, 2023, 8:49am UTC](https://community.cumulocity.com/t/how-to-show-tenant-id-in-custom-application/4175/4 "2023-11-07T08:49:19Z")

</div>

Hi @ranjithkumar_m

You are still not providing any version information. We are not really able to help you without that.

The UI you are using seems to be version 1017 or higher as you are already having the new branding. But the screenshots that you are providing seem to be mocked. With 1017 and above we are no longer having the platform information (version and tenantId) in this location. It was moved into the drawer that opens when you press the user icon.

 ![Screenshot 2023-11-07 at 09-46-16 Hello _ Tutorial application IoT - Tutorial](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/e/a/ea8f6c9542b829a99186891c433ea11f57a0c95e.png)

---

<div class="post-metadata">

**Author:** ![ranjithkumar\_m](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@ranjithkumar\_m](https://community.cumulocity.com/u/ranjithkumar_m)\
**Post date:** [November 7, 2023, 11:21am UTC](https://community.cumulocity.com/t/how-to-show-tenant-id-in-custom-application/4175/5 "2023-11-07T11:21:46Z")

</div>

Hi @Tristan_Bastian,

Sorry for the inconvenience, Yes, that’s for mock screen, I’m using the cumulocity version for UI and Backend **1016.0.264**

I have noted that one point subscribed application like cockpit,administration and devicemanagement etc… i can be able to see the tenet id with version.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/5/2/5249a679f0c056fb904716597f12852856148566.png)

---

<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:** [November 7, 2023, 1:37pm UTC](https://community.cumulocity.com/t/how-to-show-tenant-id-in-custom-application/4175/6 "2023-11-07T13:37:09Z")

</div>

Which application do you use where this is not showing up? Can you provide this application or even better it’s sourcecode?

Thanks,  
Tristan

---

<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:** [May 5, 2024, 1:37pm UTC](https://community.cumulocity.com/t/how-to-show-tenant-id-in-custom-application/4175/7 "2024-05-05T13:37:56Z")

</div>

Closed on May 5, 2024, 1:37pm UTC

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