Hello, How can I select an appmenu option by code? I need to focus on an item of the appmenu by code. Thank you very much

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 tried using this: kony.application.setAppMenuFocusByID("payments"); where, "payments" is the id of the option in the appmenu that I want to select by code.

This only executes the action associated with the appmenu but does not focus on it.

Hi

As per the documentation this method is not applicable for android

http://docs.kony.com/konylibrary/visualizer/viz_widget_prog_guide/Default.htm#AppMenu_Methods.htm#setAppMe%3FTocPath%3DReference%7CApp%2520Menu%2520Widget%7CMethods%7C_____15

Platform Availability

Available on all platforms except on Android and on all Windows channels

If you are seeing this problem in IOS then it may be bug , we can log the issue with the support . Before logging the support ticket please go through the above document link attached.