Want to add Uploading / loading / Please Wait type image when uploading excel

I have a custom doctype “Packing List”, which has a excel import button (excel has let say 5 col, and data around 50k)

See below image, their is a attach button

I want when the data is reading from the excel, at that particular time i want to show screen like loading / please wait something like this

Anyone who knows ?
Please help

If you are making an API call, you can use freeze: true and freeze_message.

Another way you can do this is to use the frappe.freeze(); and frappe.unfreeze(); methods.

1 Like

Thank you @ejaaz