IBM Business Process Manager
Accesing list data bound to Coach View
Hi all, Am trying to access the list of object in coach view which is bound to table and coach view. myDetails - id ,name,address var data = this.context.binding.get("value"); am able to see the get and set methods for all columns at each index in list. data.get(); -- for all three columns data.set() --for all three columns But when i try to get/set a value of column for any index it is showing some error in firebug console like can not read undefined value. I know there is method .get(index) which returns the specific index object but i want to get/set specific column value of any index. Can anybody tell me how to update the wanted column value ?
I'm sure you're found the answer to this by now, but on the off chance you haven't - The 'Items' in your bound list can be accessed via the items collection; following on from your example you'll need to do something like this: var data = this.context.binding.get("value").items; // Access the properties of each item by name, e.g. data.id; data.name; data.address; I hope this helps, Dan
Simple Checklists help eliminate “stupid” mistakes.
upgrade from BPM 8.0.1 to 8.5
Stock Table Coach View delete row not sufficient BPMv8.0.1
BPM 8.0.0 - Event Manager- IE throwing XSS(Cross site Scripting error)
Junit with Coach
Embedding another web app into Coaches .
Token not moving from IME to the next component
Error while logging into prcess designer
Does this AJAX feature work any more?
Xpath Expression (IBM BPM 8)
Performance issue with XML Parsing
BPM 8.0 : Making link behave like button
Sorting Process Portal v18.104.22.168
Sorting Tasks Based on Priority in Process Portal BPM 8.0.1
Images not displying in coach through the Process Portal