Customizing Sliding Panel Card

Good afternoon,

I am trying to customize a panel card that slides out of a screen. Within Inspection Processing, click RMA

When you select RMA, it displays a modified RMA panel card grid and when you click the hyperlink of an RMA number, a panel card slides out and shows the RMA information. I have already created and applied the customization to the menu item for RMA Dispositions (OMGO3016) and it works just as expected if I launch it from the menu. The issue is the panel card that slides out of Inspection Processing for the specific RMA does not load the customization. I have looked at the Console tab and inspected what happens when I click the RMA hyperlink on the Inspection Processing screen and it seems to be a huge list of API calls.

If anyone has an idea about this I’d appreciate your help and maybe some help on deriving how you found more information about that process.

I THINK these would be your steps… hope I’m not missing anything…

In Inspection Processing (Application Studio)… there is an onClick event that is triggered when you click the RMA link.

It is a base event… so you need to copy it. Right-click on it in the search and copy.

Change the Trigger to:
image

Now, in you new copy, click on the app-open widget… Properties > Parameters. You’ll see a spot there to add the name of your customized layer of that RMA slide out.

So, like you said, from the MENU, you already told it to open up that form with your custom layer in place.

But from the base event from Inspection Processing, the “App-Open” widget it telling it to open the slide-out (form) without the layer. So you have to recreate the event and tell it to apply that layer.

… again… I think… I’ll double check a couple old posts on here if I can find them.

4 Likes

Thank you, I will take a look at this and let you know. Is there any way to find those kind of events specifically or did you just guess/psuedo know it would be in there? I feel the hard part is FINDING the actually event’s name.

yeah, I hear you. A couple things (but yeah, mostly blind luck)… I searched for “RMA” because that’s what you’re clicking on… and saw an on-click event. I opened that and saw in the event it was an app-open to RMADispEntry… so, makes sense this is the one you want.

image

My other search, again, knowing the event (app-open) happened when you clicked a link would be to search with “OnClick”… Epicor’s event nomeclature (for the most part) is pretty consistent. The problem is on any given form, there is a LOT of OnClick events:

… like, (4) snips worth so I won’t paste them all here.

The OTHER thing you can do (which is handy for all kinds of things) is to run the form in your browser and turn on DevTools (F12). Turn on logging (type epDebug.toggleMetaFxLogging) into the console, it will change to Logging = true.

Then click on one of the RMA links. You should then see what event fires! That’s the one you want to go back into Application Studio and evaluate.

2 Likes

David,

That worked perfectly! Thank you for your help. Do you know if I wanted to apply multiple layers if I just separate the layers by a comma in that Parameter > Layer field?

1 Like

I THINK you can use commas. But I’ve never tested that. But I think other parameter fields accept that.

If it DOES work… make sure you put your layers in the correct order. Like in Menu Maintenance, the order you apply layers has an impact, so I would assume the same would happen in this case as well.

1 Like

I did do what you suggested, and yes in the Console tab it states the OnClick event plainly. Thank you so much for your help. You are the :goat:

1 Like

hahaha. This one maybe…

Fainting Goats Gif

4 Likes