# Is there a way to hide individual tabs?

**URL:** <https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411>\
**Category:** Questions\
**Tags:** tab-control, tabs\
**Created:** [August 17, 2021, 7:20pm UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411 "2021-08-17T19:20:03Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![JasonMark](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@JasonMark](https://the.fmsoup.org/u/JasonMark)\
**Post date:** [August 17, 2021, 7:20pm UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411/1 "2021-08-17T19:20:03Z")

</div>

I have client who has a number of tabs of information and they want to limit what's seen by user permissions.  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/3/35f19712aeaf4abee89fe30191d079b28c082bd1.png)  
I don't seem to be able to hide individual tabs, so instead I use a calculation to make the name invisible, and then hide the contents of those tabs... is there a better way to actually REMOVE the whole tab?

---

<div class="post-metadata">

**Author:** ![Torsten](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/torsten/32/1574_2.png) [@Torsten](https://the.fmsoup.org/u/Torsten)\
**Post date:** [August 17, 2021, 7:52pm UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411/2 "2021-08-17T19:52:39Z")

</div>

Unfortunately, a hide-tabs functionality is not available in FM up to v19.  
A possible workaround is having several tab objects on a layout, with a hide condition that assures that only the tab object with the correct tabs is shown in a given context.

---

<div class="post-metadata">

**Author:** ![jwilling](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/jwilling/32/256_2.png) [@jwilling](https://the.fmsoup.org/u/jwilling)\
**Post date:** [August 17, 2021, 8:16pm UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411/4 "2021-08-17T20:16:47Z")

</div>

In cases like this, I personally like using Buttons or a Button Bar as the tab controls and a slider object as the tab panel.

[https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/7/790fdb6e5349c431dd15b7c6bc3b74a28a8d2026.mov](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/7/790fdb6e5349c431dd15b7c6bc3b74a28a8d2026.mov)

---

<div class="post-metadata">

**Author:** ![Cecile](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/cecile/32/98_2.png) [@Cecile](https://the.fmsoup.org/u/Cecile)\
**Post date:** [August 17, 2021, 10:58pm UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411/5 "2021-08-17T22:58:19Z")

</div>

@bdbd how did you do it?

---

<div class="post-metadata">

**Author:** ![bdbd](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/bdbd/32/620_2.png) [@bdbd](https://the.fmsoup.org/u/bdbd)\
**Post date:** [August 17, 2021, 11:56pm UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411/6 "2021-08-17T23:56:40Z")

</div>

How did I do what and where exactly? I did a lot of stuff.

---

<div class="post-metadata">

**Author:** ![Cecile](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/cecile/32/98_2.png) [@Cecile](https://the.fmsoup.org/u/Cecile)\
**Post date:** [August 18, 2021, 12:35am UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411/7 "2021-08-18T00:35:14Z")

</div>

Didn’t we do just that for our self serve project? Where some users wouldn’t see certain tabs in the details layout according to privileges or order status?

---

<div class="post-metadata">

**Author:** ![bdbd](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/bdbd/32/620_2.png) [@bdbd](https://the.fmsoup.org/u/bdbd)\
**Post date:** [August 18, 2021, 1:04am UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411/8 "2021-08-18T01:04:56Z")

</div>

Ah! No! This was a client project. Each privilege set had a different layout. Not only were tab objects different for different privilege sets, other layout functionalities were too.

I have implemented @jwilling's suggestion on numerous occasions. Button bars segments can be hidden individually.

That said… keep in mind this in no real way prevents a determined user from accessing a tab panel. The tab panel and its content are still on the layout. A dedicated layout really is the most secure way, UI-wise, to restrict a user's access to data and functionality.

---

<div class="post-metadata">

**Author:** ![jwilling](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/jwilling/32/256_2.png) [@jwilling](https://the.fmsoup.org/u/jwilling)\
**Post date:** [August 18, 2021, 1:09am UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411/9 "2021-08-18T01:09:25Z")

</div>

I think if you disable the dots and swipe gestures you can make it pretty hard to get to a hidden panel, at least.

But in cases where it really mattered, of course we'd make sure that the contents of the panel were hidden along with the tab button and also lock down all the requisite field/record/script permissions.

I've never seen an issue with users getting to incorrect panels, first hand. I'm sure it can be done, I just haven't yet.

---

<div class="post-metadata">

**Author:** ![JasonMark](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@JasonMark](https://the.fmsoup.org/u/JasonMark)\
**Post date:** [January 21, 2022, 4:50pm UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411/10 "2022-01-21T16:50:43Z")

</div>

FWIW... I already have these as a tab bar, and so I just put the button bar over it and named each tab and using "go to object" it worked fine. I didn't have to convert to a slider object from a tab object.

---

<div class="post-metadata">

**Author:** ![JasonMark](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@JasonMark](https://the.fmsoup.org/u/JasonMark)\
**Post date:** [January 21, 2022, 5:09pm UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411/11 "2022-01-21T17:09:40Z")

</div>

I take it back. there's a weird flash when I put the nav buttons over a tab bar... slider makes sense now.

---

<div class="post-metadata">

**Author:** ![Kirk](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/kirk/32/2197_2.png) [@Kirk](https://the.fmsoup.org/u/Kirk)\
**Post date:** [February 5, 2022, 7:57pm UTC](https://the.fmsoup.org/t/is-there-a-way-to-hide-individual-tabs/2411/12 "2022-02-05T19:57:54Z")

</div>

You could also use GetLayoutObjectAttribute to determine the FRONT slide control, and if it is one that you don't want, GTO to someplace else. But like Josh said, without the dots and swipe gestures, a user getting to a slide panel is nearly impossible.
