2
Views
5
Comments
Problems with Master / Detail Scaffolding in Version 9
Discussion
Greetings,

We're having a problem while trying to create the Master / Details Scaffolding between two tables we created.
The tables ModeloCotrto ( master ) and table ClausulaModCotrto( which has one field named ModeloCotrtoID ) are showing OK in the database diagram, with the correct relation between them. When we go to the ModeloCotrtoDetails screen and try to drag and drop the entity ClausulaModCotrto the list is created in the bottom of the screen, but no relations are created, no links to insert or delete. 
UserImage.jpg
Daniel Silva
Following data appendix.
prob1-2.jpg
2011-08-23 22-04-05
Tiago Simões
Staff
Hi Daniel,

That is indeed strange. No clue why that is happening, can you share the oml? A workaround is to create those things manually (e.g. by copying from here https://labs.outsystems.net/londontheme/CustomerMasterDetails.aspx).

Cheers,
Tiago Simões
UserImage.jpg
Daniel Silva
Thanks for the help Tiago...
Unfortunelly, we cannot create this manually, since we are preparing a presentation for a possible client, so we wanted to demonstrate the usability of Scaffolding. Follows attached the oml for the application. We believe there may be some problem with the table relations in Oracle, but couldn’t be sure yet. If we find out anything else we’ll post here.
IGCREDENCIAMENTO.oml
2011-08-23 22-04-05
Tiago Simões
Staff
Hi Daniel,

It seems the problem is the extra input parameter (SglModeloTpoCotrto) in that web screen. We'll add this issue to the backlog to be corrected. In the meantime a workaround is to delete that parameter, or at least create it only after dragging the entity to the screen to create the details.

Does this help?

Cheers,
Tiago Simões
UserImage.jpg
Daniel Silva
Thanks Tiago, this was exactly the problem!


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