on 02-06-2008 8:07 PM
I've created a recursive context node to display contents of a KM folder. The structure has been mapped to a table, which works just fine. I can expand nodes of the tree and display the contents of sub-folders. Great. However, I need to know which backing KM object has been selected via the table. Since this is a recursive structure, using
wdContext.currentXXXX()
does not work, since that's the top of the tree. Parameter mapping will only give you the column and/or row of the item selected in the table, not the object itself.
I'm missing something obvious here, but I can't figure out how to get the context element behind the selected row in a table which is displaying a recursive structure.
I can do this with a Tree structure, since you can map the 'path' parameter to the actual context object. However, the Table UI doesn't offset that information (a severe oversight, at least in my mind).
Suggestions?
Map the (implicit) event parameter "nodeElement" of type IWDNodeElement to a corresponding action parameter.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Armin, that works great.
Had I finished reading this page:
http://help.sap.com/saphelp_nw70/helpdata/en/60/1f1f056f057d4d962375efd3c92ed0/frameset.htm
I would have found the correct documentation.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.