I'm trying to pass an ID I have just created to another screen, the second screen should be able to use the details of that row I have just created.
Problem is that I can't get to the specific ID. Since the button is not bound to my database.
After I click OK here, I'm creating a new row.
After that i'd like to click on the second button 'demarrer le tool', this should go to my second screen, however can I somehow link my id on that button so that I can use the value's of that attribute i just filled in?
Hi Kadir,
Instead of having the button navigate to the new screen, you can have it linked to a client action.
On that action, you call:
1. a server action that creates the record in the database and returns the id
2. you navigate to the new screen using the output id of the action in 1.
Something, like the image below:
Kind Regards,João
Yes it did work with using a server action however even though I give the my id as the input parameter, this new screen somehow does not want to use the records of that certain Id.
Instead it uses the records of my first Id. Id 1.
This is the Sales number, it should have been 15 instead of 28. The id on the URL is 15. My current is somehow on 1. how can i assign my current id number into the input parameter Id?
Hi Aksu,
Did you add OnParameterChanged event and refresh your aggregate (or Data action)?
Regards,
Khuong
Instead of using current, I have used
List[PassedInputParamater - 1].Sales, now this works.