FORUM PLAN UPDATE: Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.
RE: Layout Region Problem Kevin Pettitt 2.Oct.06 04:03 PM a Web browser Applications Development 6.5.4All Platforms
Andre's recommendation solved the problem. The exact error message (in case anybody is searching for it here), is:
You have attempted to load or place a layout region into a table. Layouts are not allowed within tables.
When The Error Appears
This message only appeared when I tried to open the specific document in question. No error is raised if you try to refresh documents in a view using @Command([ToolsRefreshSelectedDocs]) - the operation simply fails when it gets to the document. I would throw in a general recommendation to verify that a mass document refresh has worked considering the possibility of such a silent failure.
In my case, I had updated the design of an old, vintage 4.x Notes database. The main form contained a Rich Text field that in my new design was placed within a table. The problem arose on a document in which an old 4.x mail message had been pasted into the rich text field. Old-timers will recall that the 4.x mail template used a layout region in the header (where all the From/To/cc/Subject stuff appeared). Since this header was included in the pasted message, it amounted to a violation of the "no layout regions in tables" rule.
Modify the design of the form to place the rich text field OUTSIDE of the table.