30
Views
4
Comments
Solved
Action SaveOnClick
Service Studio Version
11.53.23 (Build 61527)

Hello! 

I need a help, 

I created this application of vehicle advertising. By clicking the register vehicle button> fill the fields> click on save. But when it goes to the home screen the image does not appear. I can't identify the error. Could someone help me? 

gratitude

GaragemSP7X.oml
2023-08-28 07-00-10
Paulo Torres
Champion
Solution

Sandra I don't know if you are just testing the platform, but if it's a real app maybe I can advice you to make create your code a little bit different.

  • Don't create a monolithic module (You are mixing database with front-end)
  • Also it's good to separate your Business Logic
  • Good if you can create all code in english
  • I saw some hard code values in queries
  • When you have several aggregates is good if you put inside DataAction, because each aggregate will open and close the DB connection and it cost time and resources

Any doubt just let me know :)

2022-08-16 18-11-49
Sandra Cristina Costa

Thanks! 

I'm studying for the platform and i have a few doubts on the way, I always redo the applications and when I really can not solve I come here in the forum. Thank you so much for the point you raised.

2023-08-28 07-00-10
Paulo Torres
Champion
2023-08-28 07-00-10
Paulo Torres
Champion

Problem in your query in Home screen, now it works.


This it's not correct: Vehicle.Model like "§" + Search_Vehicle + "§"

Should be done like that: Vehicle.Model like "%" + Search_Vehicle + "%"

Check the oml and let me know if it's solve your problem, if yes mark as a solution to help another people :)

GaragemSP7X.oml
2023-08-28 07-00-10
Paulo Torres
Champion
Solution

Sandra I don't know if you are just testing the platform, but if it's a real app maybe I can advice you to make create your code a little bit different.

  • Don't create a monolithic module (You are mixing database with front-end)
  • Also it's good to separate your Business Logic
  • Good if you can create all code in english
  • I saw some hard code values in queries
  • When you have several aggregates is good if you put inside DataAction, because each aggregate will open and close the DB connection and it cost time and resources

Any doubt just let me know :)

2022-08-16 18-11-49
Sandra Cristina Costa

Thanks! 

I'm studying for the platform and i have a few doubts on the way, I always redo the applications and when I really can not solve I come here in the forum. Thank you so much for the point you raised.

2023-08-28 07-00-10
Paulo Torres
Champion
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.