Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

strange behaviour using Viewform with collection

(1) ShareShare
ReportReport
Posted on by 153

Im using Local collection in combination with cds  for saving my data because of offline mode.

Saving works like a charm. Even my toggle values are getting saved. 

But loading Data from gallery.selected record (is binded with local collection) into my viewform this happens:

The preview in my IDE shows the Value of the recordThe preview in my IDE shows the Value of the record

This is the View when I execute (f5) my app (same running on my mobile phone)This is the View when I execute (f5) my app (same running on my mobile phone)

 

 Im saving and loading the Data with SaveData & LoadData since I dont want to save the informations individually.

 

  • Verified answer
    MacWin Profile Picture
    MacWin 153 on at
    Re: strange behaviour using Viewform with collection

    We using only online mode now. there are to many workarounds to setup and collection is a really bad datasource for my objects.

    Maybe there are better functions  in future updates for handling offline mode. 

     

    Anyway thanks for trying to help me. 🙂

  • poweractivate Profile Picture
    poweractivate 11,078 on at
    Re: strange behaviour using Viewform with collection

    @Macwin 

     

    Suppose you have DataSourceName and CollectionName

     

    Try Refresh(DataSourceName) somewhere such as OnSelect of the Save Button right after your save - e.g. use semicolon after your Patch or SubmitForm and put Refresh(DataSourceName) - this may also automatically bring the new data in to your collection, even if you are using a Collection as a bridge between Data Source and App.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard