The poster is talking about a pot like fixture: i read that as a recessed fixture and should not be connected with an extension cord if it is truly a light fixture it will have a ul listing and should not be modified for use with an extension cord _____. How to wire light fixture to extension cord. If you use a 3 wire extension cord and connect it matching colors and ground you will be all set if you use a 2 wire extension cord a multimeter can be used to check when done that the smaller prong on the cord has continuity with the middle of the light socket connection problem #3: wire nuts are only to be used on solid wire.
how to wire light fixture to extension cord
Wiring your home: how to wire light fixtures part of the series: home improvements: bath, electric and around the house wiring light fixtures in your home can be accomplished with a little care. Adding a plug to a fluorescent light strip fixture is an inexpensive and easy do-it-yourself project. it adds versatility to the fixture as it is easy to relocate. fluorescent light strips are sold in lengths up to 8 feet in most cases. fluorescent fixtures are designed for hardwire applications or for a cord and plug..
get link reference