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 / Opening another form o...
Power Apps
Answered

Opening another form or creating a subform from a form?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Everyone, 

 

I'm making a small post registration solution in SharePoint for documents & files where files can contain multiple documents. You can for example have a file for "installation in house x" and all post (letters and such) regarding house x should be linked to that file. 

 

I have created two lists:

- Files

- Documents

 

In the Documents form I have a lookup field that allows the user to select an already available file from the file-list. However, I would also like to be able to create a new "File" item from the "Documents" form. 

 

What is the best way to achieve this? a link to the "new" form, or show/hide the file fields based on a button? But then how do you create a new object from another list?

 

Thanks!

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Could you please show me some screenshots of Documents" form?Is Documents form a form control or a Custom Form in SharePoint List.

    If Documents" form is a Form control,I'm afraid your requirement is not available.

    If "Documents" form is Documents list's Custom Form,then you could try:

    Step1:Open the custom form

    vbofengmsft_0-1637202175980.png

    vbofengmsft_1-1637202240603.png

    Step2:Create a New Screen(FileScreen)

    vbofengmsft_2-1637202279783.png

    Step3:Connect to 'Files'

    vbofengmsft_3-1637202352254.png

    vbofengmsft_4-1637202435079.png

     

    Step4:Add a edit form(Form1) into FileScreen and set it's 

    DataSource

    Files_1

    DefaultMode

    FormMode.New

    Step5:Add a button into FileScreen and set it's 

    OnSelect:

    SubmitForm(Form1);NewForm(Form1);Refresh(TheDocuments);Back()

    Text

    "Submit"

     Step6:Add a "+" icon into FormScreen1 and set it's OnSelect property to:

    vbofengmsft_5-1637202687325.png

    The Result:

    3.gif

    Best Regards,

    Bof

     

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 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard