Scorecard Integration with External Applications
You can create a scorecard in the Analyst tool and view its results in external applications or web portals. Specify the scorecard results URL in a format that includes the host name, port number, project ID, and scorecard ID to view the results in external applications.
Open a scorecard after you run it and copy its URL from the browser. The scorecard URL must be in the following format:
http://{HOST_NAME}:{PORT}/AnalystTool/com.informatica.at.AnalystTool/index.jsp?mode=scorecard&project={MRS_PROJECT_ID}&id={SCORECARD_ID}&parentpath={MRS_PARENT_PATH}&view={VIEW_MODE}&pcsfcred={CREDENTIAL}
The following table describes the scorecard URL attributes:
Attribute | Description |
---|
HOST_NAME | Host name of the Analyst Service. |
PORT | Port number for the Analyst Service. |
MRS_PROJECT_ID | Project ID in the Model repository. |
SCORECARD_ID | ID of the scorecard. |
MRS_PARENT_PATH | Location of the scorecard in the Analyst tool. For example, /project1/folder1/sub_folder1. |
VIEW_MODE | Determines whether a read-only or editable view of the scorecard gets integrated with the external application. |
CREDENTIAL | Last part of the URL generated by the single sign-on feature that represents the object type such as scorecard. |
The VIEW_MODE attribute in the scorecard URL determines whether you can integrate a read-only or editable view of the scorecard with the external application:
- view=objectonly
- Displays a read-only view of the scorecard results.
- view=objectrunonly
- Displays scorecard results where you can run the scorecard and drill down on results.
- view=full
- Opens the scorecard results in the Analyst tool with full access.
Viewing a Scorecard in External Applications
You view a scorecard using the scorecard URL in external applications or web portals. Copy the scorecard URL from the Analyst tool and add it to the source code of external applications or web portals.
1. Run a scorecard in the Analyst tool.
2. Copy the scorecard URL from the browser.
3. Verify that the URL matches the http://{HOST_NAME}:{PORT}/AnalystTool/com.informatica.at.AnalystTool/index.jsp? mode=scorecard&project={MRS_PROJECT_ID}&id={SCORECARD_ID}&parentpath={MRS_PARENT_PATH}&view={VIEW_MODE}&pcsfcred={CREDENTIAL} format.
4. Add the URL to the source code of the external application or web portal.