Extend Viewlet to filter by role
Hi,
I'm trying to create a custom widget that extends a consulting workitem one, but enabling to filter the results depending on current user role.
- At first I tried to reach this by REST API, but couldn't find any REST service to accomplish this:
https://jazz.net/forums/viewtopic.php?t=20128
- Later I've tried to create a custom REST service ( so I could java the behaviou r) and a custom Viewlet to consume itm following the these tutorials:
https://jazz.net/wiki/bin/view/Main/ViewletAuthoring
https://jazz.net/wiki/bin/view/Main/ViewletServices
Could anyone tell me if this is a right approuch, or has any alternative idea? From what I have been able to see the functionality I look for is quite far from the one I could imagine to be created through this tutorials.
Thanks!
Pere
I'm trying to create a custom widget that extends a consulting workitem one, but enabling to filter the results depending on current user role.
- At first I tried to reach this by REST API, but couldn't find any REST service to accomplish this:
https://jazz.net/forums/viewtopic.php?t=20128
- Later I've tried to create a custom REST service ( so I could java the behaviou r) and a custom Viewlet to consume itm following the these tutorials:
https://jazz.net/wiki/bin/view/Main/ViewletAuthoring
https://jazz.net/wiki/bin/view/Main/ViewletServices
Could anyone tell me if this is a right approuch, or has any alternative idea? From what I have been able to see the functionality I look for is quite far from the one I could imagine to be created through this tutorials.
Thanks!
Pere