0

Cross posting from stackoverflow as I think this is a SharePoint issue...

When I check my collection, all desired columns are shown, including columns with a null value. When I check the ProfileData variable passed through the JSON function, the columns with null values have been dropped out. Is there a way to get columns with null to stick in the ProfileData variable?

I learned that pointing the app at an excel spreadsheet will include null attributes, but pointing it at a sharepoint list will excluse null attributes. Any ideas on how to include attributes with null values from a sharepoint list?

//Clear the existing profile collection Clear(ProfileContent); // Loop through each item in ProfileContent and collect the file data Collect(ProfileContent,ShowColumns(CurrentItem, First,Last,Middle,Phone,Class,Score,Grade) ); // Set the ProfileData variable with the JSON representation of ProfileContent Set(ProfileData, JSON(ProfileContent,JSONFormat.FlattenValueTables)) 
4

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.