Creating a UI5 Iview

This post discusses about creating a UI5 IView .

The Application Integration:

1. For Creating UI5 iView, navigate to Portal Applications -> com.sap.portal.appintegrator.sap -> UI5.
2. Copy UI5 template.
3. "Paste as PCD Object" to any you location under Portal Content.
4. Set property "HTTP Request Method" - HTTP GET.

5. Set property "System" - to the relevant system alias.
6. Set property "UI5 Relative Path" - to the relevant path of UI5 application on the system, for instance: /SAP/BC/UI5_UI5/SAP/HRPAO_LPB_JS/MAIN.HTML?page=PAO_HRPROFESSIONAL
7. Set property "Launch in New Window" accordingly, for instance: "Display in separate headerless portal window (standard mode)".
8. Save the iView.
9. Run created iView.

IMPORTANT:
If you create UI5 iView without using Role Upload mechanism, and the URL (that set in the "UI5 Relative Path" property) does not contains parameters you should add "?" at the end. The "UI5 Relative Path" should start with "/" and contain "?" mark.
For instance:
/SAP/BC/UI5_UI5/SAP/HRPAO_LPB_JS/MAIN.HTML?
or
/SAP/BC/UI5_UI5/SAP/HRPAO_LPB_JS/MAIN.HTML?page=PAO_HRPROFESSIONAL

-----------------------------------------------------------------------

The Role Upload:
In order to trigger the new functionality added in role upload to support SAP UI5 application you should add the following parameter in the relative path of the corresponding application in the ABAP system ( sapui5=true).For example:

The following relative path will be created an iView based on the common generic iView template in portal system /sap/bc/ui5_ui5/sap/HRPAO_LPB_JS/main.html?page=PAO_HRPROFESSIONAL

The following relative path will be created an iView based on the new UI5 template in portal system /sap/bc/ui5_ui5/sap/HRPAO_LPB_JS/main.html?page=PAO_HRPROFESSIONAL&sapui5=true

Important!
For all portal versions below the NW730 SP9 and NW731 SP6 before running the role upload, the following manual steps should be executed:
1. Navigate to Portal Applications -> com.sap.portal.appintegrator.sap -> UI5.
2. Copy UI5 template.
3. "Paste as PCD Object" to the following PCD location Portal Content -> Content Provided by SAP -> Admin Interfaces -> Admin iView Templates (portal_content/com.sap.pct/admin.templates/iviews/)
4. In the corresponding opening wizard set the id to 'ui5' and the prefix id to 'com.sap.portal'



No comments:

Post a Comment