21
Views
4
Comments
Solved
It´s possible reset screen without change some part of the table record?

Hello, 

For the BookLoan screen, I would like the checkbox (true) stay true while the book is on at "BookList", even when I reset the screen. 

I made some attempts But I didn´t succeed yet, this would be possible in this case? 

Regards, 

Jessica Marques.

(I attached my oap)

SistemadeBiblioteca15.oap
2018-10-29 08-31-03
João Marques
 
MVP
Solution

Hi Jessica,


When you go again to the database, the IsSelected flag will be set again to False, since it is what you have in the query

What you have to do is after the query refresh, update the IsSelected value by checking if the book belongs to the list:


Here I iterate for each record from the query and I see if it belongs to the book list and updated the selected value based on it.


In attachment, the OML.


Hope it helps.


Cheers,

João

SistemadeBiblioteca.oml
2020-09-15 09-38-17
Jessica Marques

Hello João, 

Finally, it worked! Thanks for the help.

Do You know how can I fix this warning? (I followed your OML and this fields doesn´t was filled )

 I need to study more about the list and the Server Action.

 Would you can to indicate some materials or some demo application? 

Cheers, 

Jessica Marques. 

2018-10-29 08-31-03
João Marques
 
MVP

Hi Jessica, 


I am glad I could help and you managed to put it working!

I'd say you can follow the guided paths and courses on site of outsystems, you'll learn how to do it.

I also recommend checking Outsystems success documentation and Outsystems best practices. Not only you will understand why some things work, you will start taking into account the importance of using Outsystems in a performant and secure way and why some solutions are better than others.


The rest will come with experience on using the platform and the challenges you are facing.


Good luck!


Cheers,

João

2020-09-15 09-38-17
Jessica Marques

João Marques wrote:

Hi Jessica, 


I am glad I could help and you managed to put it working!

I'd say you can follow the guided paths and courses on site of outsystems, you'll learn how to do it.

I also recommend checking Outsystems success documentation and Outsystems best practices. Not only you will understand why some things work, you will start taking into account the importance of using Outsystems in a performant and secure way and why some solutions are better than others.


The rest will come with experience on using the platform and the challenges you are facing.


Good luck!


Cheers,

João Hello João,

Thanks for your indication. Actually, I´m reading the documentation and doing some personal projects to practice and understand better the platform. 

Have I nice day.


Cheers, 

Jessica. 

 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.