[ServiceStudio] Screen aesthetics for placeholders like Visual Studio

By Patrick Baanvinger on 30 May

When we create pages, we have some items/widgets, which do not show up on pages or webblocks (For instance a webblock which contains Javascript). Still they have to be show in the page in Service Studio and taking up space (and disrupts the WYSIWYG functionality)

Including a bottom bar which is out of page, where you can put these kind of items (like timer function in Visual Studio), or a kind of piggy-back on containers (etc) where you can connect page items with no visual output.

Perhaps the possibility to set an item as Not visible in Service Studio which triggers a -servicestudio- css tag for hiding?

You can put them in an If block, in the "False" portion, and have the If's condition just say "false". That way they will always evaluate, but you won't see them in the preview. This is very common with Web Blocks for JS snippets, jQuery plugins, and such, where the "true" part will be the snippet name, so you know the Web Block is there, but don't need to see all of the ugly.

J.Ja

Putting them inside a container with Display=False also works. You can see it when you're developing the web block, but you can't see them when you are using the block.

Leonardo -

Unless the behavior changed, a Container with Display=False does *not* get rendered as HTML by the server, and will *not* work in practice.

J.Ja

You would need to use a CSS class or style with "display: none;" for that to work.

J.Ja

Justin, the Display=False on containers has always produced a <div style="display: none">. This hasn't changed. You might be confusing with the Visible property on links/buttons.

Leonardo -

Wow, look at that! You are absolutely right! After getting burned with "Visible" I thought "Display" worked the same way! Learn something new every day, thank you!

J.Ja