Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83200

Can not load Domain model using Mendix SDK.

$
0
0
I want to use Mendix SDK to create entities  and loading it inside Mendix app, i think the SDK not able to see and catch domain model , i got TypeError of type "undefined load function".  I follow the mendix SDK Doc, unfortunately, not well updated with the latest version of Mendix Model/SDK 4.6.0/4.0.0.  The Error  Successfully opened new online working copy xxxxx-xxxxx-xxxxx-xxxx-xxx- for project xxxxx- xxxxx-xxxx-xxxx-xxxxx : ProjectName  error: TypeError: Cannot read property 'load' of undefined Test Code  const dm = workingCopy.model().allDomainModels() .filter(dm => dm.structureTypeName === 'MyFirstModule')[0]; return loadAsPromise(dm).then((q) => { // console.log(dm.isLoaded); // console.log(utils.serializeToJs(q)); //print out the generated JavaScript // return workingCopy; }); // console.log(dm); Thanks in advanced   

Viewing all articles
Browse latest Browse all 83200

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>