Hi Pieter,
Try this:
var context = this.createContext();
mx.ui.executeAction({
target : "Screen",
params : {
title : "My form",
uilocation : "content" || "window",
targeturl : "url_to.mxf",
targetparams : {
mxcontext : context
}
}
});
Edit: Are you getting an error? I think this.createContext() only creates an empty context, you still need to set the entity and obj id to it. You can also check the Navigation Tree widget, which opens forms, as an example.