Hi Dabuskol,
Could you elaborate a bit more on the issue as it's not entirely clear.
Are you saying you have a list view with 5 columns where you have 2 columns populated by a SMO and you want the other 3 to be populated by a different SMO?
Kind regards,
Hendrix
Hi Endrix,
Typo error. 5 columns in all
2 coming from Initial SMO while the 3 coming from a referene SMO.
I cannot create a composite SMO as the reference is in another database, performance issue.
Thanks
Hi Dabuskol.
If it is impossible to use a composite smartobject you could add three datalabels in the list view.
And then when you are populating your list you could add a each rule.
And for each row call a smartobject method and output to your added datalabels.
That should work but maybe Hendrix and K2 knows a better way.
Good luck!
Hi again.
That´s not exactly how i meant. But just to be clear, you want to display data from two Smartobjects in a listview (5 columns, 2 from the "main smo" and three from another?)
Do you have a ID from your "main smartobject" you could use to get the 3 other columns?
If that is the case you should be able to do like wrote.
MainValue1, MainValue2, OtherValue1, OtherValue2,OtherValue3
After list method:
For all rows
call the second smartobject with mainsmartobjectid (output values to the three datalabels in your listview (OtherValue1, OtherValue2, OtherValue3)
That's basically what I am doing but the value of (OtherValue1/2/3) is not appearing in the list view.
I used Transfer Data.
It worked. :-)
Old Setting
Col1 (Bound)
Col2 (Bound)
Col3 (Unbound)
Col4 (Unbound)
Col5 (Unbound)
New Setting
Col1 (Bound) value from initial SMO
Col2 (Bound) value from initial SMO
Col3 (Bound) value from reference SMO
Col4 (Bound) value from reference SMO
Col5 (Bound) value from reference SMO
Using the same logic from the attached snapshot,it worked and record is display in list view.
For Col3-col5 I used an existing column in SMO which is not used at all.
If there's a better/best way or suggestion on how on the right approach, feel free to post for future reference.
Thanks