My Button has become the Cheshire Cat, poof!

I have just finished a set of screens and successfully tested the functionality of each component, with the exception of a couple that write to process tags...

I have this button in the upper right corner:

The first time I launched the project in MS Edge, the button was there and working. (just navigates to another view).

Worked on other screens, reset trial... Now, no button! There is no extra styling applied, visibility = true, display=true.

I have saved, closed and reopened project. Cut the button out, saved and pasted back in and saved. I have two other buttons that display just fine.
This is the tree:


The arrow indicates the problem child.

Pretty simple button:

[
  {
    "type": "ia.input.button",
    "version": 0,
    "props": {
      "text": "PR Main",
      "primary": false
    },
    "meta": {
      "name": "btn_PR_Main"
    },
    "position": {
      "basis": "80px"
    },
    "custom": {},
    "events": {
      "component": {
        "onActionPerformed": {
          "config": {
            "params": {},
            "view": "/.../PR Main"
          },
          "scope": "C",
          "type": "nav"
        }
      }
    }
  }
]	

One of the working buttons:

[
  {
    "type": "ia.input.button",
    "version": 0,
    "props": {
      "text": "RO Controls",
      "primary": false
    },
    "meta": {
      "name": "btn_RO_Controls"
    },
    "position": {
      "basis": "80px"
    },
    "custom": {},
    "events": {
      "component": {
        "onActionPerformed": {
          "config": {
            "script": "\tpu_id = 'ro_controls_pu'\n\tpath = '...'\n\tparams = {'pu_id':pu_id}\n\tsystem.perspective.openPopup(id=pu_id, view=path, params=params, title=None, showCloseIcon=False, modal=True)"
          },
          "scope": "G",
          "type": "script"
        }
      }
    }
  }
]

Inspecting the screen in MS Edge, no button object is listed in the elements.

We run 8.1.45.

Not sure what else to look at here. Thoughts?

EDIT: I did open this in Firefox as well, the button was/is still missing.

Well, the solution is to make sure your landing page matches the screen you want to see! :man_facepalming:

I was navigating directly to it earlier, not paying attention to page: "/" !

Oh well, it's Monday...

4 Likes

1000 points for coming back and posting what the problem was, instead of just quietly ignoring the post :smile:

9 Likes

That is one of my biggest pet peeves, all those "Unsolved Mysteries" posts.