I want to click on the checkbox in the PC screen to insert the header from the selected checkbox into the SelectedHead table. But now the content cannot be displayed in the SelectedHead table.
Hi
The Checkbox1OnChange inserts a blank record into the SelectedHeads Entity.
I've noticed the GetSelectedHeads Entity is not refreshed. That must be done for the data to update.
The GetSelectedHeads aggregate also isn't called on screen
Thank you for your reply.
What should I do to modify these issues you said so that I can do it? Can you be more specific?
Hi Ren,
What content you want to store in header column of the SelectedHead table?
In the Checkbox1OnChange action you simply using the CreateorUpdate entity action of the SelectedHead table and sending the variable SelectedHead as a input parameter. But you are not assiging value(s) to the SelectedHead variable anywhere which means it contains null value at the time of calling the entity action.
You need to assign the value(s) to the variable before calling the entity action. What you can do is create a input parameter in the OnChange action of the checkbox and assign the SelectedHead.header as the input parameter in an assign node right before calling the entity action. Send the desired value of the input parameter from checkbox widget Onchange handler.
Then after calling the entity action refresh the GetSelectedHeads aggregate in the same action flow. Also there is no way of checking or displaying data in SelectedHeads table since the aggregate in not being used anywhere in the screen.
Thanks,
Anshul
> You need to assign the value(s) to the variable before calling the entity action.
Can you tell me specifically how to do it?
>Also there is no way of checking or displaying data in SelectedHeads table since the aggregate in not being used anywhere in the screen.
I want to directly transfer the data from the PC screen to the next page. I want to first transfer the data to the database, and then directly retrieve the values from the database on the next page. What should I do in that case?
What i meant was to use assign node like this
Here I have taken a input parameter in the OnChange action and have assigned the SelectedHead.header value to equals to that input parameter. Now when entity action will run it wont create a null entry insted it will create the entry as the value passed in the input parameter
Hi @Ren XiaorongStep:>Remove SelectedHeader variable>Add an input parameter Header in Checkbox1OnChange.
>Then replace the CreateOrUpdateSelectedHead to CreateSelectedHead and pass the Header input parameter to CreateSelectedHead action as shown below.
>If you want to show SelectedHeads on screen then use GetSelectedHeads to show heads on screen(Using table/list) then Refresh the GetSelectedHeads after CreateSelectedHead .>Go to screen table and pass the current header to Checkbox1OnChange as shown below.
oml is also attached for referenceRegards
Krishnanand Pathak
@Krishnanand Pathak
Thank you very much!I understand what you mean.
What should I do if I want to click on the detailed image link and the product name in the detailed image will be directly transferred to the corresponding value of the PC image header?
Please provide more details about the requirement.
After clicking on the detailed screen of the selected product, only the information of the selected product will appear in the detailed screen.(the table of thedetailed information is PCDetail.)