SYMPTOM:
The 'Welcome User. (If you are not User, click here.)' message appears on top of the Desktop page when the user first logs into Strategy Web 9.x.
To remove the link, apply the following steps using the Web Customization Editor:
- In the Web Customization Editor, in the Application tab expand Strategy Web Configuration
- Expand Pages
- Open the desktop(Desktop) page
a. Choose the Template Properties tab
b. Right-click on the content section and choose "edit current file"
c. Comment out the content under first section which says, 'The following DIV renders the "If you are not " string so a user can logout':
<%--
<div class="instruct"><web:descriptor runat="server" key="mstrWeb.859" desc="Welcome" /> <web:connectionValue runat="server" mproperty="userName"
/>. (<web:ifFeature runat="server" name="accessibility"><web:mthen runat="server"><web:urlEvent runat="server" eventID="com.Strategy.web.app.beans.EnumServletEvents.WebEventQuickLogout"
><web:descriptor runat="server" key="mstrWeb.860" desc="If you are not ##," replaceValue="$com.Strategy.web.app.taglibs.ConnectionValueTagHelper:setProperty.userName$"
/> <web:descriptor runat="server" key="mstrWeb.861" desc="click here"
/></web:urlEvent></web:mthen><web:melse runat="server"
><web:descriptor runat="server" key="mstrWeb.860" desc="If you are not ##," replaceValue="$com.Strategy.web.app.taglibs.ConnectionValueTagHelper:setProperty.userName$"
/> <web:urlEvent runat="server" eventID="com.Strategy.web.app.beans.EnumServletEvents.WebEventQuickLogout"
><web:descriptor runat="server" key="mstrWeb.861" desc="click here"
/></web:urlEvent></web:melse></web:ifFeature>.)</div>
--%>
d. Save the file.
- Open welcome(WELCOME) page. Follow the same steps as above, commenting out the section from
Sample Code/Error
<web:ifConnectionValue runat="server" mproperty="loginFirst">
to
Sample Code/Error
</web:ifConnectionValue>.
Save the file. - Restart the Web Server
- Now, when users login to Strategy Web 9.x, the link will no longer be visible.
WARNING:
This customization is provided as a convenience to Strategy users and is only directly applicable to the version stated. While this code may apply to other releases directly, Strategy Technical Support makes no guarantees that the code provided will apply to any future or previous builds. In the event of a code change in future builds, Strategy Technical Support makes no guarantee that an updated version of this particular customization will be provided. In the event of a code change in future builds, Strategy may not be able to provide additional code on this matter even though this customization is provided at this time for this specific build. For enhancements to this customization or to incorporate similar functionality into other versions, contact your Account Executive to inquire about Strategy Consulting assistance.