Salvete! I have a Content Editor Web part into which I want to load a simple bit of html (just an input box and a button or two). The file is at /_layouts/myfolder/myfile.html
When I use the "Test Link" option, the file displays fine. But when I "apply" the web part, I get this message in place of the web part: "Cannot retrieve the URL specified in the Content Link property. For more assistance, contact your site administrator."
Now, I am using an admin account - a domain admin account, in fact, so it can't be a permission problem.
I also tried it with a simple text file, but still no solution.
I also tried using an absolute address, such as "http://my.portal.org/_layouts/myfolder/myfile.html", but that didn't do anything either.
How is it that the simple html file can be displayed via "test link", but not as the web part?
I don't want to use a page-viewer, becuase I don't want the html to be in an iframe. I know I can put the html directly into the CEWP, but I want to reuse the html in several places and simply maintain one instance of the code.