on 04-29-2009 3:08 PM
Hi All,
I want to change the text of Action buttons like Resubmit, Forward, Assign To Me in UWL.
Is it possible to change thru custom configuration file for a specific workitem?
Thanks
Sundar
Hi Sundar,
Write in the config file like this:
<ItemTypes>
<ItemType name="uwl.task.webflow.TS70008125" connector="WebFlowConnector" defaultView="MyView" defaultAction="testing" executionMode="default">
<ItemTypeCriteria systemId="SAP_system name" externalType="TS70008125" connector="WebFlowConnector"/>
<Actions>
<Action name="testing" groupAction="" handler="IViewLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">
<Properties>
<Property name="iview" value="pcd://ppcd location"/>
<Property name="openInNewWindow" value="yes"/>
<Property name="display_order_priority" value="uwlExcludeFromPreviewDetail"/>
</Properties>
</Action>
<Action name="forward" handler="dummy">
<Properties>
....
</Properties>
<Descriptions default="My Forward"/>
</Action>
</Actions>
</ItemType>
</ItemTypes>
Then upload your config file with high priority. Clear the cache from cache administration . Log off and re login to the portal.
Your text will be displayed for the forward button.
I have done this in a similar way, and it works well.
Hope this resolves your problem.
Thanks,
Sonali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sonali,
Thanks.
I tried the code you posted here.
I have a forward button with custom text but the forward functionality is not working.
In your code below,
<Action name="forward" handler="dummy">
<Properties>
....
</Properties>
What I need to write between <Properties> and </Properties> tag?
When I added action tags for "Assign To Me" button like below I got 2 Assign To Me button in UWL.
<Action name="Assign To Me" handler="dummy">
<Properties>
</Properties>
<Descriptions default="My AssignTo Me"/>
</Action>
When I click My Forward or My Assign To Me button I get the following error message.
" Unable to perform the request. Try again and if the problem persists, inform your system administrator"
How do I resolve this?
Regards
Sundar
Hi Sundar,
For the forward button , you are getting this message because you are using the handler dummy, ie no handler . For forward, write like this:
<Action name="forward" handler="ProviderActionHandler">
<Properties>
<Property name="userIdList" value="${users}"/>
<Property name="display_order_priority" value="3"/>
</Properties>
<Descriptions default="My Forward"/>
</Action>
If you provide this handler and these properties, then you must have the forward functionality screen, as defined by SAP.
In case you want anything else to launch, like any web dynpro application, you need to have webdynprolauncher...and so the properties will be different.
Let me know if your forward functionality is happening well or not?
Regarding Assign to Me, do not put any extra action tag for that.
Go to portal content and select 'Yes' for the Display UWL support Information. Log into portal and click on the task which you want to check. Below UWL you will see a lot of information. In the section 'Supported Actions for this Item'(last section), Find the action Id for the 'Assign to Me' Display Text. I guess that action will be there in the uwl.standard file. Copy that action section and paste in your file. Just add one extra line:
<Descriptions default="My Forward"/> at the end of the </Properties> tag. Bo not create any new name, just add this default text. In this way functionality will remain same, only text will change.
Log off and login to the portal. Hope you will see what you want.
Thanks,
Sonali.
Hi Supraja,
I guess the BI reports are available in the portal as iviews. i mean iviews must have been created to show these in the portal.
Now to show them from UWL, you just have to customize that particular alert item type and then provide the pcd location for that iview to get lauched.
<ItemType name="uwl.task.webflow.TS50000075.SAP_R3" connector="WebFlowConnector" defaultView="defaultView" defaultAction="launchIView" executionMode="default">
<ItemTypeCriteria systemId="SAP_system name" externalType="TS50000075" connector="WebFlowConnector"/>
<Actions>
<Action name="launchIView" groupAction="no" handler="IViewLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">
<Properties>
<Property name="iview" value="pcd://portal_content/rest path same as displayed in the Quck info area when you select the iview in the portal content section "/>
<Property name="openInNewWindow" value="yes"/>
</Properties>
<Descriptions default="launchIView"/>
</Action>
</Actions>
</ItemType>
Just check if it works and get back..
Thanks,
Sonali.
Sundar,
check this link
http://help.sap.com/erp2005_ehp_04/helpdata/DE/d6/eddef503944dc6bbe8d81a2cec44e8/frameset.htm
Thanks
Bala Duvvuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.