I am looking for the best method to transfer information from a SharePoint List record to an Excel template file.
I currently have a SharePoint List 'EmployeeShort' that is updated, etc. via a Power App. When an employee leaves our group, they are identified as a "Separated Employee". An email is auto-generated (via a Flow) to notify supervision of the separation. With this, an option is also provided to enter information into a hiring request form 'HRF'. The fields/columns for the HRF are currently associated with the EmployeeShort list and are patched. Based on some online support, it appears a method is to create a "collection" and then through JSON supply information to a CSV file ultimately to the template. Following are a few questions...
1. Does the method suggested (JSON, etc.) seem the most appropriate for the process described?
2. For my collection (colEmployee) I am getting ALL list information. How do I specify information for the specific employee from EmployeeShort?
3. Because I only need certain columns from the list, is it more efficient to specify those choices for the collection?
Any assistance is appreciated.