Redirect the solution old details page URL to the new details page URL

Redirect the solution old details page URL to the new details page URL

After revamping the solution module in build 14200, the old solution details page URL is no longer functional. To resolve this, please follow the steps below.

1. Modify "security-solutionaccess.xml"
  1. File Path : SDPHome/webapps/ROOT/WEB-INF/security/security-solutionaccess.xml
  2. Include the following entry in the file, refer the below image
<url roles="ViewSolutions" path="/AddSolution.do" operation-param="submitaction" operation-value="viewsolution" method="GET" user_type="all">
<throttles window="ROLLING" scope="APPSERVER" key="url.path+url.dynamic_key" name="viewsolution" >
<throttle duration="1m" threshold="30" lock-period="5m"/>
</throttles>
<param name="fromListView" type="boolean" />
<param name="solutionID"  type="long" allow-empty="false" range=">=0"/>
<param name="navType" regex="n|p"  />
<param name="solID" type="long" allow-empty="false" range=">=0"/>
</url>

security-solutionaccess.xml

2. Modify "ui_routes.json"
  1. File Path : SDPHome/conf/ui_routes.json
  2. Include the following entry in the file. Ensure there are no existing entries with the name "AddSolution.do". If such an entry exists, remove it before adding the new entry, refer the below image 
"AddSolution.do": {
    "struts": {
        "actionClass": "com.adventnet.servicedesk.kbase.action.SolutionAction",
        "formBeanName": null,
        "scope": "request"
    }
},
ui_route.json

3. Modify web.xml
  1. File Path : SDPHome/webapps/ROOT/WEB-INF/web.xml
  2. Include the following entry under the WebClientServlet mapping. Ensure there are no existing entries similar to this before adding , refer the below image
<url-pattern>/AddSolution.do</url-pattern>

web.xml

Steps to follow
  1. Down your application.
  2. Make the above changes to the respective files. Before making changes, take a copy of these files.
  3. Download the provided OldSolutionURLRedirect.fjar from the attachment section and place it into the SDPHome/fixes folder.
  4. Restart your application.
Note : Once the application upgrade after this changes, need to do the same after the upgrade as well. This KB only works with version 14504 or higher


                  New to ADSelfService Plus?

                    • Related Articles

                    • Old Solution Link update

                      After migrating 14200 build our old solution link format is not accessible, in this situation one of our customer referred more number of old solution links in some solutions description, in this scenario we need to update the old format link to new ...
                    • Configuring Login Web URL and Login URI for an account

                      What is a login URL and login URI under accounts? Login Web URL: A login URL is the locator of a resource (Which can be used to locate the address of a resource in the internet). Login URI: It is the identifier, which is used to identify any resource ...
                    • Invalid URL - Task API is not working - 14001

                      API response - throws invalid URL error apprUrl = url + "/api/v3/changes/changeid/tasks" Reason - 14001 · Support for older version of V3 API for Tasks and Worklogs is deprecated. To use the latest format of the API, add the accept header ...
                    • Scripts to update request status when a new reply is received.

                      Please do refer to the below steps to change the status when a Contact sends a new reply to the ticket. 1. Download the script files from the below link and extract them and place it under..\ManageEngine\SupportCenter\integration\custom_scripts - ...
                    • Solution link behavior change after builds 14200

                      Issue: The Solution field is completely revamped and hence the links to search solutions in below format wont work in recent builds: Versions before 14200 In versions before 14200 the link to Solutions was: ...