Hide content (Fixlet, Task, etc.) via API?

Is there a way to hide (or unhide) content via API? I’ve looked a little into the Server API (for 9.2 :neutral_face: ) docs but they’re a bit cryptic and don’t appear to mention hiding/unhiding.

The (likely useless) docs I did find: BESAPI.FixletMessage

I'm afraid I've been down that road before, and no, there's no way to hide/unhide via API. I'd be happy to vote on an RFE for it if you submit one though.

1 Like

Here is the RFE / idea (BFLCM-I-27) and the status is currently “In Development”. https://bigfix-ideas.hcltechsw.com/ideas/BFLCM-I-27

3 Likes

Till that option be available - what about

defaultHiddenFixletSiteIDs
This option allows to selectively change the default Fixlet visibility on a per-site basis. It only takes effect when global default Fixlet hiding is not in use. You specify a comma-separated list of all the site IDs to be hidden by default. The list of sites IDs is in the SITENAMEMAP table in the database. If among the sites to be hidden is listed also the siteID for the 'BES Support' site, the dynamic content becomes no longer usable.

Will this resolve your situation? Without API

1 Like

Hey @orbiton! I’ve seen this option before and, while interesting, won’t work for my use case. I’d like to automatically hide “Superseded” Fixlets so that folks stop seeing and attempting to apply them. So, this wouldn’t be a “hide right away” scenario but a “hide later”, and only particular Fixlets, not the entire Site.

1 Like

Someone has brought this up before: Is there a way using an API to globally hide a fixlet?

The current answer is using direct DB manipulation, which is not ideal.

2 Likes

That “someone” being @jgstew, 11 years ago… :rofl:

1 Like

To be honest, I had no memeroy of it at all. I was searching around to see if there was more info on this somewhere and found this old post of mine, lol.

Hello, we are planning to include this enhamcement into one of the upcoming platfrom releases. Thx

4 Likes