Question

Section Dashboard/Tasks container

Hi All,

 

How do I make the section dashboard open/expanded by default?

Please suggest.

 

Thank you.

Like 0

Like

3 comments

Hello Anitha,



You can specify the "Dashboards" section as the value for the "Home page" field on the system user page:

 

As a result once the Supervisor logins into the system the dashboards section will be displayed.

 

Best regards,

Bogdan

Bogdan,

Thank you Bogdan.



am looking at a open/closed section dashboard based on a number of open tasks available.

 

Any suggestions will be helpful.

 

Regards,

Anitha P

Anitha P,



1. First count the number of tasks/activities that are in open status (completed, cancelled or others based on the need).

2. Then pass the count through the message from edit page OnEntityInitialized.

3. Receive the count value in BaseActionsDashboard and then use the below method to open/close the container tab in section action dashboard.

 

	messages: {
				"applicationIDMessage": {
		        "mode": Terrasoft.MessageMode.PTP,
		        "direction": Terrasoft.MessageDirectionType.PUBLISH
		    },
 
 
		},
		attributes: {},
		methods: {
 
				initTabPanelCollapsed: function() {
				this.callParent(arguments);
				var count = this.sandbox.publish("applicationIDMessage", null, "applicationIDMessage");
				this.console.log("Current Count:" + count);
				if(count === 0){
					this.set("TabPanelCollapsed", true);
				}
				else{
					this.set("TabPanelCollapsed", false);
				}
},







BR,

Bhoobalan Palanivelu.

Show all comments