How can I get the names of the columns used in the sharepoint list? I would like to add this data to my flow email. Please help.
Hi @ArjunSudaS ,
If you trigger your flow when item is created you can get your column like this,
or if you want to get items than use your column values than you should follow these steps,
If you find it helpful, Please Accepts it as a Solution.
I need to trigger the flow at some other scenario. The main thing I need is to capture the column names instead of the values inside the list. I may create a particular view for the list and I want to get the name of the columns in the list as the body of my email. Is there any way to fetch the column name only without content? See the figure below:
So suppose I would like to capture Created By and Created by Email and attach the same in my email message.
Thanks in advance for your help
Sorry, I'm Afraid that there is no method exist to acheieve this. i Think you have to use some logic on your list for example make a duplicate list and add a row with same data present in column header and then get this row to acheieve your functionality.
Hi @ArjunSudaS .
Can you post the context of this request and exactly what you want to use the data from the column headers for?
So I am reading between the lines a little here, but maybe you want to output at table? If so, use create HTML table for that as below.Otherwise, please can you give us more information and post some pictures of your Flow and your desired goal and we will assist?
But frankly speaking I may not be able to use this as a solution since I may be reading data from different lists dynamically due to a different requirement
I am facing the same issue, I want to retrieve column names with a particular value For ex. I want the columns with value 2. How can i retrieve this from sharepoint list.
get MS Form data -> input to list -> get column names where user has chosen 2 as option -> send email with those column names.
Need the solution on urgent basis. Really appreciate any help. Thanks!