Hello friends!
I have two problems, I can not find a solution. I had never worked with import of shapefiles (temporary). I was asked for this claim. I was able to customize the widget provided here in the geonet community. I made the customizations I needed and until then everything ok.
The problem is that I was asked to generate the pdf print with the print widget, the shapefiles legend should be included too (with symbology, texts, etc), but I can not find where to customize and how to do it .
My second problem is that the widget screening (in the drawing and coordinate tool) does not load the shapes layers for intersection of information and report generation.