Dynamic URL not working in email

I have a question on dynamic URL. In my report I have a help image which has hyperlink (when you click on the image which will take you to a help PDF file on the SharePoint) . This hyperlink is working fine in the browser but when I email the report 
my Hyperlink is not working as there will be no server name to dynamically pick up in the email. I am using Java Script can any one tell me how can I make my dynamic hyperlink work in the email without hardcoding the URL.
My current URL:
=”javascript:void(window.open(‘http://’+window.location.hostname+%20′/Library/Reports/Report%20Test.pdf’,'popup’,'target=_blank,resizable=1,toolbar=0,menubar=0,location=0′))”
Thanks in advance.

Hi Ranjith,
Based on my test, javascript URL cannot work when we email report use MHTML format. However, it is fine when we view the email in a web browser. If we are use original URL, it is work fine no matter which format we are use. Please try to use original URL
in the report to check if the issue is persist.
If the issue is persist, please clarify the render format of the subscription. It is benefit for us to do further analysis.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support

Similar Messages

  • Why Does Dynamic Link Not Work

    I purchased the CS5 Adobe Production Premium.  I have been working in Premiere and I have been learning about how to use Dynamic Link. I want to be able to alter clips in After Effects and bring them back and forth into Premiere.  When I go to File/ Adobe Dynamic Link/New After Effect Composition, I get this message:
    Adobe Dynamic Link Requires Adobe Production Premium.
    Since I own production premium, I do not know why I am getting this message.  I have reinstalled the CS5 Production Premium Software twice and it still gives me the same message.  What can I do to get Dynamic Link Working.

    Thank you for the tip.  Could you possibly tell me how to deactivate and
    then reactivate the suite.  I am using a Macbook Pro laptop running OS
    10.6.4.  I do not even know where to start.
    From:   Colin Brougham <[email protected]>
    To:     Dan Seanor <[email protected]>
    Date:   03/15/2011 09:55 AM
    Subject:        Why Does Dynamic Link Not Work
    Deactivate the software (not uninstall), and then reactivate the suite.
    This often fixes this. You can opt to leave the serial number on the
    system; no need to clear it and re-enter it.

  • My Ipad keyboard is not working in email now that I have downloaded the OS6.  Anyone know how to fix it?

    My Ipad keyboard is not working in email now that I have downloaded the OS6.  Anyone know how to fix it?

    I have the same problem.  Emailed apple--no help

  • I don't understand why ePrint does not work on emailing photos - Discard - Looked like a spam/ virus

    I don't understand why ePrint does not work on emailing photos - Discard - Looked like a spam/ virus

    Thanks. The problem was solved when I inserted a word in the subject line. Previously I was keeping it blank.

  • IPhoto -share to email not working-The email server didn't recognize your username/password combination- for hotmail and big pond- since apple technical support re-hotmail on iPhone.

    iPhoto -share to email not working-The email server didn’t recognize your username/password combination- for hotmail and big pond- since apple technical support re-hotmail on iPhone.

    in the iPhoto preferences ==> accounts delete your e-mail account and reenter it
    OR
    IMHO the better solution is to set Apple mail as the email client in the iPhoto preferences
    LN

  • My adobe connect url not working as i subscribe for 30 days free trial but its not working, i just received the link in email after subscribtion but its not woring

    help me

    The account may take a bit of time to be created and activated. If it is still not working when you try today, then you may need to reach out to support to see what the hold up is.

  • Link to URL not working in RH X5

    Good morning,
    A client asked me to include a hyperlink to an internal site of theirs.  After I gave them the WebHelp, they said the link doesn't work (I can't test it here as I work offsite without access to their intranet).  They said there is a space missing which would account for it not working.  The problem is I copied and pasted the URL into the project from the client's email.  Here is the URL copied from the client's email to me - you can see the 2 spaces between ACH and Forms.  :
    http://sharepoint.myfirstnet.com/TreasuryManagement/ACH%20%20Forms/Product%20Information/T raining/ACH_SEC%20Explained.doc
    When I right-click on the link in my topic and check the link properties and when I look at the code on the True Code tab, I can see the 2 spaces (not the code for the spaces, of course, but you can tell there is an extra space) so assumed all was well. Yet on the client's end there is only a single space.  And if I copy the link from the True Code tab in RH and past it here, for example, or into an email, it comes out like this:
    http://sharepoint.myfirstnet.com/TreasuryManagement/ACH Forms/Product Information/Training/ACH_SEC Explained.doc 
    The double space has been replaced with a single space.  I can't explain how or why that would be changed after I put in the hyperlink.  Is there something about HTML or RH in particular that doesn't allow double spaces so removes one?
    Thanks for any help.
    Diane

    Have you tried %20%20 in the code rather than spaces?
    Just a guess.
    See if that works in RoboHelp's viewer.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Dynamic conversion not working if SSEnableDirectDelivery is set to true

    hi experts,
    In our site, we have downloadable pdfs,docs,videos etc. So in order to achieve this, we have used following configuration :
    SSEnableDirectDelivery=true
    SSDirectDeliveryExtensions=pdf,doc,ppt,jpg,gif,docx,pptx,gif,png,tif,eps,dot,html,zip,swf,exe,xls,xlsx,flv,mp3,mp4,fla,ppsx
    Now, we have planned to use dynamic converter to convert word douments into HTML and display on site for Press Releases. As we have enabled SSEnableDirectDelivery, Dynamic conversion is not working.
    we have a dynamic list on Primary Layout (hcsp template) that displays list of Press Releases. When we click on Press Release link, the word documents start downloading......
    the steps are as follows :
    1. Added SSEnableDirectDelivery=true and SSDirectDeliveryExtensions=pdf,doc,docx to config.cfg . Restarted the UCM server .
    2. Added Dynamic List Plain fragment to a section of the site . Set the query to retrieve all the contents with extension .doc
    3. Launched the site from a browser and the section where DL was added . This listed the word documents (extension with .doc)
    4. Selected the word doc and see that it is being downloaded .
    I also tired following :
    <!--$xml(dDocTitle)-->
    it is working fine but issue is that URL in browser changed to http://example.com/idcplg?IdcService=GET_DYNAMIC_CONVERSION&RevisionSelectionMethod=LatestReleased&dDocName=id_003461
    I dont want to expose this url, i want to show the friendly URL in Browser
    e.g
    http://exmaple.com/corporate/press-release/P09082010.html
    please help!!!!!!!!!

    help please

  • Norton free software given along with pendrive product code MM-USPDHP-​106 url not working

    Purchased HP USB Flah sdirve HP 16GB V100/105W
    Product code MM -USPDH-106  
    The free norton software given with " Redemption and Activation" URL  https : // nortonactivate.com/compaign/fm1301 
    not working., 
    Sent me the details to [email protected]

    Purchased HP USB Flah sdirve HP 16GB V100/105W
    Product code MM -USPDH-106  
    The free norton software given with " Redemption and Activation" URL  https : // nortonactivate.com/compaign/fm1301 
    not working., 
    Sent me the details to [email protected]

  • Application URL not working properly

    We have a custom application hosted on weblogic8.1 cluster. And this is in production environment.
    What we observed was, I am using FireFox browser and works fine for me. And I noticed it did not work a few days ago only once. However, most of the other users use IE6.0 and seems not able to access this URL. So some tried using IE 7.0 and worked fine for some time. But, the problem persisted very often as few can and others cannot.
    Can anybody tell me what could be the problem or should I be modifying any files in weblogic server.
    This is working pretty fine in testing environement.

    Thank you very much for the hint, though I have not tried your suggestion. I tried a little more and found the following way might be simpler - using "java.url.*" and "java.io.*". Just a simple test:
    ============================
    URL url=new URL("ftp://usrname:password@hostname/localDirectory/filename.txt");
    InputStream is=url.openStream();
    BufferedReader in=new BufferedReader(new InputStreamReader(is));
    String line;
    while((line=in.readLine()) !=null) { System.out.println(line);
    ==========================================
    Of course, other data format would work in a similar way.
    Cheers,
    ljiang001

  • Web Cache 'Ping URL' not working.

    Hi,
    I have recently installed a Webcache clustered pair which sit in front of OHS which reverse proxys back to OUCM/Web Logic, my OWC version is 11.1.1.2 and am looking for some clarification of how the Ping URL actually works in Web Cache.
    When OHS is shutdown, Webcache detects the service is down and prevents it from servicing requests, however it will not mark the service as down when I intentionally set ping URL to a page that does not exist generating a 404, will Ping URL polling only mark a server as being down if a 500 error is generated?
    Something else I would like clarification of is 'Ping Interval', I have set this to be aggressive at '1' however I do not see any polling traffic or see any hits in OHS log that indicate polling of the Ping URL is taking place.
    Thanks in advance,
    Mark.

    Not sure I need any update to this now, I've just read through the help section 'help/edit_add_appserver.htm' and can see that a 404 is not considered a failure and also that the server only starts to poll when the failover threshold has been reached.
    This would explain why the server was not being marked as down, although I'm still not sure why I do not see the polling traffic in Apache logs but I can live with that :)
    Cheers,
    Mark.

  • Dynamic configuration not working in Java mapping

    Hi All,
    I have a scenario where i  am using java mapping. In this i am doing following
    1)Read file name from input message header
    2)set file name in output message Header
    3) set Directory name in output message Header
    i  have used following code .. but iit is not working... when i test end  to end...  in reciver communication channel it is failing stating " message failed as "Directory is not set in Header. Also i checked in SXMB_MONI  "dynamic configuration".It is not showing Directory.
    this is code.
    public void transform(TransformationInput transformationInput,TransformationOutput transformationOutput)
                   throws StreamTransformationException {
                   private Map para;
                   String Directory ;
                   String  inputFileName;
                   String var1 = "ABC";
                   para = transformationInput.getInputHeader().getAll();
                   DynamicConfiguration conf = (DynamicConfiguration) para
                             .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                   DynamicConfigurationKey keyFileName1 = DynamicConfigurationKey
                   .create("http://sap.com/xi/XI/System/File", "FileName");
                         inputFileName = conf.get(keyFileName1);
                   DynamicConfigurationKey keyFilename = DynamicConfigurationKey
                             .create("http://sap.com/xi/XI/System/File", "FileName");
                   DynamicConfigurationKey keyDirecory = DynamicConfigurationKey
                             .create("http://sap.com/xi/XI/System/File", "Directory");
                   Directory = "tmp/"+var1;
                   conf.put(keyFilename,inputFileName);
                   conf.put(keyDirecory, Directory);
    I am in PI 7.1 ,   and in eclipse its showing warning that Para is not used.
    Can anyone show some lights.
    Also is there any way to debug this?? like is there any function by which i can write the trace for each step to see those in MONI.

    Method name:   public void createDirectory(Resultlist result, Container container)throws StreamTransformationException
    //Use Simple UDF and do the following lines
    String Directory ;
    String  inputFileName;
    String var1 = "ABC";
    DynamicConfiguration conf = container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
      DynamicConfigurationKey keyFileName1 = DynamicConfigurationKey
                   .create("http://sap.com/xi/XI/System/File", "FileName");
      inputFileName = conf.get(keyFileName1);
    DynamicConfigurationKey keyFilename = DynamicConfigurationKey
                   .create("http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey keyDirecory = DynamicConfigurationKey
                   .create("http://sap.com/xi/XI/System/File", "Directory");
    Directory = "tmp/"+var1;
    conf.put(keyFilename,inputFileName);
    conf.put(keyDirecory, Directory);
    and remove these 3 lines
    //private Map para;
    //para = transformationInput.getInputHeader().getAll();
    //DynamicConfiguration conf = (DynamicConfiguration) para.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION
    >>I am in PI 7.1 , and in eclipse its showing warning that Para is not used.Can anyone show some lights.
    You can simply remove declaring Map Para line... The eclipse gives warning because you dont assign values for it and you are trying to use...
    For using the same input file name in output side, you dont need coding ... you need only for the directory...
    Enable ASMA attributes in the channel.
    Edited by: Baskar Gopal on Feb 24, 2011 10:58 AM

  • Dynamic Stamps Not Working in Adobe Acrobat Pro

    Hi everyone, the dynamic stamps on Adobe Simultaneous Review are no longer working for us. I have Adobe Acrobat Pro 9 (it works for me) but it's not working for many other people (they have Adobe Acrobat Pro X). Does anyone know how we can fix this. I think the problem started occurring a few months ago.
    Many Thanks!
    Joy

    You can shutting down Acrobat and then try moving (DO NOT DELETE - you may want put them back afterward if this doesn't work) the Collab and Sync folder out of the User's Acrobat folder and then rejoin the Shared Review to see if the Dynamic Stamps reappear.

  • Adobe Premiere Pro CS5 Dynamic Link not working as part of Production Premium CS5

    I ran into a situation whereby I recently reinstalled my Production Premium CS 5 onto a new computer and when trying to run the Dynamic Link out of Premiere PRO CS 5 to create a new After Effects composition, After Effects tried to start up but then crashed with the error that Production Premium was needed.
    Yet, I had Production Premium CS5.
    (Note:  The crash didn't occur when I simply tried to use Dynamic Link without anything selected in my project or timeline - but the moment I had a clip in my timeline selected to work on it, the dynamic link would not work as covered above.)
    In checking around the forums I found various answers to this problem such as rebooting the computer, reformatting hard drives and/or whatever.  This all may be correct.
    However, as I just went through that nightmare, I was not anxious to do that again.  So, I called Adobe and the following solution solved the matter in 5 minutes:
    1. Close all your other Adobe applications such as After Effects.
    2. Open up Premiere Pro CS5 and then deactivate it by going to HELP>DEACTIVATE and then Permanently Deactivate.
    3.Close the application and restart Premiere Pro CS5.
    4.Then do the same to Activate it.
    5. Have your serial number handy and plug it in when prompted.
    Solved it right away and worked beautifully.
    Not to say there couldn't be more complicated situations, but the above worked and the simpler the better is good for me. And I thought I would post this in case anyone else ran into this problem.

    Thanks for posting your solution.

  • Form in Dynamic page not working when checkbox is used.

    I have created a form using dynamic page. The form most have display fields and a checkbox field. When I check a box, it assigns 'Y' value and when unclick, it assign 'N' to the database field.
    When I submit the form, the procedure which is supposed to save the form data never gets executed. Well, at least it says, page not found HTTP 404 error.
    Interestingly if I make this field a text box and manually enter 'Y' or 'N', and then submit the form, the procedure is executed. Data gets saved.
    Is the checkbox not supposed to be used for a database field because checkbox value can be assigned only using javascript and the procedure never get that value ?
    Can you please tell me how to use a checkbox for a database field using dynamic page ?
    thanks,
    Mainak

    Sharmila,
    When I said, the form does not get submitted, I meant that the procedure does not work. The form gets submitted but the procedure does not work. It gives HTTP 404 error. That is what perplexes me. I am unable to understand why the procedure does not work when I click a checkbox.
    May be you can make this work. I am hopeless about this.
    Here is the code for the procedure sumbit_form:
    NOTE: I ADDED TWO FIELDS CALLED PROMOT VARCHAR2(1), PROMOTID NUMBER(4) TO THE EMP TABLE AND CREATED A NEW TABLE CALLED PROMOTEMP. THIS IS A TEST CASE.
    create or replace procedure sumbit_form
    (p_empno IN portal30.wwv_utl_api_types.vc_arr, p_promot IN portal30.wwv_utl_api_types.vc_arr, p_action IN VARCHAR2)
    is
    begin
    if p_action = 'save' then
    for i in 1..p_empno.count LOOP
    update scott.promotemp
    set promot = p_promot(i)
    where empno = p_empno(i);
    END LOOP;
    end if;
    commit;
    htp.p('<b>Saved Successfully</b>');
    htp.p('<table border=1 bordercolor="red">');
    for c1 in (select * from promotemp where promot='Y')
    LOOP
    htp.p('<tr><td>');
    htp.p(c1.ename);
    htp.p('</td><td>');
    htp.p(c1.job);
    htp.p('</td><td>');
    htp.p(c1.mgr);
    htp.p('</td><td>');
    htp.p(c1.sal);
    htp.p('</td><td>');
    htp.p(c1.deptno);
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    EXCEPTION
    when others then
    raise;
    end;
    Here is the code for the dynamic page.
    <HTML>
    <HEAD>
    <TITLE>Promot Emp</TITLE>
    <script language="JavaScript1.1">
    function include(form) {
    var thisform = form;
    for (var i=0; i<thisform.length; i++) {
         if (thisform.elements.type == 'checkbox') {
              if (thisform.elements[i].checked) {
                   thisform.elements[i].value = 'Y'; }
              else { thisform.elements[i].value = 'N'; }
    form.submit();
    function show(form) {
    var thisform = form;
    for (var i=0; i<thisform.length; i++) {
         if (thisform.elements[i].type == 'checkbox') {
              if (thisform.elements[i].value = 'Y') {
                   thisform.elements[i].checked = true; }
              else { thisform.elements[i].checked = false; }
    </script>
    </HEAD>
    <BODY>
    <FORM action="scott.sumbit_form" method="post">
    <table border=1 bordercolor="red">
    <tr>
    <td> </td>
    <td>Name</td>
    <td>Job</td>
    <td>Manager</td>
    <td>Hire Date</td>
    <td>Commission</td>
    <td>Department#</td>
    <td>Include</td>
    </tr>
    <ORACLE>declare
    i number;
    begin
    i := 0;
    for c1 in (select * from scott.promotemp where promotid = :promotid)
    loop
    htp.p('<tr><td>');
    htp.p('<input type="hidden" name="p_empno" value='||c1.empno||'>');
    htp.p('</td><td>');
    htp.p(c1.ename);
    htp.p('</td><td>');
    htp.p(c1.job);
    htp.p('</td><td>');
    htp.p(c1.mgr);
    htp.p('</td><td>');
    htp.p(c1.hiredate);
    htp.p('</td><td>');
    htp.p(c1.comm);
    htp.p('</td><td>');
    htp.p(c1.deptno);
    htp.p('</td><td>');
    if (c1.promot = 'Y') then
    htp.p('<SELECT NAME="p_promot" SIZE="1">
    <OPTION SELECTED VALUE="'||c1.promot||'">Yes
    <OPTION VALUE="N">No
    </SELECT>');
    else
    htp.p('<SELECT NAME="p_promot" SIZE="1">
    <OPTION SELECTED VALUE="'||c1.promot||'">No
    <OPTION VALUE="Y">Yes
    </SELECT>');
    end if;
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    htp.p('<input type="submit" value="save" name="p_action">');
    end;
    </ORACLE>
    </form>
    </BODY>
    </HTML>
    thanks,
    Mainak

Maybe you are looking for

  • How to get the SQL Statement of a report region?

    For example: The SQL of report region such as "SELECT A,B,C FROM T1 WHERE A = :P10_A". I hope to get the converted statement (the variable has been replaced), like this: :P10_A = 'TOM', SQL: "SELECT A,B,C FROM T1 WHERE A = 'TOM'". THX.

  • Handling Error Messages in Process Chain

    Hi Gurus, I am developing a process chain which contains more than 40 Master Data Objects. Those are connected serially with "always" link. Start -> Load Data -> DTP -> Load Data -> DTP - EX-OR (connected to all Processes for error message) Here the

  • [SOLVED] Cups refuses to work: "bad file descriptor"

    I am not getting CUPS to work on a new installation. I need to use cups as a client printing to a printer attached to a separate server. What I did: 1. I installed  the cups package and started/enabled the service in systemd. 2. The remote server has

  • Steps involved in Uninstalling SQL Server service packs

    Hi, Came to know that we can uninstall sql server service packs from SQL 2008 SP1 onwards. Question is, for suppose i have installed SQL 2008 SP3 and found problem. Now I want to uninstall SP3, what are the steps involved to uninstall a service pack?

  • Since updating to version 4.0, Firefox does not automatically complete saved passwords

    Before updating to version 4.0, whenever I clicked the cursor into the username boxes, the username would automatically be there. Once I clicked on it, then the password would automatically fill in. Since the update, this does not happen anymore. So,