Right approach to change materials of actors by widget

Thanks for the comments. The nodes were connected, but I was working on it, so at time of the screenshot they weren’t there…

Where do I have to set the material param? What is MID node? Is it MDI variable?