1100
Views
11
Comments
Solved
How do I change the name of the application displayed in the top menu bar?
Question
Application Type
Reactive
Service Studio Version
11.14.16 (Build 60354)

Hi,

I cannot find the answer to this question in the Forum posts or documentation.

When I create a new application, I can enter a title and select an Icon. These appear in the top menu, but the application name is incorrect.

The name I entered is: "Archived Patients Access".  This is the name I want to see, but instead I see "ArchivedPatientsAccess".


How do I correct this?


Thanks 

Leon


2021-08-04 12-19-54
Mayank Dharmpurikar
Solution

Hi Leon, 

This is coming from the ApplicationTitle block and if you check the expression it will use this builtin function

GetEntryEspaceName() - Returns the name of the module.

2020-05-07 18-53-00
Rui Barradas
 
MVP
Solution

This only happens for Reactive Applications.


For Traditional Applications, the expression is different and returns exactly what you pretend:

GetApplicationName(GetOwnerEspaceIdentifier())


The reason behind this is that the GetApplicationName() is a function that runs Server Side.

So it cannot run as a Client Function in a Reactive Module. That's probably why OutSystems had to adapt the expression for Reactive Modules.

2020-05-07 18-53-00
Rui Barradas
 
MVP

Hello Leon,

Hope you're doing well.


I believe that you are talking about 2 different things: the Application Name and the Module Name.

An OutSystems Application may contain several Modules inside of it.


As an example:

In the example above, the Application Name is "Distance Between Coordinates Reactive". You can always edit this name if you use the Edit button.

Inside this Application, you have only one Module and its name is "DistanceBetweenCoordinatesReactive".


You can see the Application in your environment:


But when you open the code itself in Service Studio, you open the Module. Therefore, you'll see the Module Name instead:


Hope that this helps you!


Kind regards,

Rui Barradas

2021-08-04 12-19-54
Mayank Dharmpurikar

Hi Leon,

you can edit the application name from the application detail page.

Click on the Edit button and change the name of the application it will reflect wherever you have used the application name.


UserImage.jpg
Leon Holmes

Thank you for your responses.

I am aware of the edit function. But I still only see the name "MySampleApp" and not "My Sample App".  That is the problem.  OutSystems is not display the correct application name in my app.

Leon

2020-05-07 18-53-00
Rui Barradas
 
MVP

Can you show us some prints or images of what are you referring?

2021-08-04 12-19-54
Mayank Dharmpurikar
Solution

Hi Leon, 

This is coming from the ApplicationTitle block and if you check the expression it will use this builtin function

GetEntryEspaceName() - Returns the name of the module.

2021-08-04 12-19-54
Mayank Dharmpurikar

if you wish to display the ApplicationName create data action in the ApplicationTitle block and return the application name and bind the expression.


UserImage.jpg
Leon Holmes

Why does OutSystems return the name of the module when it says Application Title?

2020-05-07 18-53-00
Rui Barradas
 
MVP
Solution

This only happens for Reactive Applications.


For Traditional Applications, the expression is different and returns exactly what you pretend:

GetApplicationName(GetOwnerEspaceIdentifier())


The reason behind this is that the GetApplicationName() is a function that runs Server Side.

So it cannot run as a Client Function in a Reactive Module. That's probably why OutSystems had to adapt the expression for Reactive Modules.

UserImage.jpg
Leon Holmes

This is what I see in my app:


2020-05-07 18-53-00
Rui Barradas
 
MVP

Please consider to share your OML so we can take a look :)

UserImage.jpg
Leon Holmes
I went to the Application Title block and removed GetEntryEspaceName() and replaced it with the title of my application (hard coded). Now it displays the correct title. However, I do not think that I should have to do this considering that the title is available, just as the module name is available. Thank you for all your suggestions. Leon
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.