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

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,167 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

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 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard