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 / Create New Record in D...
Power Apps
Answered

Create New Record in Dataverse Table with Button Click On Select

(0) ShareShare
ReportReport
Posted on by 95

I have a PowerApp that is connected to a Dataverse table. When I click a "Submit New Form", I want to create a blank row in the dataverse table. Nothing I have tried has worked and I can't figure out why. When I use this code, it navigates me to the correct screen, but the screen is blank and shows no Edit form.... 

 

Here is the code in my OnSelect of my New Button:

Set(
 NewRequest,
 Patch(
 'S3 Log UAT TESTs',
 Defaults('S3 Log UAT TESTs')
 )
);
Set(
 varFormID,
 NewRequest.S3ID
);
EditForm(Form1);
Navigate(scrnForm);

 

Here is the code for my Items Property of my Form:

LookUp(
 'S3 Log UAT TESTs',
 S3ID = varFormID
)

 

What am I missing here? This is how we typically setup our PowerApps when building new Forms for SharePoint lists. Is there a difference here because my datasource is the Dataverse?

Categories:
I have the same question (0)
  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @cjwilson80 To have a new record in the Form all you need is NewForm(FormName).

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @cjwilson80 Did you get it to work???

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard