on 09-08-2008 5:59 PM
Hello,
I have a problem using links inside Web Dynpro that look like this:
outlook:000000005e924c6a1314c8489b8e6c858fdfc70c... etc.
It keeps attaching this string to the relative path. If my server for example is at https://server/application it will create https://server/application/outlook:0000. and so forth, rendering the link unusable (it should spawn ms outlook and display a certain message.)
Also I have links that contain backslashes (f.ex.
home_dir\file1.zip).
Those are all Microsoft issues, as these are not correct URLs, but how can I make them work in Web Dynpro? Can't I force LinkToAction (which opens a new window with the url..) / LinkToURL to set the href-value of the link verbatim?
Thanks for any responses!
Lukas
Hi,
Can't I force LinkToAction (which opens a new window with the url..)
Yes.
You have to use the createExternalWindow
wdComponentAPI.getWindowManager().createExternalWindow(URL, title, modal)
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ayyapparaj,
thanks for your reply.
However, I tried this approach. But when I have a URL that looks like this: outlook:023003093906f09a0cc090... it will just concatenate this URL to the server URL. I need it to be absolute. Can I accomplish this, if it does not start with "http://" or similar?
Lukas.
Try this: Add "outlook" to the list of allowed protocols by changing the runtime property "sap.url.protocols":
http://help.sap.com/saphelp_nw70/helpdata/EN/6b/8c784226d1d242e10000000a1550b0/frameset.htm
This should solve the issue.
Armin
hi,
if u facing problem with path then try in this way("/documents/abc")..
secondly if m getting u right ,i think you wanna execute some action on portal
like u want to upload some file on particluar location on portal
then portal admin will porivde u the path for this.
u wont have to give http//: <server name>/.....
because as u r deploying file on the same server it will get path for that server itself..all u need to prove the folder location..tht you can get from portal administrator.
hpe it hlps u...
Regards,
Khushboo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks everyone for answering. Although we could not solve the problem, we set up a redirect page, where we send the outlook-URL as an url-parameter. This bounces the user to the correct URL and we get no Exception from Web Dynpro. This workaround is more like a hack and unfortunately SAP and Microsoft seem to be incompatible at this issue. But at least it works.
Thank you again,
Lukas.
No idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.