function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Raaja Naik 1Raaja Naik 1 

custom menu populated through custom object.

I am working on lightning project.
I wanted to create a menu which contains parent node and child node .on click of child node a corresponding component will be called.
<c:objectPanel />

the details of this menu and corresponding componemt are stored in custom object (Menudetails).
How is it possible in Salesforce lightning.If not how to achieve this left menu as shown in below link.

.Inserting Parent and child objects simultanously.
secondly i wanted to create a component which will insert parent and corresponding child record.
insert child record section will open on clicking on checkbox(Has child).
alsinan nazimalsinan nazim

Hi Raaja,

Are you looking for a header Menu like Navigation. If so, you can create an HTML Horizontal or Vertical Navigation Menu using <ul><li> tags. You can display both parent and child Menu in the same Nav and also actions for onClick for the Menu items also can be achieved through the same.

The below link contains one such HTML implementation, which you can also use in SF Lightning Components.

Let me know, If you have any queries.