Resolved - "Error modifying the page" when copying a Form to a different app via definition copy/paste

Resolved - "Error modifying the page" when copying a Form to a different app via definition copy/paste

Thanks in advance... I'm trying to copy a form from one app to another (we created as a standalone app and now we want to move its objects to inside our main app instead. It only has 2 forms and a few reports.)
  • Form is very simple.  It is a simple "documents list", with 4 fields to name and describe the document, plus a File Upload field.
  • In the target app: Created a blank form, using same form name.
  • In the source app: Copied all code for the form "with action" (even though it has no actions).
  • In the target app:  Opened via "with action", cleared the existing code, and pasted.
  • I tried again, this time copying and replacing the code from the "without action" definition.

Problem: Non-specific error msg "Error modifying the page."

  • The form is ultra-simple and will not be a problem to re-create from scratch.
  • But I am concerned for the OTHER form in this app I am moving.  It is much larger, complex, has scripting, and has some items I need to adjust (such as lookups to another app and now they will be the same app) - I have tried copying it in a test environment and cannot get past error messages even when I keep removing sections.

So the questions for now are:

  • What usually causes "Error modifying the page" error in the case of copying a form?
  • Is the copy of a form, and later of its reports (via copy/pasting their definition code) working?   What are the general guidelines/caveats?

thanks...