cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resident Rockstar
Resident Rockstar

Sharepoint list to JSON Array issue

I recently found success with converting an SQL table to a JSON array in order to transfer in excess of 2,000 rows to a collection in PowerApps.  See this post:

 

https://powerusers.microsoft.com/t5/Building-Flows/Getting-thousands-of-rows-of-data-into-Powerapps-...

 

I was attempting to do the same thing with a sharepoint list, ans the JSON output of a Get Items action is in the identical format.  However, when I attempt to do this, the result is not as expected.  The collection in PA only contains a sigle object, "Value", and it contains the value 'true'.  I suspect it might have something to do with syntax since sharepoint has some default columns that are surrounded by curly brackets.  I cannot remove these from the sharepoint list.  So, I'm stuck with.  Any suggestions??

 

Output from Response Action:

 

[
  {
    "@odata.etag": "\"1\"",
    "ItemInternalId": "7369",
    "ID": 7369,
    "Title": "JS75 General Arrangement",
    "MD_PartNumber": "201011",
    "MD_LatestRevNumber": "2",
    "MD_DateDrawn": "1997-07-24",
    "MD_Project": "PRV",
    "MD_LastModified": "1900-01-01T00:00:00Z",
    "MD_Component": "GA",
    "MD_idDrawing": "5C969E23-763F-464B-B352-5803206C5FE6",
    "MD_Reviewed": false,
    "MD_IsActive": false,
    "MD_ModifyDate": "1900-01-01T00:00:00Z",
    "MD_In_PDM": false,
    "MD_DrawingRevDate": "2011-07-27",
    "MD_LinkToDrawing": "https://company.com/sites/company/Drawing_Vault/201011-Rev-02.pdf",
    "MD_PDM_Link": "",
    "MD_Data_Flagged": false,
    "Created": "2018-09-17T21:21:28Z",
    "MD_DrawingMissing": false,
    "Modified": "2018-09-17T21:21:28Z",
    "Author": {
      "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
      "Claims": "i:0#.f|membership|rmartin@email.com",
      "DisplayName": "Rod Martin",
      "Email": "rmartin@email.com",
      "Picture": "https://company.com/sites/company/_layouts/15/UserPhoto.aspx?Size=L&AccountName=rmartin@email.com",
      "Department": null,
      "JobTitle": null
    },
    "Author#Claims": "i:0#.f|membership|rmartin@kelso365.com",
    "Editor": {
      "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
      "Claims": "i:0#.f|membership|rmartin@kelso365.com",
      "DisplayName": "Rod Martin",
      "Email": "rmartin@email.com",
      "Picture": "https://company.com/sites/company/_layouts/15/UserPhoto.aspx?Size=L&AccountName=rmartin@email.com",
      "Department": null,
      "JobTitle": null
    },
    "Editor#Claims": "i:0#.f|membership|rmartin@email.com",
    "{Identifier}": "Lists%252fMaster_Drawing_List%252f7369_.000",
    "{IsFolder}": false,
    "{Thumbnail}": {
      "Large": null,
      "Medium": null,
      "Small": null
    },
    "{Link}": "https://company.com/sites/company/_layouts/15/listform.aspx?PageType=4&ListId=63724a5d-a47f-45be-88cd-3ce7f3e2a668&ID=7369&ContentTypeID=0x0100CBB886D895E5164889EECF8CB1AABEBB",
    "{Name}": "JS75 General Arrangement",
    "{FilenameWithExtension}": "JS75 General Arrangement",
    "{Path}": "Lists/Master_Drawing_List/",
    "{HasAttachments}": false
  }
]

This is what I get in the collection:

 

image.png

 

 

Thank you.

1 REPLY 1
Highlighted
Frequent Visitor

Re: Sharepoint list to JSON Array issue

I have the same issue.  I am trying to deserialize the JSON output and the curly braces around things like {HasAttachments} is messing me up.

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (6,739)