I am trying to create a component where the user can add a menu item to an existing Menu after creating the article (or selecting from a list of article). The closest I could come across to an example of sort was the answer linked below but it was for 2.x and looks the way to go. But one thing I noticed was there was nothing to show that it added any data to the #__assets table.
Am I missing something here but I remember that when a menu item is created when I add one from the backend, it also inserts a record into the assets table. So if I wanted to insert a new menu item, would I have to insert the relevant data to the #_assets table separately?
https://stackoverflow.com/questions/12651075/programatically-create-menu-item-in-joomla?lq=1