Accessing context object in react custom widget

Dear Experts, I need to access context object via custom widget in react. Once I get the context object, I am exploring options to extract attributes or create objects based on that. On debugging, I noticed that the context object is empty. I have configured needsEntityContext=true for the widget and placed inside a dataview.   Can someone throw insight how to achieve this case ? Thank you. Regards, Chengaiah
0 answers