11-25-2025, 11:06 PM
(This post was last modified: 11-26-2025, 10:19 PM by bob.alexander.)
Dashboard (your welcome app) is of course just another app in NodeActa system and therefore you have the full control over it.
You can find it at System Apps->Dashboard.
To customize Dashboard app, open it first in MS Code (see here how).
Let's imagine you want to add the latest company news to the Dashboard.
First you will create a document class NEWS in the system where you will persist your 'news' (see here how add a document class).
Of course, you will have to create a new app for filling NEWS class (see here how to create app to query document class).
Now, to display 'the news' on the Dashboard, you can for example add a RecordsView and populate it with the latest news.
First, using MS Code, in the index.mjs file of the Dashboard app find the line:
this.showDashboardCheck = new AttributesView(this);
Just above that line add the following (asuming you used 'CompanyNews' as JavaScript name for NEWS document class):
this.newsView = new RecordsView(this);
this.newsView.options.header = false;
this.newsView.options.multiline = true;
this.newsView.align = Align.Client;
this.newsView.fields = [CompanyNews.content];
this.newsView.source = CompanyNews.orderBy(CompanyNews.createdOn, SortOrder.Desc).limit(10).select();
Of course, do not forget to upload the app to the server so other users can use your new Dashboard.
You can do that using Commands->Save All command in the main menu of NodeActa Application Center or in MS Code using Uppload Changes button (see here).
You can find it at System Apps->Dashboard.
To customize Dashboard app, open it first in MS Code (see here how).
Let's imagine you want to add the latest company news to the Dashboard.
First you will create a document class NEWS in the system where you will persist your 'news' (see here how add a document class).
Of course, you will have to create a new app for filling NEWS class (see here how to create app to query document class).
Now, to display 'the news' on the Dashboard, you can for example add a RecordsView and populate it with the latest news.
First, using MS Code, in the index.mjs file of the Dashboard app find the line:
this.showDashboardCheck = new AttributesView(this);
Just above that line add the following (asuming you used 'CompanyNews' as JavaScript name for NEWS document class):
this.newsView = new RecordsView(this);
this.newsView.options.header = false;
this.newsView.options.multiline = true;
this.newsView.align = Align.Client;
this.newsView.fields = [CompanyNews.content];
this.newsView.source = CompanyNews.orderBy(CompanyNews.createdOn, SortOrder.Desc).limit(10).select();
Of course, do not forget to upload the app to the server so other users can use your new Dashboard.
You can do that using Commands->Save All command in the main menu of NodeActa Application Center or in MS Code using Uppload Changes button (see here).

