Howto create a dynamic link with current domain

We need to create a dynamic link on a html page in the portal.
The link should contain a dynamic part containing the domain where the CLIENT is in. It should look like this : http://mytool.windowsdomain.corp/tool where "windowsdomain.corp" is dynamic. Where could we get this information from?
Thanks!
Matthias

Hi Matthias,
you could paste something like this in a Custom JSP Component:
<script type="text/javascript">
     function getServerURL() {
          return top.document.location.protocol+"//"+top.document.location.host;
     function redirect(uri) {
          try {     
               top.location.href=uri;
          } catch (e) {
            //unfortunately this is not triggered in IE - only in mozilla
               alert("No valid Redirection-URL could be generated. Please contact your Administrator.");
    redirect(getServerURL()+'/tool'+top.document.location.search);
</script>
Best Reagrds, Thomas

Similar Messages

  • Premiere Pro CS5 Dynamic Link with AE CS5.5

    Hi everyone,
    I'm experiencing a problem with dynamic links. I have Premiere Pro CS5, AE CS5 and CS5.5 on my computer. When I do "replace with an After Effects comp" in Premiere Pro, it creates a Dynamic Link with AE CS5 and not CS5.5. Is there a way to tell Premiere to use CS5.5 version of AE and not CS5 ?
    Fred

    Not exactly Harm...
    It's possible to import AE CS5 composition directly to PrPro CS5.5 via Adobe Dynamic Link, but not vice versa (i.e. it's impossible to import AE CS5.5 composition into PrPro CS5)

  • How to create a dynamic link in a Form to link to a specific FOLDER

    Hello,
    I have created a reports of all employees of my department.
    This reports shows me the empno and ename
    When I clicked on a empno ( for example empno = 1 ) then then I got a MASTER DETAIL FORM about that employee(empno = 1) .
    Who he or she is and which course he or she had followed.
    I want create a dynamic link in the MASTER DETAIL FORM which shows me directly the folder of that employee ( in this example folder 1 ).
    If I clickt on the report with all employees of my department on an other number ( for example empno = 3333333) then if I click on the dynamic link in the MASTER DETAIL FORM I want to see the folder of employee 3333333 !!! You know what I mean ?
    What I want to know is, how to create a dynamic link that shows me directly a folder which is dependent on which empno I had clicked on in the report ( report with employee numbers and ename )
    Is there any way to pass some parameters into a link to a Folder ? Is this possible in Portal ? Does anyone know how to do this, or do you have a suggestion how to solve this problem ?
    Thanks a lot !!!
    Chu Lam

    Hi Chetan,
    I am glad that someone had replied on my question.
    I will explain it to you again.
    I have created a report that shows me all employees. If I click on a employee number then I get an MASTER DETAIL FORM on my screen with all the information(where he works now and which number I have to dial ifhow can I reach him by telephone) of that employee on which number I clicked on.
    I really like this mechanism. (You click on a number and the information that you see in the next screen is dependent of the number you clicked on ! )I have created all this. It works fine.
    What I want is to expand this example.
    Every employee has a FOLDER (yes, those ones in Content Area ) which they can insert text or image into that folder. The folder name is just the employee number. ( employee with employee number 3303, he owns a folder which is named 3303 and an employee with empno 9999, he or she owns a folder with the name 9999. )
    Every employee can tell more about himself in that FOLDER by iserting text and images. For example : What he likes, pictures of his vacation, something like this.
    What I want is this :
    If I click on the first report,which provides me all employees on screen, on a employee number 3303 then I get a Master Detail Form on my screen with all information about that employee with employee number 3303. And I want in this MASTER DETAIL FORM to create a link that shows me directly the FOLDER of that employee ( 3303), so I can learn more about employee with employee number 3303. But I don't know how to create this link.
    That link had to be dependent on the employee number. The difficult thing about this link is that this link had to be dynamic.
    I hope this will make it clear to you :
    (report all employees:)
    empno ename
    3301 john smith
    3302 peter clark
    3303 wilson jones
    If I click on a empno ( for example 3303) then I get a MASTER DETAIL FORM which provides me information.
    (MASTER DETAIL FORM )
    EMPNO 3303
    ENAME wilson jones
    department New York
    mobile number 98908763
    Company tel. no day
    AOL 097485838 monday till wednesday
    Oracle 04848584333 thursday and friday
    LINK
    (what I want is to create a link here )
    If I click on LINK in this MASTER DETAIL FORM then I want to link to the FOLDER of this employee ! ( In this example it is FOLDER 3303.
    BUT IF I CLICKED ON THE FIRST REPORT ON A DIFFERENT NUMBER ( FOR EXAMPLE 3301) THEN IF I CLICK ON LINK IN THE MASTER DETAIL FORM THEN I HAVE TO LINKED TO FOLDER 3301.
    I just want to know how to make a link like this ( create a dynamic link to a specific folder ).
    Thanks in Advance.
    Chu

  • Dynamic Linking with text

    Can text created in Pr Titler be sent from a Pr Timeline
    to an Ae comp via Dynamic Link in the upcoming version?
    http://forums.adobe.com/message/5274695#5274695

    I'll file a feature request here:
    http://www.adobe.com/go/wish
    Feature Request:
    Brief title for your desired feature:
    Dynamic Linking with text
    How would you like the feature to work?
    The ability for text created in Premiere Titler
    to be sent from a Premiere Timeline to an
    After Effects Composition via Dynamic Link.
    Why is this feature important to you?
    I do all of my finished titling in Ae, and would like to
    be able to transfer rough-cut text from Pr for compositing
    Filed.

  • How to Create Company and link with Plant

    Dear All
    Kindly help me to create Company and link with Plant and Storage Location through SPRO.
    Kindly trll me TCODE.
    Waiting for Reply
    Thanks & Regards
    Alok

    HI,
    Go to OX02 and create a company code by copying the standard company code 0001 / 1000
    Then go to OX10 and create a plant by copying the standard plant 0001 / 1000
    OX09 - maintain storage loaction for the created plant
    OX08 - create purchase org copying from standrard 0001 / 1000
    Go to OX18 and assign your plant to company code
    OX17 assign purchase org to plant
    In order to get the tcode go to SPRO and in the top menu click on additional informations - additional information - display key - IMG activity.
    After you select this then in the SPRO you have a column additional information comes up. each and every activity in SPRO will have and additional informatiom, in the additional information the last 4 characters is tcode.
    Eg : SIMG_CFMENUSAPCOX02 this is the additional information for CC. the last 4 characters OX02 is the tcode
    Thanks
    Kiran

  • How to create a Dynamic Datatable with sorting functioanlity

    Hi,
    I am new to JSF and need some help can some one please tell me how to create a dynamic datatable with sorting functionality. I am reading data data from a database table and wants to build the datatable dynamically based on the columns returned. I know how to created a datatble with a fixed number of columns but can't figure out how to create a datatable dynamically with sort functionality. Any small example will help.
    Thanks

    Hi,
    Here is what I have so far and can't figure out how to add the sorting functionality. Any help is appreciated.
    Managed Bean:
    private List<MyDto> data ;
        public HtmlDataTable getDataTableOne ()
            if ( dataTableOne == null )
                populateCheckBoxes () ; // Preload.
                populateDynamicDataTableOne () ;
            return dataTableOne ;
        public void populateCheckBoxes ()
            data = new ArrayList<MyDto> () ;
            MyDto myDto1 = new MyDto () ;
            MyDto myDto2 = new MyDto () ;
            MyDto myDto3 = new MyDto () ;
            MyDto myDto4 = new MyDto () ;
            myDto1.setChecked ( true ) ;
            myDto1.setValue ( "myDto1" ) ;
            myDto2.setChecked ( false ) ;
            myDto2.setValue ( "myDto2" ) ;
            myDto3.setChecked ( false ) ;
            myDto3.setValue ( "myDto3" ) ;
            myDto4.setChecked ( true ) ;
            myDto4.setValue ( "myDto4" ) ;
            data.add ( myDto1 ) ;
            data.add ( myDto2 ) ;
            data.add ( myDto3 ) ;
            data.add ( myDto4 ) ;
        public void populateDynamicDataTableOne ()
            dataTableOne = new HtmlDataTable () ;
            UIOutput header = new UIOutput () ;
            header.setValue ( "" ) ;
            UIColumn tableColumn ;
            tableColumn = new UIColumn () ;
            HtmlOutputText textHeader = new HtmlOutputText () ;
            textHeader.setValue ( "" ) ;
            tableColumn.setHeader ( textHeader ) ;
            HtmlSelectBooleanCheckbox tCheckBox = new HtmlSelectBooleanCheckbox () ;
            tCheckBox.setValueBinding ( "value" , FacesContext.getCurrentInstance ().getApplication ().createValueBinding ( "#{row.checked}" ) ) ;
            tableColumn.getChildren ().add ( tCheckBox ) ;
            // Set output.
            UIOutput output = new UIOutput () ;
            ValueBinding myItem = FacesContext.getCurrentInstance ().getApplication ().createValueBinding ( "#{row.value}" ) ;
            output.setValueBinding ( "value" , myItem ) ;
            // Set header (optional).
            UIOutput header2 = new UIOutput () ;
            header2.setValue ( "" ) ;
            UIColumn column = new UIColumn () ;
            column.setHeader ( header2 ) ;
            column.getChildren ().add ( output ) ;
            dataTableOne.getChildren ().add ( tableColumn ) ;
            dataTableOne.getChildren ().add ( column ) ;
    MyDto.java
    public class MyDto
        private Boolean checked;
        private String value;
        public MyDto ()
        public void setChecked ( Boolean checked )
            this.checked = checked;
        public Boolean getChecked ()
            return checked ;
        public void setValue ( String value )
            this.value = value;
        public String getValue ()
            return value ;
    JSP
    <h:dataTable id="table" value="#{myRequestBean.data}" binding="#{myRequestBean.dataTableOne}" var="row" />Thanks

  • Trying to use form or dynamic link with parameters in a portlet

    I have created a dynamic page and published it as a portlet. The dynamic page is my own customization page for a chart.
    Ont he same page as the portlet I have the chart I want to customize. I have tried defining the form action as the page itself with the extra custom parameters in the url and I have tried just building up a url and callong that url (if we have a link on the chart names that is what happens and it works). However, it doesn't work.
    It should read (and does when I use a javascript alert): http://ogg:7777/servlet/page?_pageid=134,148&_dad=portal30&_schema=PORTAL30&_mode=3&city=Berlin
    but instead using a form it reads:
    http://ogg:7777/servlet/page?city=Berlin
    and using the link building method it reads:
    http://ogg:7777/servlet/
    What is happening to the link in either case? Why is it being altered? I've left the form action blank and also tried hard coding the URL but still get the same response.
    null

    We are doing something similar with our own customization form and the report it affects on the same page. We will also be doing the same thing with charts in the future. It took a great deal of trial and error, but we finally have a technique that works (even if it isn't ideal).
    1. The following is entered in your form in the "On successful submission of a form, execute this PL/SQL block or PL/SQL procedure" (this will retrieve your parameter value from your form and then call the page your form and report (or chart) are on):
    declare
    hv_myvariable varchar2(2000);
    l_store portal30.wwsto_api_session;
    begin
    -- Note that you have to add the 'A_' in front of your form field name!
    hv_myvariable:=p_session.get_value_as_varchar2(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_MYVARIABLE'
    -- call the url of the page
    go ('http://host:node/servlet/page?_pageid=65&_dad=portal30&_schema=PORTAL30&_mode=3&myvariable='&#0124; &#0124;hv_myvariable);
    end;
    2. The following is entered in the report's "Additional pl/sql code- Before displaying page" to retrieve the parameters from the url:
    portal30.wwv_name_value.replace_value(
    l_arg_names, l_arg_values, p_reference_path&#0124; &#0124;'.myvariable',
    portal30.wwv_standard_util.string_to_table2(get_value('myvariable')));
    3. At this point, the process should work, but it will clear out your form fields when you refresh your page. To prevent this, enter the following for the default value of your form field:
    portal30.wwpro_api_parameters.get_value('myvariable','FORM_MY_FORM')
    Let me know if this works for you or if you have found other ways to accomplish some of these things. If anyone else can show us a better way to do this or any other useful techniques, we would greatly appreciate the help!
    null

  • PDF goto named destination link with current zoom level

    Hi,
    I am created PDF file from 3b2 software with many links and bookmarks, The links with in documents are created with named destination bookmark names.
    When I am click the link to navigate with in document it will goto the bookmarked location and zoom level will changed into “FIT TO WIDTH” but I am want to navigate over the document with current zoom level from the link where I am clicked.
    For this process I am tried one method that is javascript action in link.
    Using link properties
    Action -> Add Action -> Select Action  (Run Javascript)
    Script
    main()
    function main()
    var zoom = this.zoom;
    this.gotonameddest(“bk1”);
    this.zoom = zoom;
    By this method I am get what I am looking but I am having one problem,
    First I will goto that book marked page with and after only it will fit to the current zoom level, so when I am go for previous view it will goback to "FIT TO WIDTH" zoom level, so this method failed.
    And also I am unable to edit all the links in my PDF document by Manually.
    So please advice me what is right way to navigate over the document with current zoom level from link where I am clicked.
    Note:
    The output PDF document will contain 100 number of links so I want to update all the links with my requirement by automation.
    Is there is any way to handle this process by Acrobat SDK with C# , .NET
    Regard
    Thirusanguraja V

    Thank you Very much,
    If you do't mind could you give me sample PS file with,
    Destinations specify a particular location in a file, and a zoom factor.
    The zoom level must be current zoom level of the page where i am link click.
    Sample PS syntax i am tryed:
    [/Dest /bmkaff1 /Rect [2000 3062 2100 2886] /View [/XYZ 0 0 0] /LNK pdfmark
    Reference I am used for this:
    pdfmark Reference
    © 2006 Adobe Systems Incorporated. All rights reserved.
    Adobe® Acrobat® SDK 8.0 pdfmark Reference for Microsoft® Windows®, Mac OS®, Linux®, and UNIX®
    Edition 1.0, November 2006
    Chapter 3 : 3 Actions and Destinations................44

  • Dynamic Link with Encore, Photoshop, and After Effects

    Intention 1: Im using Photoshop CS5 (PS5) & After Effects CS5 (AE5) to create a DVD menu for Encore CS5 (EN5). I used the 'Film & Video' preset in PS5 to make a standard HD 1440 x 1080px image size; which looks the same in AE5. My problem is in PS5 the 'Pixel Aspect Ratio Correction'  size is the size i want the universal size to be. Its a more stretched version which looks better to me, but may not work well with HD monitors (as this DVD will be played on a 17" laptop).
    Question 1: Is there any way to have AE5 recognize the 'pixel aspect ratio correction' from PS5 and make the composition settings that size in AE5?
    ```
    Question 2: What are standard sizes for computer monitors that would work welll mostly with the Dynamic Link in AE5 and EN5 working with PS5?

    Yes, it can be very confusing. With CS5, however, as long as you keep it all the same, it doesn't require setting. But you do need to understand it.
    Just start with the help page:
    http://help.adobe.com/en_US/AfterEffects/9.0/WS3878526689cb91655866c1103906c6dea-7f3aa.htm l
    FYI, you may have seen these, but if not, help re Encore menus using AE:
    From Encore help:
    http://help.adobe.com/en_US/encore/cs/using/WSA5513911-0AD1-440c-BDAD-2E0E806B425E.html
    From AE help
    http://help.adobe.com/en_US/aftereffects/cs/using/WS3878526689cb91655866c1103906c6dea-7e45 a.html

  • HowTo create a direct link to an approval

    Hi all,
    did someone of you tried to create a direct link to an approval?
    The link looks like this: "u2026/ProcessRequest?RequestID=12345&TaskID=111&EntryID=01234"
    So my question:
    Is it possible to use SQL statements in these scripts to read out the needed data from "MXP_PROVISION"?
    I have tried out this:
    Configuration in "EMailNotifiaction_Approval" Pass:
    MSKEY     %MSKEY%
    MX_APPROVERS    %MX_APPROVERS%
    MX_ENTRY_REFERENCE     %MX_ENTRY_REFERENCE%
    Coding in the script of "Next data entry" (just the relevant part)
    var entryReference = Par.get ("MX_ENTRY_REFERENCE");
    var sql = "SELECT MSKEY FROM MXP_PROVISION WHERE AUDITREF = " + entryReference;
    var sqlresult = "";
    sqlresult = uSelect (sql);
    I don´t get a Value into "sqlresult". I think one problem is that he doesn´t read the value of entryReference
    Br,
    Philip

    Thank you Thomas,
    the privilege was the problem.
    Maybe someone of you had the same problem.
    I have solved it like this now: (All with * marked lines can be found in the HowTo guide)
    *var pendingValue = Par.get("MSKEY");
    *var approverList = Par.get("MX_APPROVERS");
    *var entryReference = Par.get("MX_ENTRY_REFERENCE");
    *// uErrMsg(logLevel,"Approver List: " + approverList);
    *var approvers = new java.util.Vector();
    *approvers = uSplitString (approverList, "|");
    *var i = 0;
    *var result;
    *var emailAddress = "";
    *var idStore = uGetIDStore();
    *var emailAttribute = "%$MAILATTRIBUTE%";
    var sql = "SELECT APPROVALTASKID, AUDITREF, PARENTMSKEY FROM MXWV_PENDING_APPROVALS WHERE MSKEY = " + pendingValue;
    var sqlresult = "" ;
    sqlresult = uSelect(sql);
    var part = new java.util.Vector();
    part = uSplitString (sqlresult, "|");
    actionid = part.get(0);
    auditref = part.get(1);
    usermskey = part.get(2);
    // This line was made to get the unique name of the requesting person
    var sqlname = "SELECT AVALUE FROM MXIV_SENTRIES WHERE (ATTR_ID = 2 AND MSKEY = " + usermskey + ")";
    var name = "";
    name = uSelect(sqlname);
    var url = "http://10.44.110.68:50000/webdynpro/dispatcher/sap.com/tcidmwd~workflow/ProcessRequest?RequestID=" + auditref + "&TaskID=" + actionid + "&EntryID=" + pendingValue;
    I think there are much more solution. (Iam new at IdM )
    Br,
    Philip

  • Dynamic link with AE doesn't work

    Hi,
    when I try to create a new Dynamic Link from Premiere Pro CC to AE CC ("replace with AE Composition...") it
    though opens After Effects but in the new Composition is black! There is no footage to be seen.
    When I switch back to Premiere the footage there is also blacked out...
    What is wrong? How do I make this work correctly?
    Thanks for your help!
    Best Regards
    System:
    Windows 8.1 64-bit
    Intel i7 4930K
    Gigabyte GTX 770 4GB
    ASUS P9X79
    32GB Gforce 2133Mhz RAM
    Corsair H100i water Cooling
    Coolermaster 850 W
    250 GB SSD for OS and Programms

    Yeah, I'd expect that to work fine in CC as well.
    I've seen a few other reports similar to yours, though I don't recall the outcome.  You might try a forum search.

  • Dynamic Link with PP/After Effects CS5 question

    So, first time using After Effects ever. Absolutely loving it, can't wait to really learn this program.
    Anyways, my situation.
    I have a 15 second commercial I'm editing with Premiere Pro CS5 on my MacBook Pro. The second to last shot, I initially right clicked the clip in the timeline and selected "Replace With After Effects Composition." I did some motion graphics on this shot, and I'm pretty sure when I was done, I rendered the timeline in PP which synced back into PP what I did in AE. I believe at that time I closed AE completely without saving the composition.
    Now I still have this shot in my PP timeline and it still has the AE effects I added, but I do not believe there is any saved AE file that references that composition. Whenever I click "Replace With After Effects" it just opens a new linked composition, but instead of any footage and animation, there is just a big color bar screen.
    Is there any way to still edit this composition in AE? What is the proper way to save files linked between PP/AE so you can completely close both programs and open them later and still edit the composition?

    See, that's what I would think to, but I'm almost sure I did not save the linked comp in AE.
    Not on my computer now, but I could check on lunch.
    I guess I could just create a dummy project in PP, open a linked comp thru Dynamic Link, do a few changes in AE, render/sync to PP, and then close AE w/o saving and see what happens?
    Are there any good walkthroughs you guys are aware of? I'm reading how pre-CS5, Dynamic Link was really only a "one-way" street, but that has changed in CS5.

  • Dynamic link with After Effects workflow questions... (exporting from PPro)

    I have CS5 Master on Win7 x64 pc
    I have a Premiere sequence with an AE linked comp in it...
    If I am using proxies (created at high quality, not low) or pre-renders (in AE comp), would that have any affect on render/export times in Premiere Pro (or Adobe Media Encoder)?
    What is the best workflow for having AE comps in Premiere to maximize export times in PPro?
    Thanks all!

    Umm... sure? To be perfectly honest, I've never tried it!
    As it is, I don't think that's the case; you can set a post-render action in AE to import the rendered file back into your project, but I don't think there's an automatic replacement or addition to the existing comp. You'd have to do that manually. But given that, if you're already rendering out a finished comp, why not just import it into Premiere Pro and forget about the Dynamic Link?
    A proxy in AE is essentially a low-resolution version of a footage item, not a finished comp. So short of doing a bait-and-switch where you build your comp, render it out of AE, import the rendered file back in, and put it as a layer into the finished comp (on top, presumably, since that will basically null the rendering of the other layers below), I don't believe there is a more straightforward workflow.

  • How to create a dynamic form with bind variables :schema & :table_name

    My application has two LOV's, one to select a schema, and the next to select a table within that schema. I then have a button which passes me to a report which displays the data in that table.schema.
    I now want to create a link to a form where I can edit the record based on the rowid of that table.schema, but it doesn't appear that I can create a dynamic form where I pass the schema.table_name and rowid. Is this possible? Can anyone advise how I can do this? The form builder only wants a fixed schema/table name.
    Thanks in advance.
    Stuart.

    Hi Stuart,
    In this sort of situation, you will need to be a bit creative.
    I would suggest a pipeline function called as if it was a report.
    Then you can pipe out the required fields.
    Since you will have a variable number of fields, you could use two of the multi row field names for your field names and values.
    Then after submit, you can create your own procedure to loop through the fields (stored for you in the Apex package) and update the table as required.
    Not very specific I'm afraid, but it should work.
    Regards
    Michael

  • When clicking links from Thunderbird, Firefox creates a new link with no data, I have to click again to create a new link with the correct url

    When I click a link in thunderbird and also on firefox it creates a new tab with nothing in it, a blank web page. If I click the link again it creates a new tab with the link. If i click it again, a blank tab, click it again,new tab with the correct info. It seems to work only on the even numbered clicks not the odd ones.

    If you delete all the Adobe Reader stuff it will probably fix this. For almost everything, the Apple pdf handling works better.

Maybe you are looking for