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.
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
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
There maybe problem while passing the identifier to edit screen/ while fetching data. Can you share the OML file to exactly understand the problem?
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
I have already done this still not working
Can you share screen shots from service studio of edit screen and aggregate, if you cannot share the OML file?
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.
In the onAfterFetch what should i supposed to refresh
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
did you check this OML?
yes I checked the same thing i have done in my oml still not working
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,
Yes its working now thank you so much for the help.
welcome any time. if it worked for you. mark it as solution. thanks
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.
Daniel