I'm this close to rage quitting - Application Studio and Dashboards

More of a rant than a question but why is it so hard to create a simple dashboard in App Studio?

I have been trying to figure this out for days now and my frustration levels are peaked. I am so angry I can’t even…

I am trying to convert some very heavily used dashboards over to Kinetic UI and they cannot be converted by the system as they have trackers that are used to filter the returned data and the resulting deployed kinetic app version straight does not work.

So I got to do it myself, fine.

This is what the classic one looks like
image

Super simple, you open the dashboard, enter the desired values and click refresh.

I cannot figure out how to recreate this in application studio. The wizards cannot do it, you cannot export a version that even remotely works from the classic dashboard developer screen. and I cannot work out how to create this very simple functionality by trying to do this manually.

At this point I do not know if I am just completely not getting something here, or if this is for some reason is next to impossible to achieve?

Could one of you very talented people point me to the probably very obvious, “why didn’t I see that before”, piece of documentation that I am obviously missing? What is annoying me most here is that I know what all the components are, I understand layers and data views and grids and events and triggers and all the components that will make up this dashboard but I cannot figure out how to connect them all together within the confines of App studio.

Appreciate any nudge in the right direction.

10 Likes

Have you seen this How To? It’s work - and you sometimes run into hard issues … but it can get you where you want to be (or close)

3 Likes

One of my colleges, who currently isn’t blinded by the pure rage of my own failings…

sad winnie the pooh GIF

found this Application Studio: how to convert simple classic dashboard with tracker view

and then I found this! How To: Kinetic Dashboard Uplifts

I knew there was a reason I came here. Will have a read through these and see if I can make some progress in the correct direction. :+1:

5 Likes

Ha, literally just found that before you posted, this is why this place is awesome :slight_smile:

1 Like

Many of us rage quit on the regular. You are in good company.

Michael Jones Cheers GIF by Rooster Teeth

10 Likes

Ok, so quick process -
create the 'TransView" data view

Create data views for your BAQs BAQ/BAQ ID

You are going to need several events:

The code in the following is formatted as JSON and needs to be adjusted instead of "\"\" you’ll use "" in the column parameter field.

 {
          "type": "row-update",
          "param": [
            {
              "columns": [
                {
                  "epBinding": "TransView.SysDashboardFilters",
                  "value": "%dashboardFilters%",
                  "dataType": "bool"
                },
                {
                  "epBinding": "TransView.Filter_PartList",
                  "dataType": "string",
                  "expression": "\"\""
                },
                {
                  "epBinding": "TransView.Filter_WorkShift",
                  "dataType": "string",
                  "expression": "\"[All]\""
                },
                {
                  "epBinding": "TransView.Filter_StartDate",
                  "expression": "new Date().getHours() < 4 ? new Date(Date.now() - 24 * 60 * 60 * 1000).toISOString().split('T')[0] : new Date().toISOString().split('T')[0]",
                  "dataType": "string"
                },
                {
                  "epBinding": "TransView.Filter_EndDate",
                  "expression": "new Date().getHours() < 4 ? new Date(Date.now() - 24 * 60 * 60 * 1000).toISOString().split('T')[0] : new Date().toISOString().split('T')[0]"
                }
              ]
            }
          ]
        }

Assuming you are using optional parameters for your BAQ:

Your other events are going to be simple: slider open, slider close, refresh_dashboard

Yes I know it’s not much of a step-by-step; It’s almost five =)

2 Likes

Thanks for the reply I will add this to my reading as I continue my breathing exercises and try to get my heart rate down.

but this just kind of illustrates my point perfectly.

I mean… come on!!! for a flipping simple dashboard! really?

2 Likes

As an FYI, the condition is a workaround for an issue with PartList being = “”
image

angry homer simpson GIF

5 Likes

I keep coming back for more punishment don’t I?
(masochist?)

1 Like

Doesn’t mean we don’t go away have a stiff drink, dust ourselves off and then keep coming back till we figure it out. Just sometimes you need to flip the desk, throw the toys and stamp your feet to reset yourself for the next attempt. :joy:

2 Likes

I like to happily make Kinetic Apps from the Looney bin. 3 years of this. There’s no help left for me.

Animated GIF

9 Likes

I am used to being able to “figure it out” most of the time.
Application studio has my confidence genuinely shaken, I will get there in the end I am sure, but it’s not fun at the moment.

1 Like

Eh, it’s really not so bad after you’ve done it a bunch.
Feels like a case of “who moved my cheese” for me now. Just takes time and practice. :smiling_face:
Y’all will get there too!

6 Likes

You don’t have to do all that. The wizard is not bad, just start there. Then you can fix it up.

2 Likes

OK the plot thickens…

So me and the team had another session together on this after reading through the posts we found on here and after none of them worked I discovered something.

To make sure that we were not crazy i jumped into the BAQ and manually applied some filters to it to limit the data returned and then just straight added it to a new dashboard and nothing, nothing is returned. What we worked out is the following. This affects some BAQ’s but not all.

  1. The BAQ works fine in the classic UI BAQ builder.
  2. The BAQ can be used fine to build a dashboard in the Classic UI dashboard builder and works as expected.
  3. The BAQ works fine in the browser in the new UI BAQ builder, we can test it and return data no problem.
  4. Once added to a new UI dashboard using application studio it returns nothing. We tried building one multiple ways, deploying the old style as a new style, using the wizard in application studio and doing it manually. No matter what way we do, the new App studio created version returns no data.

So this whole time it wasn’t that I could not figure out how to build a dashboard, it was the BAQ returns no data when used to create a data view in app studio for some reason.

We tested a bunch and the simpler BAQ’s work no problem but some of the more complex ones do not.

Is this a documented issue? do we need to recreate some of these more complex BAQ’s? I was led to believe that the BAQ’s would be fine and it was just the Dashboards that needed to be recreated. The part that is really messing with my head is that the BAQ works perfectly fine in the BAQ builder in the browser. :man_shrugging:

3 Likes

What do you see in Dev Tools when you try and run that BAQ I’m the browser? Specifically, the network tab. Look at the ExecuteBaq call for any clues.

1 Like

Wiserhood Cheers Wiser Cheers GIF - Wiserhood Cheers Wiser Cheers Wisers Toast - Discover & Share GIFs

2 Likes

8 Likes

We posted our dashboard template from our Insights presentation this year. You may find some of this helpful, or at least something you can reference.

7 Likes