Publish home page tab (not whole layout)

2024.2

Is it possible to publish a home page tab rather than the entire layout? We would like to add a “company metrics” tab to each user’s home page, but we don’t want to blow away their current tab(s) in order to implement it.

Can I use Application Studio to merge it in? Have not looked there, yet.

1 Like

I’ve put a little bit of thought into this, but not implemented anything yet. I think you would need to do a decently convoluted Find/Replace on XXXDef.SysCharacter03 and XXXDef.Content (I think that’s where customized home page layouts and personalized layouts are, if i recall)

There’s 2 passes of find/replace you’d need to do - one on the layer that is the current default company layer, and one that hits everyone’s home screen personalization.

This came up not long ago. Haven’t tried it.

Python is beyond me, but what a fabulous approach. We are strictly widgets.

1 Like

You should be able to use this without modifying much code. You’d only need to point it at the right .layout file.

I think the only dependencies are beautifulsoup and xml, but depending on where you get your install they my be built into your install.

So if you did decide to use this script, you’d only need to change this variable from ALLSCREEN.layout to whatever your layout file is actually called.

If you wanted to combine multiple tabs on your layout on a given output, you would use this AlwaysIncludedList variable, but it sounds like based on your situation that you would just leave this blank.