In the context of my previous questions:
I encountered an error when running this line:
var limitedWebPartManager = oFile.getLimitedWebPartManager(SP.WebParts.PersonalizationScope.shared);
The following error message is shown:
The getLimitedWebPartManager is not a function
Any thoughts on what may be the problem?