web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Powerapps forms defaul...
Power Apps
Unanswered

Powerapps forms default value

(0) ShareShare
ReportReport
Posted on by 776

Hello Experts

 

I have sharepoint List 1 displaying data in Form 1 (in view mode) 
AshishJaiswal_0-1645706828326.png

On the next screen I have form 2 (in new mode) which on submitform will patch data to sharepoint list 2

AshishJaiswal_1-1645706901663.png

I would like that product field in form2 to have default value from FORM 1 (or from List 1 either ways)

 

Example if someone select 'Exchange' in form1 

 

'Exchange' should be the default value in Form 2 when the user is redirect to form2 screen.

Categories:
I have the same question (0)
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @AshishJaiswal 

     

    Set the Items property of the dropdown to 

    Choices(SPList2, ChoiceColumn)

     

    Set the Default Property of the dropdown to

    ControlDropdownName.Selected.Value

     

    Where ControlName is from the previous screen dropdown 


    Thanks, Stalin
    Blog - Learn To Illuminate Blog
    YouTube - Learn To Illuminate Videos

     

  • AshishJaiswal Profile Picture
    776 on at

    @StalinPonnusamy 

    Does not work 

    Default value in form2 should be from1 or SP list 1

     

    AshishJaiswal_0-1645714125566.png

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    I assume you have product selected from the previous screen. You mentioned from 1 is view only. So we can't select anything.

     

    The default value should come from the previous screen where you made a product selection from the dropdown.

     

    Let me know where you are selecting the product from List 2?


    Thanks, Stalin
    Blog - Learn To Illuminate Blog
    YouTube - Learn To Illuminate Videos

  • AshishJaiswal Profile Picture
    776 on at

    @StalinPonnusamy 

    My mistake

    Let me clarify everthing

    Screen 1 - Gallery showing items from List A
    Next Button

    Screen 2 - Form1(view mode) showing selected item from gallery 
    Next Button

    Screen3 - Form2(new mode) which will patch data from form2 to ListB

    Now when user is in screen 3 on form2 - he should see default value in dropdown which he selected in screen1

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @AshishJaiswal 

     

    NO worries. Thanks for the clarification.

     

    Set the Default property to Form2 dropdown

    GalleryName.Selected.ProductColumnName

     

    Make sure to set the Items property which has values.

     

    If the default value for Edit and New mode then we need to set

    Coalesce(ThisItem.ProductColumnName.Value, GalleryName.Selected.ProductColumnName)

     


    Thanks, Stalin
    Blog - Learn To Illuminate Blog
    YouTube - Learn To Illuminate Videos

  • AshishJaiswal Profile Picture
    776 on at

    @StalinPonnusamy 

     

    Sorry, I think I am not able to follow

     

    On form2 in the default property of the dropdown i need to use this - 

    GalleryName.Selected.ProductColumnName

     

    and where do i need to use this 

    Coalesce(ThisItem.ProductColumnName.Value, GalleryName.Selected.ProductColumnName)

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @AshishJaiswal 

     

    Set the default property of the dropdown to

     

    If your form2 is always in new mode (Newform) then

    GalleryName.Selected.ProductColumnName

     

    If the form is used as newform and edit form then use

    Coalesce(ThisItem.ProductColumnName.Value, GalleryName.Selected.ProductColumnName)

     


    Thanks, Stalin
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard