Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I am trying to bind a Menu object to a collection widget and am having some issues passing fields from the Menu's GetMenuItems service down to the mashup parameter of the sub-mashup.
Please see the images below:
14:58:24 ERROR - exception executing binding {"Id":"22df3b4e-f5b6-4477-bec3-7ad102aa949d","SourceArea":"Mashup","SourceSection":"","SourceId":"mashup-root","TargetArea":"UI","TargetSection":"","TargetId":"label-3","PropertyMaps":[{"SourceProperty":"title","SourcePropertyBaseType":"STRING","TargetProperty":"Text","TargetPropertyBaseType":"STRING"}],"isBoundToSelectedRows":false,"SourceDetails":"AllData"} Exception: Cannot read property 'getProperty' of undefined
Try using GetEffectiveMenu because potentially you are running into a permissions issue?
GetEffectiveMenu should show you what the user in actuality has available as menu items.
the getProperty from undefined seems to say that the entity is not visible.
I do not see you using this service though.
Also double check the datashape, I do believe 'title' lower case is correct, but perhaps in the datashape it is returning 'Title' instead. Not sure if title would be a 'reserved' word, you can always try changing the mashup parameter name to something like mashupTitle.
Tried with GetEffectiveMenu, same error. I am also running as an administrator, and can see the data being bound in the grid above. I can also see that there are multiple cells in the collection widget, showing that the data IS actually bound to the collection.
I did confirm in the datashape that title is lower case. I did try with "Title" and didn't have any success.
Changed the param to mashupTitle and had the same error as well.
I also tried binding to a template.GetImplementingThings data source and have the same issue.