I'm developing a system and I have a problem.
I have a system to create favorite, but the heart icon, when favorited, only updates in the favorites area, not in the accordion where it is.
Okay. I see where the problem is.
In your Secretaria A List, you are passing NullIdentifier() to the FavoritosId. (Same on Secretaria B List). I assume it is NullIdentifier because there is no field in the Screen aggregate to get the FavoritosId.
So to be able to have the FavoritosId, you need to join Painels "with or without" Favoritos and filtering the Favoritos.UserId in the join filter.
Then you can now pass the FavoritosId value:
I have attached the updated oml.
Regards,
Bryan
In your Secretaria A List, don't use NullIdentifier() to FavoritosId. This parameter don't exists.
Hi _loiolapaulo,
Could please explain more about your issue, if possible share some screenshot or OML for better understanding.
With this information we are not able to understand properly.
Rajat
This is what is happening.
Hi @_loiolapaulo ,
Just by looking at the screenshot, we can only assume what you have implemented.
So I would say, in your "favorites" area, you probably just set the "heart" variable to true since all items in that area is your favorite. However, it seems like the variable you are using in the "heart" in your accordion is not correct.
But these are all just assumptions as we are not sure how you actually implemented it. We also need to know how you are getting the data and which value you are assigning to the screen.
If you can share your OML (module > export > save), then we can pinpoint exactly what is your issue. Otherwise, giving more details and more screenshots on how you implemented this can also help.
Ok, here the file.
I'd like the favorite icon equal in "Favoritos" List and "Secretaria a" List
It will be very hard for us to understand your issue with just those information you provided. If you can provide more information on what exactly you are working on, what components you have used or take some screenshots or much better, if you can send your oml (Module>Export>Save), then we'll be very much happy to help you solve your issue fast.
Hi @_loiolapaulo Looks like you have to use some custom classes and events to fix this task, Kindly please share your OML so I can debug and fix it.Thanks,
Afaque Shaikh