How to reset a subpanel to default in code?

I have a problem with a subpanel that won't open. 

It has a subpanel header, and a number of records found, but it won't open.

I was trying to look at the subpanel layout but I can't find it anywhere in the code and it won't open in Studio (it errors out).

When I look at the relationship 1:M there is obviously no subpanel on the 1 side but there is one listed for the M side:

The idea was to return to the default subpanel and go from there. But, of course, this field can't be edited in studio.

How can I restore the default subpanel in code?

I'm not finding an _override file for this....

Thanks!

Francesca

Parents Reply Children