"Dojo is undefined" messages in browser console rendering Portal / WCM Pages
Usually, this error occurs when the portal page is configured to use a theme profile that does not include Dojo (for example, the built-in 'Lightweight' theme profile).
You can check/set the theme profile (called the "aggregation" profile) using Administration > Manage Pages > Drill down to page > Edit Page Properties > Advanced options > I want to set parameters
For example for the Web Content Authoring Page, the resourceaggregation.profile should be set to profiles/profile_wcmauthoring.json.
You can also use the theme analyzer portlet to view the current theme and theme profile assigned to the page. The portlet ships with Portal 8.5 under Administration > Portal Analysis > Theme Analyzer.
The Theme Analyzer can be downloaded for V8.0 from here:
To modify the theme profile for the page, you can export the individual page, change the settings, and re-import the page with xmlaccess. For example, to export the hidden WCM Authoring Page:
Administration > manage pages > search on "Unique Name Contains" > search for the string "hidden" > click the export icon next to the "Web Content Management" page > save file
FIRST BACK UP THE EXPORTED FILE. If you modify the file with bogus values or typos it can completely trash your page. There is nothing to worry about if you have a backup you can re-import. Even though the page appears blank or totally corrupted in your browser, the xmlaccess interface to Portal should still work fine to revert.
It is also a good idea in general to back up your entire portal database before importing any xml via xmlaccess.
After making a backup, edit the file and look for the theme profile line. Here is an example where the theme is set for the "full" profile on the page:
<parameter name="resourceaggregation.profile" type="string" update="set">profiles/profile_full.json</parameter>
Here are some additional profiles available for the Portal 8.0 Theme:
Use xmlaccess to re-import the xml file after modifying the profile name. The xmlaccess utility is discussed is here: