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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dynamically generating...
Power Apps
Suggested Answer

Dynamically generating form fields in model driven app

(0) ShareShare
ReportReport
Posted on by 8
We have a model driven app in our power apps environment, we want to be able to generate new form fields in that app based on some JSON data we have stored in a dataverse table. The idea is we query the dataverse table on form load check the JSON and build the form out based on what the JSON is telling us.

Is this possible using a model driven form app in power apps? I've read PCF might be a way to do it, or even a canvas app which we cant use as we are restricted to model driven. We need the fields to be created as and when, this is not a create the fields before and show and hide them, the fields will be created off the back of the json.

Storage wise, I was thinking of storing the forms files using JSON in a column that way we dont need to worry about adding new columns each time which sounds like it would be impossible anyway.

Anyone in or outside Microsoft able to give me some advice on this before I start going down the rabbit hole?

Thanks,
Anton
I have the same question (0)
  • Suggested answer
    Ram Prakash Duraisamy Profile Picture
    5,775 Super User 2026 Season 1 on at
     
    Please find my Github to load dynamic fields based on JSON : https://github.com/rampprakash/powerapps-dynamic-form-control

    I feel its good to use PCF, if you want fields then create a fields and onLoad of Form get the values from JSON then map it to the fields.
     
    Please mark as answer if my suggestion helps.
    Subscribe here for More Useful videos : https://www.youtube.com/@rampprakash3991

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,055

#2
Valantis Profile Picture

Valantis 666

#2
11manish Profile Picture

11manish 666

Last 30 days Overall leaderboard