Ampersands in hyperlink

Hi there,
In our architecture, we have developed a perl script to authenticate user before allowing a report to be generated. Thus, all hyperlinks in a report X that would produce another report Y must point to the perl script, passing the name of the report Y as a parameter.
For maintenance purposes, I have a query that hold constants (like the URL root of the perl script, the name of the report Y, and so on). I've tried to build the hyperlink like this :
&<URLRoot>usr=&<P_USR>&rep=&<ReportName>
|
I think that the highlighted ampersand is doing problem since what is produced in HTMLCSS is something like this :
http://my.webserver.com/myPerlScript.pl?
usr=ADMIN&rep=&<ReportName>
&#0124; &#0124;&#0124; &#0124;&#0124; &#0124;&#0124; &#0124;&#0124; &#0124;&#0124; &#0124;| (not what I want)
Is there an escape character to tell O.R. "this is an ampersand, not the begining of a parameter"?
(As a workaround, I've defined another constant in my constants-query, Amp, whose value is '&' and I've replaced the 'real' ampersands in my query by &<Amp>. It's working but IMO it's pretty ugly ;-)
Thanks in advance!
Frederic

Here's the thing:
If submitting by form then req.getParameter(name) works fine for both types of parameter values.
If submitting by link then req.getParameter(name)
- Works for parameters with '=' in them
- Doesn't work for values with '&' in them.
I actually need to be able to parse a query string (the parameter list part of a link). However, it isn't specific to submission processing.
I want to be able to parse the string generically regardless of whether it comes from the web or whether I call it from within the code.
In short, I want to be able to take a string like Param1=Val&ue&Param2=Val=ue and split it into name/value pairs from anywhere in the code.

Similar Messages

  • How can I find and change text in Hyperlinks?

    I have 6000 hyperlinks in my document, I need to change all of the "&" they contain (in the url destination, not in the textflow) to "%26" so I can export to Epub correctly (I'm getting the classic "Export failed" and found out in forums that ampersands in hyperlinks are the problem).
    Can this replacement be automated? Maybe with Javascript? I just don't know how to search just through hyperlinks' text (url).
    Thanks a lot.

    It's perfect! Thanks a lot again!
    2011/7/19 John Hawkinson <[email protected]>
    Oh, incidently, Harbs has a script that does this with a UI.
    >
    >
    http://in-tools.com/downloads/indesign/scripts/ReplaceHyperlinkUrlValues.jsx
    >
    It's basically the same thing, but maybe a bit more user-friendly.
    >

  • Hyperlinks in InDesign and Exported to PDF Open with %%%

    Hi,
    I am working on a document for our intranet. I have created a link inside of the InDesign document for a document that is accessible on our network:
    K:\Master Documents\O & M's\(ID) Files\O&M Static Files for Booking\2-2_Troubleshooting.pdf
    When I PDF my document, save it to the intranet location, and then try to launch the link, the following dialogue box opens
    What is up with all of the % signs? And how do I get the lnk to actually work properly?
    Thanks!

    Hi Michael, I did take out all special characters, there were underscores anyway not spaces :=} no ampersands, or anything like that.
    I have InDesign version 6 and Windows 7, I also upgraded to Adobe Reader 9.2, but I think that has nothing to do with the export functions of InDesign. I was thinking I would try and reset the preferences back to default, see if that helps. Perhaps I ought to also try and install an updated Adobe Acrobat version?
    What's weird is that there are hyperlinks to URLs via http:// all over the document, that work fine. Its the file:// prefix that is not resolving at all. I even tried to select URL and then type with forward slashes file://server/folder/folder yet that didn't yield any result -- actually InDesign changed the classification of the hyperlink from URL back to file.  When I repro, sometimes I get a dialog that says the file is not available, sometimes I get no response from the system, meanwhile the tooltip displays the correct file path. It might be that Windows 7 which recently applied updates to my computer (it a work computer so my IT dept is the owner of updates) is doing something odd due to firewalls or something. I am going to check into this on Monday.
    Cheers,
    Amy

  • Hyperlink with spaces

    We uploaded a file to iFS that had spaces in the title. The corresponding weblink replaced the spaces with '%20'. However, clicking on the hyperlink we made brought up a "not found" message.
    Renaming the file to delete the spaces overcame this problem, but is there a way to have files with spaces accessible from the web?
    Thanks,
    Scott Rappoport

    Hi,
    Even I am facing the same problem. I need to create pre-determined hyperlinks for the files loaded in iFS. If I have to pass any parameter using the url and the parameter value contains a space, its a problem.
    (for ex: http://hostname..../ifs/..test.jsp?topic=new technology )
    In IE, empty spaces are being converted into %20, whereas in Netscape they are converted into "+"(plus) signs. The problem is effective even for ampersands(&).
    I could able to fix the problem for most of the other special characters by passing the search phrase in flower braces{}.(for ex: for ex: ]http://hostname..../ifs/..test.jsp?topic={new-technology} )But for empty space and ampersand, I did not get any solution.
    Please get back to me if any one has a solution for this.
    Thanks..

  • Excel & Hyperlinking with Sharepoint

    I have a tracking document in Excel that has each entry linked to another place on Sharepoint to locate files and intranet articles. There are no formulas or other complex entries....just text and hyperlinks.
    If I open the Excel file in Sharepoint and edit it there, we have no issues.
    If I download the Excel file to my desktop...all links to other files are broken (the intranet file links remain active). When I try to access the link I receive a pop up window that states, "Cannot open the specified file."
    This is a file accessed by multiple people and used as a resource, there are well over 100 linked entries and the group would like to be able to use the file on their desktops.
    I have already found and unchecked the "Update Links on Save" option. This now allows me to download the file to the desktop, have no access to the links, and then upload it where I can then access the links again.
    Is there any way to preserve the links so they can be accessed on the desktop?
    Software Specs
    Windows 7
    Office 2010
    Explorer 8
    Thank you,
    Christine

    The links are absolute. All links are to our internal team site or to our intranet. The intranet links aren't affected.
    This wasn't an issue before the company upgraded us to Windows 7/Office 2010.
    The links are established (right click, select Hyperlink, copy/paste from browser) while the Excel file is on the desktop and all work fine there.  The Excel file is then uploaded to Sharepoint where the links continue to work. When the Excel file is
    downloaded to the desktop again...all links are broken. If I re-upload it to Sharepoint though, it is fine.
    I double checked the actual link. It reads the same on the desktop initially as it does on Sharepoint. When the file is downloaded to the desktop again it seems to be missing the first half of it. What function could be editing the link?
    Christine

  • A problem with hyperlinks in my Interactive PDF on smartphones...

    I hope someone can help...  I exported both an interactive and for print PDF from inDesign.  When I view the PDFs on my pc the hyperlinks that I've made in the document work perfectly fine.  When I view the PDFs on my smartphone, the hyperlinks don't work.  I've gone through many forums to make sure all my settings were correct and have tried many different things to try to get them to work, but still no luck.  Has anyone come across this issue?  Is there any way to get these hyperlinks to work on a smartphone?

    Interactive PDFs on mobile devices are nothing short of a crapshoot.
    The readers are hit or miss and the better ones require payment.
    I wish I had better news for you but right now, that’s the way it is.
    Bob

  • Report navigation after creating hyperlink

    Hi,
    I am using Webi rich clinet XI R3.1. I have one main report with six dashboards and associated detailed reports. I created hyperlink for each of the dashboard and linked to detailed report in infoview.
    If i need to see main report i've to close this detailed report.Now how can i make the detailed report open in same window and navigate forward and backward to the main report instead of closing.
    I would appreciate if some one could provide any work around available if possible atleast.
    Thanks,
    Eswar

    Hi
    Create two links one Back and one Next in each report.
    Drag two free standing cells in the report and use opendocument syntax to create the links.
    The thread Re: Hyperlink Back functionality may give an idea.
    Regards

  • Hyperlink and Report Parameters

    Hi,
    I have a webi report which has drill filters. I have a drill filter on Month_Name_And_Year column. When I select the drill filter it gives me the report for that particular month_year. In the webi I also have a hyperlink to a nre report which is a detailed report. When the user clicks on the hyperlink I would want them to open the report  for the drill filter value that I select. I believe i need to pass the drill filter value as a paramter and how would I be able to open the detail report for the drill filter that I have selected.
    the code as a hyperlink is as follows:
    ="<a href=http://dev/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?sType=wid&sDocName=A%20WEBI%20Curd%20Installations&sWindow=New&sPath=[Breed],[Portal Analytics],[Supplemental Services]>"+[Number Of Curd Sales]+"</a>"
    I would require guidance what changes i wil have to make it at hyperlink and the detail report level to have it in sync with the summary report.
    Thank You,
    boe user

    boe user,
    Try this:
    ="<a href =" + "http://webwasqwn1.ecorp.cat.com:8322/OpenDocument/opendoc/openDocument.jsp?sType=wid&sDocName=fsitem&lsSEnterItem Node Name:="Query 2.Item Node Name(If IsPromptAnswered("Enter FS Items") Then "&lsSEnterFS Items:="+URLEncode(UserResponse("Enter FS Items:"))) + Object + ""
    Have a look on this thread also:
    Linking 2 web I reports
    I'm Back

  • Open hyperlinks from database

    Hi,
    I have a table in database that has files uploaded from front-end like XLS, DOC, PDF,TXt etc.
    I need to create a report that shows the filename as hyperlink and when user clicks the link, it should open the attachment in Excel if .XLS, Adobe if .PDF ..
    Ex: Filename
    Test.xls
    plan.Pdf
    roadmap.doc
    Where all entries under "Filename" column is hyperlink and when user clicks hyperlink, it opens the appropriate document
    Can we get this done in BI Publisher out of the box or do we need any custom code?
    Advance thanks to everyone for their valuable feedback.
    Edited by: S00000 on Sep 14, 2012 12:15 PM

    ok
    >
    I have a table in database that has files uploaded from front-end like XLS, DOC, PDF,TXt etc.
    >
    in my humble opinion it's not good solution
    why in table? why not use bfile?
    if you want select blob from your table you must always download it to some directory on server in sql/plsql way
    or if you use, as example, c#client then you can download it as byte stream to client side
    if you use bfile then your file stored on some server directory and you can work with by ftp, http as for ebs sample
    so in this case you can't have problem with attachment, you can use url+filename in your report
    --add
    >
    Iam looking for a solution where I can show attachments in BIP report from Database directly.
    >
    i not sure as it looks like
    one big report with embedded many other files?
    or how?
    Edited by: AlexAnd on Sep 19, 2012 11:21 PM

  • Clicking on the View More in Outlook....hyperlink does nothing!!

    Does this work for anyone using Lync 2013 FE, Lync 2013 client on Windows 7. Exchange version is 2010 SP3. Everything in the client works just fine but when I click on the Conversations tab, I see conversations going back about 6 months. I have conversations
    going back a year in my Conversation History folder in Outlook. When I click on the hyperlink on the bottom of the Conversations page, "View More in Outlook", nothing happens. No error, no popup at all. My configuration looks good. MAPI and EWS report
    OK. Everything else works fine. A bug perhaps?
    Interesting that it works OK with Windows XP and Lync 2010 client. Everything else being the same.

    Hi,
    It should popup Outlook interface when you click “View More in Outlook” in Lync client.
    Could you view the conversation history back to a year when you manually check the conversation history on Outlook?
    Please try to use the account to another well worked computer and test if the issue happen.
    Please try to use another Lync account to login Lync and Outlook to test the issue.
    Please also try to disable add-ins about Lync on Outlook and then enable again, restart Lync client and Outlook to test the issue again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Has anyone been able to get a book's internal bookmark hyperlinks working when exporting the book as PDF?

    When a PDF-version of a book is viewed within Preview, bookmark hyperlinks do not work, but they do work on iPad.
    In this support page, Apple states that hyperlinks should work.
    Has anyone got a successful workaround that doesn't involve adding hyperlinks, one by one, via Preview?
    Cheers,
    Tim

    Hi Ken.
    By "Preview", I refer to the Apple Preview app on my iMac; 'Preview' displays the PDF but the hyperlinks within the PDF will not link through to their respective pages throughout the book. Each hyperlink displays underlines, and the 'hyperlink' mouse icon displays when hovering over a hyperlink. It's just that the links won't work. There are hundreds of bookmarks, so adding these manually from within 'Preview' is not a viable option.
    Any thoughts?
    Tim

  • Error message with a hyperlink attached to it

    Hi Friends
    I have a requirement wherein I need to display a hyperlink along with the error message in webui.
    Example...
    Please enter a valid currency Details
    Here Details should appear as a Hyperlink and on clicking on this hyperlink it should navigate to a portal screen.
    Infact it is not actually a portal screen, it can be any URL.
    Could you please let me know how to add the hyperlink and how to navigate to portal screen on clicking on this hyperlink
    where do we need to write the code.
    Best Regards
    Anil
    Edited by: ANILKUMAR M on Mar 3, 2011 7:23 AM

    Hi Anil.
    According to SAP Help you can always get a link in a message for:
    . Fields that are defined as mandatory in the UI Configuration Tool
    . Fields that are defined as mandatory in the business object layer (BOL)
    Also it's possible with additional coding. The example is:
    lr_msg_service = view_manager->get_message_service( ).
    lr_msg_service->add_message_mapping( iv_message_class = 'CRM_BRC_MESSAGES'
    iv_message_number = '013'
    iv_binding_string = '//BRCBUSINESSROLE/STRUCT.CRMUI_NAVBAR'
    iv_page_id = component_id ).
    Check this [link|http://help.sap.com/saphelp_crm700_ehp01/helpdata/EN/cb/659ebfc880493baad66896518a55a1/content.htm] for details. Look at "Navigation to Field That Issued a Message" section and related link for "Enabling Links in Messages".
    Another option, which mentioned Arun and according [to this book|http://www.sap-press.com/products/SAP-CRM-Web-Client-Customizing-and-Development.html], is the global message service. The global message service enables you to register callback methods so that you can output navigable messages, that is, you can initiate a navigation to another view (or do whatever you want ) by clicking the message. Registration of the message service for a message looks like:
    DATA: lr_service TYPE REF TO cl_bsp_wd_message_service.
    lr_service = me->view_manager->get_message_service( ).
    TRY.
      lr_service->subscribe_message(
                      iv_message_class = 'CRM_IC_PPL_UI_BDC'
                      iv_message_number = '114'
                      iv_subscriber = me
                      iv_activation = abap_true ).
      CATCH cx_bsp_wd_dupl_mess_subscr.
    ENDTRY.
    where is the ME self reference points to a view controller that implements the IF_BSP_WD_MESSAGE_HANDLER interface, including HANDLE_MESSAGE method.

  • Calling a method on click of a hyperlink which opens popup

    Hi,
    I am new to the technology.
    I have a hyperlink on .jspx page. Upon clicking it a pop up should open. I need to pass an object to a methd in the bean which will pre populate data in the pop up as soon as it opens. i.e. want to populate the data in the pop up from the data base. Please tell me how that can be done?
    Using adf 11g jsf 2.0

    1.On click of the hyper link, call a managed bean method. You can set the value to be passed to managed bean method on click of hyperlink via setActionListener.
    Check this for setActionListner example: http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_setActionListener.html
    2.And based on that parameter, populate the data from the data base.
    3. After that launch the popup programatically. Read the article with heading How to launch a popup programatically from Java in http://www.oracle.com/technetwork/developer-tools/adf/learnmore/oct2010-otn-harvest-183714.pdf
    -Umesh

  • Error while creating a hyperlink for a field in a table view

    Hi all,
    I have created a table view to display the lead information.Now i wanted to make the lead number to be made as a hyperlink.I have tried the delow code
    <htmlb:tableView id = "tvX"
    headerText = "Leads Details"
    headerVisible = "true"
    design = "alternating"
    visibleRowCount = "5"
    visibleFirstRow = "<%= firstvisiblerow %>"
    fillUpEmptyRows = "true"
    onHeaderClick = "MyEventHeaderClick"
    onRowSelection = "select"
    selectionMode = "singleselect"
    table = "<%= activities %>"
    iterator = "<%= z_it %>"
    sort = "SERVER" >
    <htmlb:tableViewColumns>
    <htmlb:tableViewColumn
    columnName = "object_id"
    type = "link" >
    </htmlb:tableViewColumn>
    </htmlb:tableViewColumns>
    </htmlb:tableView>
    But am getting the following error whlle am activating the code
    Internal error occured during runtime generation
    of Class CL_O2D59X6KFES8AMMPAFQ6AV1R3WF (Dump ID:
    DBIF_REPO_SQL_ERROR).
    When i remove the code for <htmlb:tableViewColumns> this error does not exist
    Can canyone help me in solving this?
    Thanks

    Hi,
    in iterator method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
    you need to call method  cl_hrrcf_iterator=>get_bee_link to define the link for a specific filed.
    for example check the below code.
    IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
      CASE p_column_key.
        WHEN 'PERNR'.
        CALL METHOD cl_hrrcf_iterator=>get_bee_link
            EXPORTING
              p_cell_id       = p_cell_id
              p_onclientclick =link_url
              p_column_key    = p_column_key
              p_row_data_ref  = p_row_data_ref
              p_tooltip_alias = l_alias
            IMPORTING
              po_bee          = p_replacement_bee.
        ENDCASE.
    endmethod.
    vijay

  • MochiKit.Async.XMLHttpRequestError Error while invoking a hyperlink

    Hi,
    I have a report , which has a sub report embedded in it . IN the sub report, there is a filed, that has a hyper link. The hyperlinks is  this
    "https://myserver.com/myportal/generateDocument?reportLink=true&filePath=" + CurrentFieldValue
    and when I hover the mouse over the field, the console shows up
    javascript.parent.bobj.event.publish('hyperlinked','MyReport','urs=https%3A%2F%2Fmyserver.com%2Fportal%2FgenerateDocument%3FreportLink%3Dtrue%26filePath%3DNTkxNA%3D%3D&target=_self')
    When I click on the link, the error message pops up
    Unable to process your request
    message: Request failed
    number: 0
    name: MochiKit.Async.XMLHttpRequestError
    but , the document opens .It is a pdf document , which is suppose to be opened, and it opens up. But I get the error message.
    Any clues how to suppress the error message pop-up window ?
    Thanks

    Try this,
    Do not launch the sub-report from the main report, rather open the sub report by itself from infoview and try to perform the action. I assume something may be happening in the Opendoc. if you can narrow it down to opendoc, then you can work on how you need to build the opendoc URL.
    Just need to do the natural troubleshooting.
    try to open the sub report in Webi righ client and publish it back, see if it fixes anything. I googled and found something about post back issues and that seems to be a problem. There are a few links on good when i searched using "MochiKit.Async.XMLHttpRequestError", they should help you or at the least give you a direction.

Maybe you are looking for

  • Running Lion Server on a FCP Machine?

    Is it a sin to run Mac OS X Lion Server on a machine I purchased to do video editing with? If you don't want to address the normative question, can you tell me how much RAM it takes to run Lion Server? I have 16 GBs, purchased for motion graphics.  I

  • Report Viewer and Multiple Data Sources

    I know that it is possible to create a report in Crystal Reports using multiple data sources.  But is it possible to use just the Free  Report Viewer to view a report with Multiple Data Sources? Our company uses Crystal Reports XI.  I do not use the

  • Can I throw away the stuff in CrashReporter?

    I have an older iMac running OS 10.9.5 (Maverick) it has a 3.06 GHz intel core i3 processor. My husband has a new iMac that runs via WiFi. (Sorry, I don't have the details of his machine. It's in another room and not accessible right now) I know he's

  • Please help, complete computer numty...........

    Hello, As you can see from my title, i'm a complete computer numpty, don't understand half the words used......so please be patient and kind to me. Not sure how even to begin to describe this problem, but here goes. up until about 3 weeks ago, all wa

  • Problem in oracle 10g(client) to server is oracle 8i

    i want to coneect oracle 10g is client to oracle 8i is server. so i am getting problem. how to connect oracle 10g (client) to oracle 8i server.please give me steps.