Preview Data in Production mode

Service Studio
On our radar

Hello community!

Since the View data option is not supported in a Production Mode Environmente, would it be possible to add an option to "export" the data to Excel or something of sorts?


Created on 6 Nov 2017
Comments (8)

Hi Angelo,

You can create a management screen to export data to excel or you can just login to the database (with read-only rights, because it's Production).

Kind regards,

Remco Dekkinga

Just wondering: Why is the preview data option not supported in Production Mode?
It would be very helpful if you can view the data when there are problems.

Hello Remco

Logging in to the database is usually sufficient, but in my current professional project we do not have access to the PRD database. I thought about this idea yesterday because I wanted to check if my bootstraps ran correctly in the PRD environment. What I did was change the run mode to DEV in Service Center and then check the preview mode in Service Studio, but it's not a very quick thing to do just to check if we have data.

Like Johan, why is the preview not supported in Production Mode? Does it have anything to do with "data protection" (since the PRD environment usually has real data)?



Hi Angelo,

This has indeed something to do with data protection, but mostly with application performance. 

When you set your production environment to DEV mode and republishing some modules, the system generates sourcecode which has extra debugging and logging functionalities and reduces the performance of a production environment. This is something you don't want to do on Production.

To check if your bootstraps ran correctly, you should have created a management screen where you show the progress in some kind of dashboard layout.

I have found a way to view data in Production Mode.

1. Add a 'Test' Web screen.

2. Add preparation to the screen just created.

3. Add the aggregate you need to view data for.

4. Open the aggregate, and vioala! there's your data ;)

Hi Thabiso,

Did you manage to do this in a Production environment or in a dev/test environment?

If you did this in a production environment, your server is probably not configured correctly. Please check your server settings.

Kind regards,

Remco Dekkinga

I did this in an Enterprise Production Environment.

Where would I go to check the Server settings?

It's in ServiceCenter > Administration > Environment Configuration > Running Mode.

When the Running Mode is on Development, you can see the data. When running in Production, you should not be able to see it.

Kind regards,

Remco Dekkinga