how to get this bar
At every List and Form this bar is assigned
Pls check the doctype form settings ‘Hide Sidebar and Menu’ checkbox status.
If you have assigned only some custom roles and modules to a user, this sidebar won’t be visible. It’s bug I faced, and it is not documented anywhere.