switch to analytics view

After custom section button processing in list view mode, I need to switch to analytics view, instead of returning and waiting for the user to click on the analytics view button.

Is it possible ?

Like 0

Like

4 comments
Best reply

Ricardo Bigio,

You can use the following code to change to the dashboard view in a section:

this.changeDataView(this.get("AnalyticsDataViewName"));

Ryan

Hello Ricardo,

 

Can you please provide us with more details regarding your request and the business task you are trying to achieve?

I suppose you have some custom section with records and after you open a record and click some button on the page, you want the system to open section Dashboards instead of the regular section record list, am I correct?

 

Thank you!

 

Best regards,

Bogdan S.

On the section page are the buttons "new", "actions" , and the ones that switch from list mode to analytic mode.

Besides them,  I have a custom button,  "I/S",  that triggers a business process (in order to build data that will be shown when the user switches to analytic mode) and returns to the section page. Upon return, the section page will be in list mode, as it was before. What I need is the code in the section button processing to return to the section page already in analytic mode, so that the user will not have to click on the analytic mode icon in order to view the data.

 

Ricardo Bigio,

You can use the following code to change to the dashboard view in a section:

this.changeDataView(this.get("AnalyticsDataViewName"));

Ryan

Perfect. Thanks !

Show all comments