web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Insert JSON data into CDS
Power Pages
Unanswered

Insert JSON data into CDS

(1) ShareShare
ReportReport
Posted on by

Hi Team,

 

I want to insert output of my data which is in JSON format into CDS. How can I achieve that?

 

Thank you in advance.

Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @Anonymous ,

     

    Can you clarify a bit your requirement? Do you want to store a JSON in CDS as a string in the CDS or what? If yes then you can just create a multiline text field on the entity and store data their (just don't forget that you have a maximum number of characters in the field).

  • Community Power Platform Member Profile Picture
    on at

    So I have output something like as shown in the image after particular user logged in. And I want to store data in the form of table. for ex- in the image I have two field under DATA section i.e. answers and evidence. I want that data to be store in table as a single row for the logged in user under respective columns.

     

    Please let me know if you need more clarification.

    Thank You. 

  • Verified answer
    Christian Leverenz Profile Picture
    1,214 on at

    Hi @Anonymous ,

    i think, the easiest way would be to create a form with at least the required fields to fill in, create an entityform out of it, then add some javascript to the entityform to call the service and place the responsefields in the corresponding fields in the entityform and click submit ( $("#submit").click() should do the job ) 

    You can also create an invisible iframe on a page where you need this, load the form there and write some gluecode to send data to the iframe via postMessage.

    Another possibility is to create a textfield on your (or another...) entity, just write the stringified json object and write a plugin which does all the dirty stuff which could be needed 🙂

    Both (the text-json ist just a small variation of the preceding two) should do the job, we did both in some projects.

     

    But: there will/should/could/... be a new feature to be visible in junehttps://docs.microsoft.com/en-us/power-platform-release-plan/2020wave1/microsoft-powerapps/planned-features#power-apps-portals-improvements ) : CRUD operations for portalshttps://docs.microsoft.com/en-us/power-platform-release-plan/2020wave1/microsoft-powerapps/web-apis-crud-operations-common-data-service-entities ) . This should make these kind of tasks muc miuch more easy.

    Hope this helps,

      Christian

  • tjasonMayo Profile Picture
    4 on at

    You can now store files directly into Dataverse using File columns.

     

    File columns (Microsoft Dataverse) - Power Apps | Microsoft Docs

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard