Application Studio - How to add a secondary toolbar menu?

How do I add an item to the secondary toolbar menu? I have added a new item to Tools and selected add to secondary toolbar and secondary button style. As you can see, it looks nothing like the other secondary toolbar items. The text shows instead of just the icon, there is no tooltip text when you hover over the item, etc.

Try changing the button style back to the default.

the secondary toolbar option should be sufficient.

I tried all the button styles and no change, just the button color and style changes.

If you’re talking about the appearance where the stock tools aren’t as “button-y” looking…

Application studio has a lot of inconsistency in the underlying JSON. Fields aren’t typically defined unless you change them, or sometimes values are forced. It’s great.

The stock save button looks something like this:

{
  "id": "toolSave",
  "parentId": "epView",
  "type": "button",
  "icon": "mdi mdi-content-save",
  "text": "Save",
  "epBinding": "TransView.SysSaveTool",
  "showInToolBar": true
}

And your custom tool would look something like this:

{
  "style": 0,
  "sysType": 0,
  "mode": "A",
  "parentId": "epView",
  "id": "toolTest",
  "icon": "mdi mdi-candycane",
  "text": "Test",
  "showInToolBar": false,
  "showInSecondaryToolBar": true
}

The “style” and “sysType” fields, when removed, match the appearance of the stock tools, but there’s no app studio friendly method to get there because you can’t delete the values without directly editing the JSON. @GabeFranco has a tool to edit it, I wing it in SQL. It’s a lot of work for something simple.

Before:
image

After:
image

The other alternative is removing the text. Still looks different, but it’ll only be the icon.

Thanks, I edited the JSON in SQL and it worked.

What is the tool to edit the JSON? I installed the tools at the link you provided, but couldn’t find anything to edit these.

Hi Mike,

In the “Dev Tools” app on the menu,

You’re looking for the “AppStudio” panel - which should list all the various apps you have installed.

Right under that panel there’s another panel “AppEditor” you can expand - they are pub/sub - click the app in the top panel you want to edit, then in the bottom panel, select the element of the app you want to edit.

I don’t see that, I installed the Dev Tools Part Deux that was at the bottom of the thread.
I only see this

There should be two apps installed -

Latest version is here:

Got it. thankls