Facing issue to access a component in form controller when running on SPA

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

I have integrated hamburger menu component, it is working in android & ios, when it comes SPA it is showing attached error in below line.

this.view.advancedhamburgermenu.flxTargetContainer.segCategoriesList.setVisibility(true);

Please find below attached error & folder screenshots for your reference.

Hi,

For SPA:

in place of SetVisibility please use isVisibile property and try.

Do let us know if you still face the issue.

Thank you,

Hi Srujan,

Thanks for your reply.

when using isVisible property it's not showing any error, but we are not able to achieve the desired functionality because flex container and segment widgets are visible in iOS/android but not visible in SPA. seems isVisible property not supporting for SPA as per the document please check the below link for your reference.

http://docs.kony.com/7_0/konylibrary/visualizer/viz_widget_prog_guide/Content/Widget_Methods.htm#widget.s

So, may i know if there are any alternatives to achieve this to be able to work in all iOS/Android/SPA?

Thanks,

Brahmaiah Thota

if you can share a sample,i can look at it.

Also,try setting the visibility directly to segment(this.view.seg...)