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 one record in a...
Power Apps
Unanswered

create one record in another table when one record is inserted in another table

(0) ShareShare
ReportReport
Posted on by 4

Hi all,

 

I have created a table Employee in the sharepoint list which has fields 

 

empid empname designation 

 

when i have entered the one record in employee table 

 

101  ram consultant

 

then one record has to be inserted in the department table automaticclayy

 

dep id deptname empid

1         IT                101

 

Can any one let me know whether this is possible in sharepoint list

 

Regards

Srini

 

 

 

 

 

 

 

 

 

 

 

Categories:
  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    Yes its possible. Use two Data source connectors to access the two SharePoint lists.  When you Submit the record for the first list add a Patch statement to the same action that adds a record to the second list. There is no way to create a relationship between the two lists that will add the record automatically, but your application can definately apply logic that will do it.

  • srinivas2212 Profile Picture
    4 on at
    HI Pstork1, thanks for the reply.,you have told to build logic from front end but i need from sharepoint only  just want to ellaborate on my requiremnt i am populating one list employee using import  excel manually  and it will create 4 records in employee list when 4 records are created in the employee list columns are (empid,empname,designation) i want to autopoulate another list department with same 4 empid and few other fields like created date and designation is it possible in sharepoint without using flow Regards srini
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @srinivas2212 ,

    I've made a similar test and found the sharepoint custom form could only connect with itself list.

    I'm afraid it's not supported to make this only by using sharepoint.

    I suggest you use Flow or create an app connected with sharepoint list.

    For example, create an app connected with sharepoint list:

    Set the app connet with list1,list2

    Set the form1's submit button's Onselect: SubmitForm(Form1);Patch(list2,Defaults(list2),{...,...,...})

     

     

     

    Best regards,

    Community Support Team _ Phoebe Liu

  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    Unless you are using Flow or a regular PowerApp app you can't have SharePoint populate a second list automatically when yiou create a new item in an existing list.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard