It took me a long time to figure out just what was going on, but here's the detail:
There is a FORM with an embedded View. The embedded view uses the "ShowSingleCategory" value to change what is shown. There is a picklist field on the form, which is populated by a lookup and allows you to pick the category, which is then used by the view. The picklist field is marked "RefreshFieldsOnChange" so that the page will reload using the new value, and thus repopulate the embedded view with data from the newly selected category.
That's all standard stuff, and it works fine -- HOWEVER -- When the document refreshes, none of the included SUBFORMS get loaded. It doesn't matter if they're loaded by static name or by computed value. They just don't load. If I take the same stuff from the subforms and put it directly on the main form, it works fine. Moved to a subform -- nothing.
It only fails in this very specific circumstance. Damn if I know why. I ended up doing some javascript trickery instead of using the build it "Refresh" on that field, but instead doing a document.location() call in the onChange() event of the picklist field, then having my own parameter on the URL, which is picked up by the formula for the "ShowSingleCategory" value. That workaround allowed me to keep using the subforms, but ugh.
Comment Entry |
Please wait while your document is saved.