46
Views
15
Comments
what should be done when the saved data is not displaying on the edit screen on click
Discussion

How to populate all the saved data from the db to the edit screen 

And also the new data saved into the db is not displaying in the list screen

Can anyone please help me.

2023-10-18 08-33-42
sujay kamath

Hi Shalini,

You can just drag and drop entity twice to main flow, both List and edit screens will be created. 

If you still have problem please share the OML file for better resolution.

Thanks,

Sujay

UserImage.jpg
Shalini D M

No i have already created the 2 screens the problem is when i click on edit in the list screen unable to populate data from the list screen to edit screen

2023-10-18 08-33-42
sujay kamath

There maybe problem while passing the identifier to edit screen/ while fetching data. Can you share the OML file to exactly understand the problem?

2025-09-08 18-10-12
Lucas Bessa Linhares

Hi Shalini, 

After clicking to edit one of the items from your list, you will need to navigate to the Edit screen, passing as an input parameter the ID of the item you want to update. On the Edit screen, you will need to call an aggregate, filtering from your database the item with the Id received as Input Parameter, and using the attributes of this aggregate as Value of the edit form items. If you're already doing this and it's still not working, please provide the .oml or some prints from your Edit screen and aggregate, so we can give you more help.

Best regards,
Lucas

UserImage.jpg
Shalini D M
2023-10-18 08-33-42
sujay kamath

Can you share screen shots from service studio of edit screen and aggregate, if you cannot share the OML file? 

2025-09-08 18-10-12
Lucas Bessa Linhares

In that case, add an OnAfterFetch on your aggregate to debug and see if your data is being loaded from the database. If not, check your aggregate because the problem is on it. If it's loading correctly, then the problem is on your screen. If so, verify your form widgets, maybe there is an inconsistency there.

UserImage.jpg
Shalini D M

In the onAfterFetch what should i supposed to refresh

2024-05-08 06-29-37
Prince Aadil Khan Panwar

Hi @Shalini D M 

I am attaching OML. take help from the OML. if any other information you want to ask. you can ask.

hope this helps

Thanks

Prince

EditScreen.oml
2024-05-08 06-29-37
Prince Aadil Khan Panwar

did you check this OML?

UserImage.jpg
Shalini D M

yes I checked the same thing i have done in my oml still not working

2024-05-08 06-29-37
Prince Aadil Khan Panwar

i checked your oml. you were passing nullidentifier() instead of local variable which you assigned from the event of the list.


try this and let me know its working or not.

Regards,

Prince

UserImage.jpg
Shalini D M

Yes its working now thank you so much for the help.

2024-05-08 06-29-37
Prince Aadil Khan Panwar

welcome any time. if it worked for you. mark it as solution. thanks

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Shalini,

Multiple people now have tried to guess what could be the problem, all your replies are among the line, "tried that done that that's not the problem".

This forum is not ment to be a guessing game. 

If you have a problem you need to describe it in detail and provide supporting evidence, for example with screen shots, or even better upload an OML.

That way people can help you more effective and are not waisting our valuable time guessing.

Regards,

Daniel

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