cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

Collect stopped working

Hello,

 

 I'm facing issue with collect. It stopped working today in version 3.18083.31, nothing has been changed in the app.

 

In my case it is collection, that should be created when you click button in gallery

Collect(ShPItem;ThisItem)

Collection is not created and error is invalid name...well it does not exist, but should be created in accordance to previous functionality and function refference.

 

Was there any change in the behavior?  

 

  

2 ACCEPTED SOLUTIONS

Accepted Solutions
Resolver I
Resolver I

Re: Collect stopped working

Hi,

 

Thank you, but my problem is not collection content (values and/or columns). Problem is that simple "collect(NonexistingCollection;Values)" does not create the collection. As far as I know, result of this function should be new collection named "NonexistingCollection" with values.

 

To your question, there is clearcollect onvisible of the screen with the button that should create the collection.

 

 

View solution in original post

Highlighted
Resolver I
Resolver I

Re: Collect stopped working

Issue is gone, not sure whether it was fixed or what was the problem...

View solution in original post

4 REPLIES 4
Highlighted
Memorable Member
Memorable Member

Re: Collect stopped working


@TomasZubov wrote:

Hello,

 

 I'm facing issue with collect. It stopped working today in version 3.18083.31, nothing has been changed in the app.

 

In my case it is collection, that should be created when you click button in gallery

Collect(ShPItem;ThisItem)

Collection is not created and error is invalid name...well it does not exist, but should be created in accordance to previous functionality and function refference.

 

Was there any change in the behavior?  

 

  


 

Keep in mind using just Collect creates/adds to the existing collection. Do you have a ClearCollect anywhere that "sets up" the collection with the right fields/columns?

 

I've found that without a clear collect anywhere there's a chance the collection has a list of fields/columns that may differ and cause errors.

Resolver I
Resolver I

Re: Collect stopped working

Hi,

 

Thank you, but my problem is not collection content (values and/or columns). Problem is that simple "collect(NonexistingCollection;Values)" does not create the collection. As far as I know, result of this function should be new collection named "NonexistingCollection" with values.

 

To your question, there is clearcollect onvisible of the screen with the button that should create the collection.

 

 

View solution in original post

Highlighted
Resolver I
Resolver I

Re: Collect stopped working

Issue is gone, not sure whether it was fixed or what was the problem...

View solution in original post

Highlighted
Memorable Member
Memorable Member

Re: Collect stopped working


@TomasZubov wrote:

Hi,

 

Thank you, but my problem is not collection content (values and/or columns). Problem is that simple "collect(NonexistingCollection;Values)" does not create the collection. As far as I know, result of this function should be new collection named "NonexistingCollection" with values.

 

To your question, there is clearcollect onvisible of the screen with the button that should create the collection.

 

 


 

Perfect, that's the type of issue I've come across many times and our best practice is the same as yours, a ClearCollect in the OnVisible of the page if necessary.

 

Thanks for follow-up, I'll mark as resolved.

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,307)