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 / Power Apps (Model Driv...
Power Apps
Unanswered

Power Apps (Model Driven App)- Creation Forms-Views Manually using Code

(0) ShareShare
ReportReport
Posted on by 2

I am a CRM Developer, I have done the form and views creations in Model Driven Apps using the Power Apps environment provided inside the CRM.
I would like to do the same development of Forms and Views of model-driven apps manually using Code, Instead of using GUI mode provided by Power Apps.

 

 

Is there any Open Source/Paid Tools available to code manually Model Driven Apps.

1. Creating Model Driven App manually.
2. Creating/Editing Forms manually.
3. Creating/Customizing the Views manually.
4. Customize the view like data tables format.

           example reference: https://datatables.net/

 

Note:
I am using Microsoft Dynamics 365 Customer Engagement Plan 2022 (Online)
I have developed the many model driven apps using this environment.

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @PannirSelvam 

    You will probably get a response if you post this in the Dataverse section of the forum.

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @PannirSelvam 

     

    I know we can create views programmatically, but I don't think we have any API or Service call to create Forms.

     

    https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg594431(v=crm.8)?redirectedfrom=MSDN

     

    Can you give us the background for this requirement?


    Thanks, Stalin (Microsoft MVP)
    Blog - Learn To Illuminate Blog
    YouTube - Learn To Illuminate Videos

  • PannirSelvam Profile Picture
    2 on at

    Sir, Thanks for the Reply. 

     

    My background for this requirement is mostly Microsoft used to provide all the products integration functionality usually provided with Visual Studio - creating project and deploy in Sharepoint, Other Application. Why Microsoft has not provided a functionality to Power Apps functionality create Project code using Visual Studio and Deploy the Solution in Dynamics 365 CRM. What are all the things we have doing using the Power Apps GUI based should also be possible to create view code which will be flexible for CRM developers to do the following

     

    1. Creating Model Driven App manually.

       -Create Model Driven app project from Visual Studio
    2. Creating/Editing Forms manually.

       Form designing page drag and drop controls using Visual Studio for building Forms.
    3. Creating/Customizing the Views manually.

       View designing page using Visual Studio.
    4. Customize the view like data tables format.

        View designing page like datatables format using Visual Studio.

     

    Once the Project is Build , I will export the solution and deploy in CRM. I should use the CRM Environment for Running the Power Apps. All other related developments should be completed using Visual Studio itself.

     

    I don't know Microsoft themselves not provided any tool to work with Power Apps like this. Whether they provide a functionality like this in near future. Is there any paid tool which is other then Visual Studio providing above functionalities? 

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @PannirSelvam 

     

    Thanks for the explanation. I don't think MS has any roadmap to have all these operations through Visual Studio. 

    We have an API to Create Model Driven App manually

    https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/create-manage-model-driven-apps-using-code#create-your-model-driven-app-and-define-its-properties

     

    I know there is no tool available for this use cases. But we have XRMToolBox (Community Build) to speed up some of the tasks like Duplicate forms, views, fields, and many more.

     


    Thanks, Stalin (Microsoft MVP)
    Blog - Learn To Illuminate Blog
    YouTube - Learn To Illuminate Videos

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard