Is there any way to get a guid from a MxId (e.g., data-mendix-id="{id}")? I basically want to get the object associated w/ a dataview using the dom element.
asked
Micah Weatherhead
2 answers
0
There is a getGuid in CommunityCommons-module. That will do exactly what you describe. Yo can get it from the Appstore.
answered
Tim v Steenbergen
0
I found a solution because of Rob Duits:
var thisGuid = dijit.registry.findWidgets(DOMElement)[0].mxcontext.trackId;