on 2005 Nov 16 8:26 AM
Dear Sir or Madam,
Could u please help me solve this problem? Thanks a lot for your time and kindness.
Best regards,
Sumedh
-
I have html page containing js (javascript) in <head> section. This js code refers to external js files only.
(example of js code: <script src="scripts/stdFormMethods.js" type="text/javascript"><!----></script>)
Because I am using url iview capture capability (Must use this capbility because I need to use look & feel), I put js in <body> section because I think capture capability only can capture contents inside <body> section.
When I opened iview in SAP portal, all <script> tags for my html page were removed.
How to retain <script> tags in <body> section?
Or if I use capture capability of url iview, how to include javascript inside html page which displayed in url iview (all js in html page won't be removed when I opened this iview in SAP portal)?
Thanks a lot. I will try out your advice.
Sumedh
Message was edited by: eng12042 eng12042
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
first, check if the scripts in the original page are <i>within</i> the part being captured.
If this really should be the case, play with the Web Site properties of the URL iView (declaration in help.sap.com and technical names are partly the opposite, see http://help.sap.com/saphelp_nw04/helpdata/en/8d/8e0c7e477e4239a7ee288d7846a0bb/frameset.htm and property com.sap.portal.reserved.iview.removeScripts).
Hope it helps
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Detlev,
This is the finding:
Scripts in original page are within the part beging capured.
I played with property in http://help.sap.com/saphelp_nw04/helpdata/en/8d/8e0c7e477e4239a7ee288d7846a0bb/frameset.htm
but there was no sucess.
How do I play with this property: com.sap.portal.reserved.iview.removeScripts?
Is there any other ways to solve this problem?
Thanks a lot for your help.
Best regards,
Sumedh
Hi Sumedh,
> Scripts in original page are within
> the part beging capured.
Great. So it is definitely a question of the URL iView.
> How do I play with this property:
> com.sap.portal.reserved.iview.removeScripts?
This is the property called "Maintain Web site functionality" as it's display name: Choose "Web Page Area" as the Property Category to be shown, click on the "Display the Attributes..." button (the ) to expand the meta information.
Try to set this as well as the other properties from the category "Maintain Web site functionality" once to true, once to false.
If this doesn't bring the result you expect, I would suggest to open an OSS message.
Hope it helps
Detlev
User | Count |
---|---|
79 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.