Why do I not see the right data when clicking on a name

Hello, 


I have a list of names of a screen. 

and I thougth I could use a popup to edit the screen

So I made a aggerate that only finds the customer im looking

But right now the popup do not show the date of the customer.


What am I doing wrong ?


Roelof


Hi Roelof,
I have checked your oml.

you should need some changes like below image

1. Take input parameter CustomerId in LinkOnClick Action

2. You need to one aggregate which take data by cutomer ID like GetCusomerById

3.Provide input Parameter for this aggregate and after that open popup



Hope this will help you

Regards 

Rahul Sahu

Hello, 


I have already a aggregate GetCustomerById but then on the webblock. 

Maybe it is easier to use two different screens for editing and adding new customers instead of a popup.


Hi,
But in your oml i am not able to see this aggregate.

yes it is best practice create a Screen / webblock and take input parameter as CustomerID and bind input from GetCustomerById aggregate.

And webblock you can put in popup it esay and useful.


Regards

Rahul Sahu

Rahul Sahu wrote:

Hi,
But in your oml i am not able to see this aggregate.

yes it is best practice create a Screen / webblock and take input parameter as CustomerID and bind input from GetCustomerById aggregate.

And webblock you can put in popup it esay and useful.


Regards

Rahul Sahu

This is the lastest version with a webblock which I use to hold the form and the webblock is placed in a popup.

But now I do not see the popup appear. 


Roelof



Hi,

I have changed your oml . there is missing content

please look at this


Regards

Rahul Sahu

Thanks,


Now I have to find out how to close the popup.

set showpopup variable false when you want to close .


Regards

Rahul

yep, but on the save action of the form I cannot use showpopup because it is not in scope.
I liked the idea of using popups to edit and enter data but it seems that this is very difficult to setup properly. 

Maybe I have to reconsinder my way of solving this and use two different screens.