Force Loading Animation on appintegrator iViews
[Animatio] [error loading os] [flash loading] [force on] [loading]
- Portal doesn’t show loading animation when loading iViewsSymptom When an iView is loading you do not see the loading animation. The iView looks like it is collapsed until the iView finishes loading and the content appears. Other terms automatic...
Symptom
Loading Animation doesn’t show while waiting for application integration iView to load.
Other terms
Loading, Animation, Image, Force, iview, Show, Appear, com.sap.portal.reserved.iview.Redirect, Service, AI, Application Integration, appintegrator
Reason and Prerequisites
Remote AI iView(FPN) and WEB Dynpro iView on EP 7.00 and also BSP, Generic and Transaction iView (Web GUI) on EP 7.01/7.02 run inside Page-Builder Request (performance oriented behavior).
This behavior saves request for AI but loading animation does not show on this scenario.
Solution
PLEASE NOTE – The procedure below is not recommended and done on the customer own risk.
You also should be aware that upgrade will overwrite the changes below.
If you want to Force the Loading Animation you need to set the redirect parameter ‘com.sap.portal.reserved.iview.Redirect’ to false.
In order to do so download the PAR file:
com.sap.portal.appintegrator.sap.par
This file can be found with .bak suffix in the folder(via file System):
…\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\.. …\WEB-INF\deployment\pcd or temp.
Or Via the portal:
../irj/servlet/prt/portal/prtroot/com.sap.portal.support.browse.default
We strongly suggest backing up the PAR file before applying the change.
After downloading the file open the PORTAL-INF directory and open the portalapp.xml file – find the type of the iView that you want to add loading animation to its flow (for example B S P ) and change the line:
<property name=”com.sap.portal.reserved.iview.Redirect” value=”true”> to
<property name=”com.sap.portal.reserved.iview.Redirect” value=”false”>
If you set the ‘com.sap.portal.reserved.iview.Redirect’ to false under the ‘B S P ‘ category then all the BSP iViews that suppose to run inside page builder request would run in a separate request (less performance but with loading animation). This means that you will have one more roundtrip to the server. You cannot change it for only one specific iView.
Afterwards save the changes and close the PAR file.
Please follow the described steps in order to deploy the PAR:
1. Deploy the attached PARs into your portal using the Archive Uploader:
- Navigate to ‘System Administration’ -> ‘Support’ -> ‘Portal Runtime’
-> in the “Portal Anywhere” Admin Tools section navigate to ‘Administration Console’ -> use the ‘Archive Uploader’ to deploy the PAR.
2. Restart the Application Integration service:
- Navigate to ‘System Administration’ -> ‘Support’ -> ‘Portal Runtime’->
In the “Portal Anywhere” Admin Tools section navigate to
‘Application Console’->In the list choose ‘com.sap.portal.appintegrator’ and click ‘Show’ -> in the table displayed click on ‘refresh’ on the right side.