Skip to content
  • Home
  • About
  • Contact
Search
Close

Power Platform Academy

Start or Upgrade your Career with Power Platform

Tag: EditForm

Get details of the new item created

June 4, 2022 Akanksha GuptaLeave a comment

When we want to get the details of latest created or updated item using SubmitForm, we use Form1.LastSubmit

Below is an example of Employee Details table.

  • Form Name: frmEmployeeDetails
  • Column Names in Employee Table: ID, Name, Address, Phone, Designation, PrimarySkill
SubmitForm(frmEmployeeDetails);
UpdateContext({newItem: frmEmployeeDetails.LastSubmit.ID})

This way, you can also fetch other details of the last submitted record, e.g., frmEmployeeDetails.LastSubmit.Name, frmEmployeeDetails.LastSubmit.Address etc.

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to email a link to a friend (Opens in new window)

Like this:

Like Loading...
Follow Power Platform Academy on WordPress.com

Blog Stats

  • 532 hits

Archives

  • January 2023 (7)
  • December 2022 (4)
  • June 2022 (6)
  • May 2022 (2)
  • April 2022 (2)
  • March 2022 (10)

Categories

  • My Stories (1)
  • Power Platform (25)
    • Canvas Apps (16)
    • Dataverse (4)
    • Power App Component Framework (PCF) (5)
    • Power Automate (1)
  • SharePoint (1)
    • List/Libraries (1)
  • SQL Server (4)
Blog at WordPress.com.
Back to top
  • Follow Following
    • Power Platform Academy
    • Already have a WordPress.com account? Log in now.
    • Power Platform Academy
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: