Kinetic MES Custom layer on End Activity

Hi all,

I am trying to add a custom layer to the end activity button in MES. I have tried copying the original event, setting it to override the original event, then add the layer name to the app-open action.

I have also tried to create a new button and linked that up to the copied event, but this also did not work.

Any advice would be greatly appreciated!!

The steps you describe are correct. Maybe you’re not calling your custom layer that includes the overridden event?

Morning!

I added the layer to the menu in menu maintenance, and in my new event I have tried to reference that with the menu ID and the appID plus the layer name. Is there a different way I should be calling the custom layer?

So I think what you’ve done on your app-open action sounds correct.

For getting the custom MES menu to load - which Menu ID did you apply the layer to?

I have a custom layer on the MES (Shop Floor) item in the Processes folder. I know my custom layer for MES is being loaded as I have added a custom button and updated the part tracker button that are working as expected.

Next step would be to use Developer Tools to trace what is happening then. Activate dev tools by pressing F12. Once dev tools is loaded you’ll want to enable debug logging so that you can see the events. Without this step you can see the network calls back and forth to the server, but we want to see the events as they fire and that will show the layer name.

Once dev tools are open click back onto the Kinetic app in a piece of blank space on the form. Then press Ctrl + Alt + 8. In the console of dev tools you should see a line saying debug mode enabled or similar.

Now click your button - see which event is called, your one or the base one. Is it passing the correct Menu Id and layer name?

We do similar things but with the start setup and production buttons. You would have to clarify your set up for me, but in kinetic we now have to customize the start production screen for example, which is a different menu item, and then add an additional screen customization on the MES menu item as well. We just hid the original start production button and added a new one pointing to the custom layer.

While I am not sure why this was happening, I was able to get it working. I created a new Menu Item in Menu Maintenance and referenced the new one in my App-Open action.

Thank you for all your suggestions!