UWL – Move the “Manage Substitution Rules” outside of the context menu

Hello Experts,

I’m trying to move the “Manage Substitution Rules” outside of the context menu.

I’ve done it in the past with the “Refresh” action. However, with “”Manage Substitution Rules” it doesn’t work.

Other users have encountered the same problem: (I’ve tried the workarounds in the following tthreads without success)
https://archive.sap.com/discussions/thread/1212440
https://archive.sap.com/discussions/thread/1414570

How can set the “Manage Substitution Rules” outside of the context menu (as link/button alongside the “Refresh” action)?

Regards,
Omri

Hello Experts, I'm trying to move the "Manage Substitution Rules" outside of the context menu. I've done it in the past with the "Refresh" action. However, with ""Manage Substitution Rules" it doesn't work. Other users have encountered the same problem: (I've tried the workarounds in the following tthreads without success) https://archive.sap.com/discussions/thread/1212440 https://archive.sap.com/discussions/thread/1414570 How can set the "Manage Substitution Rules" outside of the context menu (as link/button alongside the "Refresh" action)? Regards, Omri

UWL - Move the "Manage Substitution Rules" outside of the context menu

Very Helpfull

User Rating: Be the first one !
Doctor Asked on May 26, 2017 in SAP PORTAL.
Add Comment
2 Answer(s)

    From memory it didn’t work for me either until I created it as a Z action.

    The important bit is <Property name=”type” value=”button”/>.

    That’s on a 7.4 system.

    Cheers,

    John

    Add Comment

      G’day Omri,

      I had the same issue with users not being able to find it in the context menu, so I have been able to get it to appear as a button in the toolbar above the worklist by adding a custom action to our version of the uwl.standard xml file like this:

      I just put the custom action at the end of the DefaultView section, using the xml snippet below. Hope that helps….

      Regards,

      John

      <Actions>

      <Action name=”zlaunchSubstitutionManager” groupAction=”no” handler=”SAPWebDynproLauncher” returnToDetailViewAllowed=”yes” launchInNewWindow=”yes” launchNewWindowName=”Substitution” launchNewWindowFeatures=”width=’+screen.width*0.96+’px,height=’+screen.height*0.85+’px,top=5,left=5,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no”> <Properties>

      <Property name=”WebDynproApplication” value=”UWLSubstitution”></Property>

      sap.com/tc~kmc~bc.uwl.ui~wd_ui”>>

      <Property name=”launchContext” value=”UWL”></Property>

      <Property name=”ignoreWorkIdParams” value=”yes”></Property>

      <Property name=”DynamicParameter” value=”uwlSessionId=${context.uwlSessionId}&configureGroup=${context.configureGroup}”></Property>

      <Property name=”appContext” value=”${context.appContext}”></Property>

      <Property name=”System” value=”SAP_LocalSystem”></Property>

      <Property name=”display_order_priority” value=”uwlExcludeFromPreviewDetail”></Property>

      <Property name=”type” value=”button”/> </Properties> <Descriptions default=”Manage Substitution Rules”/>

      </Action>

      <Action reference=”defaultGlobalWizard”/>

      <Action reference=”addToNavigation”/>

      <Action reference=”removeFromNavigation”/>

      <Action reference=”refresh”/>

      </Actions>

      uwl.jpg(24.5 kB)
      Add Comment

      Your Answer

      By posting your answer, you agree to the privacy policy and terms of service.