How to remove text preceding window title

Forum to discuss the new web client version of Servoy.

How to remove text preceding window title

Postby roddy » Thu Feb 03, 2022 5:20 am

With branding set to true, the window title can be set. This, however, is preceded by the name of the solution and the name of the form; neither of which is relevant to the end user.

Is it possible to remove this from the window title bar? It looks really unfinished for a deployed application.
You do not have the required permissions to view the files attached to this post.
roddy
 
Posts: 100
Joined: Mon Oct 26, 2020 12:32 am

Re: How to remove text preceding window title

Postby ROCLASI » Thu Feb 03, 2022 10:55 am

Hi Roddy,

Even without branding set to true you can set the solution name and form names. Both objects have a property 'titleText'. When you set that to '<empty>' (yes, with the angled brackets) then they won't show in the title.
This has been possible since version 1.x :)

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: How to remove text preceding window title

Postby Jason.Walsh » Thu Feb 03, 2022 3:43 pm

Laughing at the timing of this. We were just struggling with this yesterday and came to the same solution via this forum post from 11 years ago.

viewtopic.php?f=6&t=17010

Maybe we can get this feature/config option better exposed or documented so others don't spend soo much time on trying to solve it too.
Jason.Walsh
 
Posts: 4
Joined: Thu Feb 03, 2022 3:36 pm

Re: How to remove text preceding window title

Postby mboegem » Tue Feb 08, 2022 12:01 pm

In NG, you can change your pages easily by creating an NG service yourself and create a function that will set anything you like. In this case the window title.
If you already have your own service, I'd say this is a 5 min. job.
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: How to remove text preceding window title

Postby roddy » Wed Feb 09, 2022 7:07 am

@mboegem; I have no context for what you are describing at all... apologies but I cannot make heard nor tail of it.
roddy
 
Posts: 100
Joined: Mon Oct 26, 2020 12:32 am


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 5 guests