on 12-08-2008 1:22 PM
Hi,
I want to refresh UWL explicitly in java code since it is not getting refreshed immediately once user approve/reject any task, it refresh after around 1 min or need to do it manually to see the updated list.
So it create confusion that task has been approved/rejected or not.
I want piece of java code to refresh Inbox explicitly that I 'll write in my custom java dynpro handler of one event raised by UWL iView.
Thanks,
Vikas
Hi,
i am not sure Whether this will solve your problem but have a look on UWLView Class setRefreshRate Methods:
http://help.sap.com/javadocs/NW04S/current/uw/com/sap/netweaver/bc/uwl/config/UWLView.html
Updation:
Although i dont have Much Experience with UWL Api,and the below mentioned approach is not tested. But while going through the Api i thought Probably to achieve refreshing you can try the following:
Get the instance of UWL portal service in your WD application
Obtains the UWL view manager : IUWLViewManager getViewManager(UWLContext ctx)
Obtain UWLView, This is used to get a view by its ID name which is defined in the system or custom XML files :
UWLView getView(String id, UWLContext context)
After getting the desired view you can set its refresh ret accordingly.
You can give this a thought.
Siddharth
Edited by: Siddharth Jain on Dec 9, 2008 8:35 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Although I have not tried this myself - I did find something useful during my search on SDN.
Its the API for UWL in 2004s. You may find it useful in your coding.
[UWL JavaDocs|http://help.sap.com/javadocs/NW04S/current/uw/index.html]
Hope it helps.
Thanks.
p256960
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
you can use EPCF.doNavigate("PCD URL") or use a javascript function
window.location.href ("Full URL of the UWL Role).
if you do not know the proper role to navigate. this is the simple way to find.
when you are in the UWL main screen save that screen in favorites using the portal button on the top right corner.
then go to the favorites page and see its URL in properties
I hope it helps,
Thanks
anup
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.