I need to develop a custom Web Part in C# to show the name and url of the list marching the specified type.
The idea being that the user will choose the ‘list type’ from a ‘checkbox list’ to select. The checkbox list contain ‘Event’, ‘Task’ and ‘Custom List’.
Since this is a checkbox list, the user will be able to select more than 1 list type. So for example, if the user selects ‘Event’ and ‘Custom List’, I am supposed to show them the name of all the Custom & Event List’s that are in the site, regardless of whether the list’s contain any item. For each list I need to supply a link (url) to the matching lists.
Any ideas on how to do this?
Instead WebPart, if you create Windows Application with Cloud Account/Windows Account credential, the data will be displayed on GridView and same export to excel. If you looking to have on SharePoint then use REST API or JSOM script with Content Editor Web Part using HTML table display.