How to hide the New+ Button from the list

I have created a form that has a tab. Inside the tab is pointing to a document library in SharePoint, Is there a way to hide the New+ button? Users are allowed to upload files only.

Hello @jhunC,

You can the button using the code:

fd.spRendered(() => {
    fd.control('Control1').ready(() => {
        // dt parameter is the same as fd.control('SPDataTable1')
        dt.buttons[0].visible = false;
    });
});

Find more information and code example in the article: