The portal url appears in external links in XML Forms

Hi,
I have created an XML Forms application that should contain a link to an external webpage.
In the Edit view I have created 2 text fields.
1 for the url and 1 urlname for the name of the link.
In the Show view I have created a link (Lable)  with:
Hyperlink property:        /DataSchema/DataModel/url
Schema Reference:          /DataSchema/DataModel/urlName     
Style :              Function Link
When I run the application It renders the link as a link with the urlname as the name of the link.
Great !! ;0)
<b>...but</b> when clicking on the link it open up a new window with the <b><b><b>portal URL</b> + the specified url:</b></b>
E.g.
Test data:
Name:     Google
URL:     http://www.google.com
Result:
<b>http://<portalurl>:58000/irj/portal/http://www.google.com</b>
Why does this happen? And what can I do in order to open up the new window with just the url that I have provided (http://www.google.com)
Thanks for any help !
Best regards
Rasmus

Hi All and thanks for all help
But..
The thing is that it has nothing to do with the application.
E.g. I have tested the <b>SAP_APP_FAQs</b> forms application delivered by SAP.
This forms application has an external link called <b>Read more… </b>When I test this forms application everything is OK. It opens up the target URL in a new window e.g. <b>http://www.google.com</b>
This is exactly what I want so I make a copy (save as) of the project. I run the application and believe it or not I got the wrong result: <b>http://<portalurl>:58000/irj/portal/http://www.google.com</b>
I have not made any changes of the application!!
Can any tell me what’s wrong?
Thanks in advance
Best regards
Rasmus

Similar Messages

  • External link in xml forms

    Hi,
          I have created a customized xml forms with Edit,RenderListItem and show forms. I created a Dataschema with Datatype "url" and added in the RenderListItem,Show.But when i execute, it always gives an error and most importantly i have changed the Javascript open_url function in the xsl file with url instead of tmpurl in the "window.open" .
    The error comes only for the RenderListItem and for Show form, it works fine after changing the Javascript.
    <b>Error Details:</b>
    Item not found
    /documents/http://www.aprilbiztec.com/
    The item you are attempting to access is not available. Check that the name or link is correct. You might also check whether the associated repository is currently accessible.
    Thanks,
    Vijay

    Hi Marcelo,
                   Thanks for the reply.I made changes as you have mentioned.But now i get the url encoding error (http://hostname/irj/servlet/prt/portal/prtroot/http%3A//www.aprilbiztec.com/) , I have changed the xsl files(for javascript) after generating the project.
    Thanks,
    Vijay

  • How can I view the underlying URL to a hypertext link in text from galley or story mode?

    How can I view the underlying URL to a hypertext link in text from galley or story mode?

    click inside the hyperlink and open Window > Hyperlinks (in InCopy). The link is highlighted there. If you can't see it in the editable field, double-click the highlighted entry and it'll open in a dialog box.
    AM

  • How to pass username and password with the portal url

    i want to access portal from my web site. i have created username and password fields in my web page. when submited , my portal page should open. so how to pass username and password with the portal url.

    This is not straightforward; but it is doable.
    First tell us about your portal version; portal 10.1.4 has a slightly different method of doing it and the pre-10g portals were completely different animals.
    And if you are in AS Rel 2, then the most important document for you would probably be the following:
    [Creating Deployment Specific Pages| http://download-west.oracle.com/docs/cd/B14099_19/idmanage.1012/b14078/custom.htm#i1015535]
    You might want to use it in conjunction with some metalink notes about your portal version and such a login page.
    hope that helps!
    AMN

  • Getting the portal URL?

    If I want to redirect the browser to the portal URL, how do I do it? Is there an API to get the Portal URL?
    Thanks
    Mani

    You can use PostbackURL object.
    Regards
    Tarun

  • Changing the portal URL of EP 6.0 SP 9

    Hi,
    our portal runs on an windowshost. At the moment we access the portal through the windows hostname. but we need to change the url to an internet address.
    My question where can i configure the url the portal uses in his links? Where can it be set up or does it just use the windows related hostname ?
    Cu

    Hi Francesco.
    You will have to use a reverse proxy such as SAP IISProxy or Apache to use a different URL then the one the portal uses internally.
    If you setup a DNS record that points to the Windows server, you could run into trouble with SSO and KM.
    There are many threads about this in the SDN, try to search for "external facing portal" or "reverse proxy".

  • Domain mapping for the portal URL | URGENT

    Hi ,
      The project is expected to go live in 10 days .The user would be accessing the portal with the URL http://domain.company.com and <b>NOT</b> by http://domain:50000/irj/portal . I need to figure out how can we do that .
    We have a WAN network and a public ip has been assigned to the portal production server .We have a company domain reserved to be used for portal server .
    What will be required to be done on the portal side or anywhere else for the URL http://domain.company.com to translate to http://domain:50000/irj/portal
    Regards
    Deepak Singh

    Hi Deepak,
    You can achieve this by setting up Reverse Proxy in your DMZ such that all internet request hit the reverse proxy server and that re-routes request to your Portal server.
    If you want to avoid all these, you can use Html Redirection or Java Script redirection features.
    a. Point your request https://abc.comp.com to this html file which would inturn redirect to abc.comp.com:50001/irj/portal.
    Also refer my links in this thread
    Opening EP6.0 access from the Internet
    Hope this helps
    Regards,
    venkat.
    [Pls reward points if useful]

  • Link in xml form article text to open another portal page?

    Like in all websites our intranet have pages with articles (xml forms) where it's logical for the text to include links to other articles in other areas of the portal.
    Since all iviews (km navigation in this case) are displayed as iframes, links within the text only lead to the target page being displayed within the iview/iframe. I need the complete portal page to change to also show where in the page hierachy/navigation structure the user has landed.
    I am aware of the related links iview, but this doesn't do the trick. I want the article text itself to include the links.
    A logical solution would be to find the page's navigation URL and use this as a text link, but then I would need to add a target=_top to change the whole page around. This is not possible within a xml form. (<a href="/irj/portal?NavigationTarget= navurl://cf1c773631c70d216fe3434ca4dc3a0e" target="_top")
    Ideas?
    Henning

    Thanks for answer. Points awarded.
    BUT: Still, a link to http://server/irj/portal/link added in the html editor window of an xml form only give the options of opening the link in new browser, or in the active window. The first option results in a massive amount of opened browsers, the second results in the target page being opened in the iframe (not nice!)
    Of course I could edit the xml directly adding a target=_top, but every new editing of this file would overwrite these changes.
    The best way would be to add a new option in the html editor allowing an option of "fill entire window" when adding a text link that adds target=_top in the xml.
    Ideas?
    Henning

  • How can we create the Readmore link in XML form to opened  the KM folder

    Hi!
    I 'm working on XML form. I have the readmore link in the form . Nomorrally readmore will link to open the file only . however, I need the readmore link to opend the list of document folder in KMconten -> documents. How can we do? Is it possible.
    Thanks and best regards,
    Vimol

    Hi ,
    On the tool bar you have an option "Browser" which is next to "HTML Editor" .
    You know that for using these elements wo have to map them with Data Schema.
    Step by step
    1. In data Model Under Data Schema Add a child and name it Read_More.
    2. In the left hand corner ,click on tab Type and from the drop down select "rid"
    3.Click on the "Browser" from the toolbar (as told earlier) and drag and drop it on the form.
    4. Drag the Data schema which u have made(Read_more) and drop it on the browser on form. On right hand side u will se the mapping done.
    5.Click on the "Browser" which is there in the form and on the right hand side of the form u will see the property window.
    6.In property window change the value of action property to "Item Entry point"
    7. Repeat step 3 and 4 in Render and show form but using "label" nad not browser.
    Do not forget to add Save button in Edit Form.
    This will solve your problem.
    PS:Rewards Point Please.
    Regards,
    Naveen Gupta

  • How can you update the content of a textfield in a dynamic xml form from MSAccess and VBA

    I am trying to use the code below to update a field in a dynamic xml form created by Livecycle.
    I can read the field content but cannot change it.
    What am I missing?
    Thanks
    R
    Sub test()
    Dim oPDF As AcroPDDoc
    Dim FileDestName As String
    Dim jso As Object
    Dim ofld As Object
        FileSrcName = "C:\Documents and Settings\My Documents\ADOBE Forms\NoVB.pdf"
        Set oPDF = CreateObject("AcroExch.PDDoc")
        Set jso = oPDF.GetJSObject
        Set ofld = jso.getfield("form1.TopForm.Header.Subform1.Contact")
        Debug.Print ofld.Value
         ofld.Value = "HHH"
        Debug.Print ofld.Value
    oPDF.Save PSsavefull, FileSrcName
    oPDF.Close
    Set jso = Nothing
    Set oPDF = Nothing
    End Sub

    You need to research the difference between an AcroForm and an XFA form.  You're trying to access a "Field" object, which is an AcroForm object.  An XFA form does not have fields, it has nodes.  The JavaScript you are using is specific to AcroForms and you are working with an XFA form.

  • Getting the Portal URL in the code

    Hi All,
    Is it possible to get the URL of the Enterprise Portal (http://<host>:<port>/irj/portal) in the web dynpro code?
    Actaully i am sending mails from my application to various users and need to include the URL of the Enterprise Portal in the mail.
    How to go with this? Any ideas?
    Thanks,
    Venkat

    Hi,
    If you build the mail message from your dynpro application than you can use this code to get the server name and port:
    String hostName = TaskBinder.getCurrentTask().getProtocolAdapter().getServerName();
    int port = TaskBinder.getCurrentTask().getProtocolAdapter().getServerPort();
    String url = "http://" + hostName + ":" + port + "/irj/portal";
    Hope it helps,
    Roy

  • In vsn 6.0.2 how can I paste a link into the body of a Yahoo e-mail and have the pasted result appear as a link?

    o/s Windows XP Home
    vsn of Firefox 6.0.2
    Step 1) open firefox
    Step 2) copy link from address bar into clipboard
    Step 3) compose message in Yahoo
    Step 4) paste contents of clipboard into body of the e-mail
    result: the pasted value does NOT become a hyperlink
    <on same pc, with same contents in clipboard>
    Step 5) open IE
    Step 6) compose message in Yahoo
    Step 7) paste contents of clipboard into body of the e-mail
    result: the pasted value becomes a hyperlink ... the fact that the link becomes a hyperlink in the IE browser makes me think that there may be something in the Firefox browser that is controlling whether the pasted value becomes a link.
    I'm not sure, but I believe the update to firefox 6.0.2 was with the past few days.
    I'm not sure, but I do not believe the symptoms from steps 1 - 4 were present a few days ago
    Questions:
    1) could this feature have been introduced in 6.0.2?
    2) I would prefer it if the pasted value would become a
    hyperlink when working in firefox; what steps do I need to take to make this happen?
    Thank you

    Now Tony, I know you can't hear my tone on a forum post but I was not complaining, simply stating facts . This change brought several people in my office to a grinding halt in a long established workflow that is really rather simple (and I thought was already assumed from the original post above ):
    1) Select a set of records in FileMaker Pro 12 and export only their e-mail addresses as a CSV file.
    2) Open that CSV file in Excel.
    3) Copy the column of e-mail address.
    4) paste into the appropriate recipient field in Mail.
    5) Send
    If I were to complain it would be about Apple's typically opaque approach to updates. There is no granular explanation of why changes were made or even "what" changes were made.
    Complaining is futile since Apple is Apple and is unlikely to change, but sometimes it is cathartic to "shout into the void" .
    I had thought about doing something with a formula in Excel and your suggestion was simple and helpful. Again, however, it is only a workaround for a long established helpful behavior that Apple has inexplicably broken/removed in Mavericks Mail.
    I, and the other posters here, would love to have the capability back rather than have to add previously unneeded steps to our workflows.
    Ultimately we may add scripting steps to the FileMaker side to export the address lists with commas inserted already if Apple ends up having permanently removed this feature.

  • Shortening the Portal URL - How To?

    We all start out with http://www.myportalserver.com:7778/pls/portal
    I want to end up giving my customers:
    http://www.myportalserver.com
    So that means I need to redirect requests that come in to port 80, correct? I did that but WebCache doesnt like it. I tried to add a listening port other than 7778, and it freaked.
    Anything I do with WebCache ends up not working.
    I am trying this in Oracle Portal 9.0.4 (10gAS) on Linux
    Thanks

    Settings for ports are made in httpd.conf
    I had a look in my httpd.conf (albeit on a Solaris system) and the following comment may help:
    # Port: The port to which the standalone server listens. # For ports < 1024, you will need httpd to be run as root initially.
    Looks like you will have to kick off httpd.conf as root in order to get it to use Port 80

  • How to change the Portal Password using a link from Web dynpro application

    Hello Everybody,
    I have a requirement to change the user password from a web dynpro application which is available on a mobile device. Firstly User will log into the portal through a mobile device and after getting authenticated user will be redirected to the mobile application. Within this mobile application there will be a link to change the login password(Portal login). Can somebody tell me how can i change the portal login password from a link available within the mobile application. Looking forward for a suitable reply.
    Thanks to all,
    Regards,
    Saby.

    Hi Maksim,
    Thanks for your reply..but i would also like to know can we directly use the Change Password Iview "persoUserPassword" from the portal. Can i directly Pass the URL of this iview from the portal to a "Change Password" link in the web dynpro application, so that when the user click this link he should be able to see this Iview on his/her mobile device and should be able to change the password from there. But i dont know whether this iview will appear properly on the mobile device or we have to have a custom web dynpro application for this purpose...Please reply with a suitable answer.
    Thanks in advance.
    Regards,
    Sarabjeet Singh.

  • Passing information from external asp file and getting it in the portal

    Hi,
    I think that the answer for my question is simple but I'm not sure how it is done.
    I would like to pass information from asp page(microsoft server pages) to the portal and extract the information in the portal
    I know how to how to pass the the information as POST or GET method
    but how do I extract the infomation within an iView ?
    and what is the portal URL I need to call from the asp page ? a page URL or an iView URL ?
    Thanks
    Y.R

    Hi,
    In order to use an ASP application in the portal u have to first create a system. In the System Definition Properties, give the url of your ASP page in the Name of server field and the name of the ASP page in the URI field.
    For more clear understanding, please go through the following document
    http://help.sap.com/bestpractices/crossindustry/enterpriseportal/v160/documentation/How-to_Guides/25_HowToUseAppIntegrator_en.pdf
    Best Regards
    Priya

Maybe you are looking for