BDK Native Apps Plugin - How to use the Native Template - Lists

Hi Gaurav (or somebody else who is familiar with the BDK Native Apps Plugin),

I am using the BDK Native Apps plugin and would like to build a basic menu for my app.
Here is what I would like to do:

  1. The user can click on a menu icon in the native header.
  2. This action triggers the opening of a menu with several line items.
  3. The user can click on one line item and navigate to another element of my app.

I am currently trying to build this with the “Native Template - Lists” tools, but I can’t get it to work. Could you please help me figure out where I go wrong?

This is what I do:

  1. I added a BN-List “Template” element on my page:

  1. In the app, when the header button is pressed I trigger the event “Show template BN-ListTemplate B”. In order to test if the correct workflow is triggered I change the background color of the native header. The color change works, but the BN-List Template doesn’t show.

13

Please let me know if this is the right way to build a menu. If you have a better suggestion, please let me know!

Nicola

1 Like

to tag somebody first use @ which will prompt the names of people in a particular thread…if the person is not in the thread you could start to type their name to see a list of users with that name

@gaurav

When you do this it notifies them that they have been mentioned.

2 Likes

Hi @nicola.kegel,
The native template - lists supports multiple sections and subsections. The list content in your screenshot is of a subsection. It should be within the array “subsections” of the array “sections”.
Check out the documentation here. For example change your list content in the screenshot to:

{
   "sections":[
      {
         "title":"Settings",
         "subsections":[
            {
               "title":"Logout",
               "subsection_return":"Alpha"
            }
         ]
      }
   ]
 }
1 Like

Thank you Gaurav! Now it works!