Hi Experts,
I am trying to replicate the smart tree table from sapui5 sdk, for that making a sap cap project with UI(in /app folder) that contains smart table, but getting error in console.
Converted my odata V4 to V2. and change manifest.json ("uri" : "/v2/me") to this:

And getting this Error from smart table:
TypeError: this._oMetaModel.getODataEntitySet is not a function.

My View:

My Controller:

Can you please guide me to resolve this issue.
Regards,
Sagar Singh