SharePoint online has lot of
limitations. If it was SharePoint on premise, then the solution given by Manaj is right.
For SharePoint Online you need to some workaround as explained
here.
Also refer this
thread. It has the same issue what we are discussing here.