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 / Creating a Temporary C...
Power Apps
Unanswered

Creating a Temporary Collection

(0) ShareShare
ReportReport
Posted on by 169

Could use some help with creating a Temporary Collection.

The following statement is used to create the collection with empty cells:

NewForm(frm_Master);ClearCollect(RequestCollection, {LineDate: "", LineLocation: "", LinePerDiemDate: 0, LineNotes: "", LineTravelDay: "", LineReimbursement: 0, LineHousing: "", LineCar: ""});Navigate(NewRequest,ScreenTransition.Fade)

What I am not sure of are items like the LineDate and Yes/No choices.

Also, when creatng the Vertical Gallery,, do I use the Date Picker or Text Input?  If the Date Picker, how do I reference it to the LineDate in the Collection?  Same with the Yes/No columns.

In my Dataverse Table, Date is set as a Date Picker, and three other columns are set as Yes or No.

Categories:
I have the same question (0)
  • turnerj3 Profile Picture
    2,039 on at

    @billf24 ,

    Why are you creating the temporary collection?

  • billf24 Profile Picture
    169 on at

    I am creating repeating tables before posting to the Dataverse Table.

     

  • turnerj3 Profile Picture
    2,039 on at

    So you are going to use the form to populate the Collection?

  • billf24 Profile Picture
    169 on at

    Yes, then write back to the Dataverse Table

  • turnerj3 Profile Picture
    2,039 on at

    You could set your form to your Dataverse Table and let it populate the data cards. Then change the form DataSource =RequestCollection . If the column names are identical between dataverse and the collection you shouldn't have to change anything else. Otherwise, you may have to adjust the DataField, DisplayName, and Default of each card.

     

    In the Gallery's DatePicker use ThisItem.LineDate

     

    Not sure exactly how to show the Yes/No other than text.

     

     

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 342 Most Valuable Professional

#2
11manish Profile Picture

11manish 234

#3
Valantis Profile Picture

Valantis 187

Last 30 days Overall leaderboard