Export List view to excel using csom
Place the below code on content editor and it will export the view to excel. I have highlighted in yellow on the part you need to replace. 1. Site URL ( 'https://igatefindemo.sharepoint.com/sites/yoursite ) 2. List id ( 8834f552-a848-40be-b753-927e9c27d344 ) 3. View id ( 7dcf9917-2900-403d-8784-93a2ecc575c0 ) <table class="table " style="width: 100px; height: 100px;"><tbody> <tr> <td class="box" onmouseover="this.className='hoverbox';" onmouseout="this.className='box'" onclick="javascript:window.open( 'https://igatefindemo.sharepoint.com/sites/yoursite /_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List={ 8834f552-a848-40be-b753-927e9c27d344 }&View={ 7dcf9917-2900-403d-8784-93a2ecc575c0 }&CacheControl=1');" style="...