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 / Default Data from a Cl...
Power Apps
Answered

Default Data from a ClearCollect Collection

(0) ShareShare
ReportReport
Posted on by 68

I'm facing difficulties with modifying data in my Power Apps applications. Initially, I fetch data from a database to retrieve resources, and then I store the selected data in a collection, which also contains other cached data. The external collections refer to SharePoint lists that are not the ones I'm directly working on.

 

The issue arises when attempting to modify data in SharePoint. The default values do not load correctly because they reference data stored in a variable that is not saved. Although I've used the data from the variable, it has been concatenated and no longer has the same format, making it impossible to retrieve. Default values are crucial for data modification in Power Apps, as they load the desired data when editing an existing row.

 

I'm wondering if there's a way to set default values using data from the external collection or if there's another approach to solving this data modification issue in Power Apps.

Categories:
I have the same question (0)
  • VishalJhaveri Profile Picture
    1,169 Moderator on at

    Your question is not clear.

  • Emilbou Profile Picture
    68 on at

    I've tried to clarify the context, ask me if you have any questions @VishalJhaveri 

  • Verified answer
    Emilbou Profile Picture
    68 on at

    I succeeded in setting default values in my Power Apps form by updating the DefaultSelectedItems property of my dropdown list. I used the ForAll(Split(ParentDefault,","),{Title:Value}) function, where ParentDefault represents my concatenated values. The formula allows me to create an array of objects with readable data for the dropdown 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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 474

#1
Valantis Profile Picture

Valantis 474

#3
WarrenBelz Profile Picture

WarrenBelz 375 Most Valuable Professional

Last 30 days Overall leaderboard