on 07-12-2021 4:44 PM
Hi All,
I am working an custom UI5 application with backend OData service, wherein I am using Process Flow control to display multiple process with details. Which will have various Lanes corresponding to multiple Nodes.
Frontend - Eclipse 2020-12
Backend - SAP 7.5
Currently I am facing an issue with adding the Children property, i.e. to establish the linkage between the Nodes.
As shown, in the below image Currently there is no linkage between the nodes.
The Children property accepts "Array" structure ,i.e. any[ ]. To accommodate that till now I have implemented the below options but it din't work-
1. I have created a additional property in my entity set and added a Navigation 1:M for multiple entries for children, and populated the frontend field with same. But it din't work
2. I have passed hardcode array and stored in my json model and binded it in the view. Please refer to below screenshot in that the array [4, 5] is the Node number to which the link should to added. But it din't work either.
Can anyone help me out here on how we can add pass the data for Children property and where I am going wrong.
Please let me know if any more details are required.
Appreciate the help.
Thanks,
Swati
Hi All,
I was able to resolve my issue. The issue was with the structure which I was passing for Children.
Structure :
[
{ nodeId: 4 }
]
I have created children entity wherein I have added a property as "nodeId" and populated that field in the backend.
In XML-
I did the below binding in XML for the same.
Output
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.