Related Links with permissions

Hello Portal friends,
I am trying to create the following scenario:
In first level navigation I have an area called "Process" and within on second level navigation there is a folder called "Logistics". Both are worksets. In the Logistics workset there is just a one BSP-Page to go through our B2B purchasing process.
so the structure is
workset Process --> workset Logistics --> page B2B-Purchasing
within this page I want to have a related link to a report "B2B Purchasing report".
This report is also in the portal
workset Reporting --> workset Logistics --> page B2B Purchasing report
My questions is the following:
(How) can I put a related link (or something similar) on my B2B-Purchasing page so that I can open the B2B Purchasing report directly without navigating through the whole portal.
It also would be necessary to only provide this link for users that are permitted to see the B2B Purchasing report
is that possible and how is it done?
regards, Alex

Hi Alexander,
Follow this link to implement Quicklink.
http://help.sap.com/saphelp_nw70/helpdata/en/97/b0ef8b24a64ae884f0ab246e54cae5/frameset.htm
Hope this helps.Award points if found helpful.
Regards,
Gourav.

Similar Messages

  • Preview seems having problem with relative link with PDF documents

    Hello,
    I have a PDF file which I've added relative hyperlinks to it (to an html file). I did it with Adobe Acrobat 7.0 (for Windows). I have a link which is a custom action: Open a web link. The link is defined as "../presentation/referencesechelon8.html". I need relative link because the entire web site can be deployed on a DVD instead of on a Web server.
    On Windows with Firefox or IE everything is working flawlessly. On the Mac side, it's working with Safari since it's using Adobe Reader to read the PDF. However, with other browsers using Mac built-in PDF viewer, Preview 3, it is not working at all. In the pdf document Preview 3 is unable to reconstruct the original url from the relative link. Instead it points to http://../presentation/referencesechelon8.html which is not correct.
    Does anyone have an idea? I've googled a lot and did not find anything. My next try will be to use a Javascript to reconstruct the url.
    Thank you in advance!
    Macbook 13"   Mac OS X (10.4.9)   2 Go RAM

    Hello,
    I have a PDF file which I've added relative hyperlinks to it (to an html file). I did it with Adobe Acrobat 7.0 (for Windows). I have a link which is a custom action: Open a web link. The link is defined as "../presentation/referencesechelon8.html". I need relative link because the entire web site can be deployed on a DVD instead of on a Web server.
    On Windows with Firefox or IE everything is working flawlessly. On the Mac side, it's working with Safari since it's using Adobe Reader to read the PDF. However, with other browsers using Mac built-in PDF viewer, Preview 3, it is not working at all. In the pdf document Preview 3 is unable to reconstruct the original url from the relative link. Instead it points to http://../presentation/referencesechelon8.html which is not correct.
    Does anyone have an idea? I've googled a lot and did not find anything. My next try will be to use a Javascript to reconstruct the url.
    Thank you in advance!
    Macbook 13"   Mac OS X (10.4.9)   2 Go RAM

  • Link with EKKO and BSIK

    Dear All
    can you tell me the relation link with
    BSIK table and EKKO table.
    note that purchase order no (EBELN) not often stored
    in BSIK table
    actual i need the payment terms as per PO and need to create the report of creditor aging so please any buddy can help me?

    Hi
    Well if you want to know the relation ship between two tables
    1. Execute SQVI
    2. Enter name  and press CREATE
    3.Enter Title and in Data Source select TABLE JOIN.and enter
    4.Press Shift + F1 ans enter the table name.
    continue the step 4 and enter the table names for which you want to know the relation ship.
    EKKO-BUKRS -------- BSIK-BUKRS
    EKKO-LIFNR----------- BSIK-LIFNR
    EKKO-AEDAT--------- BSIK-AUGDT
    EKKO-EBELN--------- BSIK-EBELN
    I hope this will help you
    Regards
    Pavan

  • Issues with using relative links in Captivate 8

    Is anyone else having issues with using relative links in Captivate 8?  These links all used to work in the previous version of Captivate. And I could have sworn this was fixed already once in Captivate 8 but it's popping up again for us. Here is the situation... We have courses that are made up of multiple lessons which as separate Captivate files. Within those lessons are buttons to link to external documents (which live in a shared document folder), demonstrations, etc.  We use relative links because we post these to our amazon servers and we also sell them to clients where they can post them on their own web servers or in their LMS.  SO we can't put in full paths for the links or we'd have to change them constantly.  So an example is that the link for a button might be "../Document/nameofdoc.pdf"  This would be going to a user guide or something that is posted in the "Document" folder that lives at the same level as the lesson's folder. But now, all of the sudden, none of our bazillion links is working. And I've tried buttons, hyperlinks, and even the old click box. Nothing works with relative links. And I did check the permissions on every file and folder on our Amazon server to verify nothing changed there as well.   Any suggestions?

    I have the same issue with relative links using Captivate 8.  I am trying to load Captivate modules into an LMS using relative links to document files within the LMS.  The links work fine during a site page test so not an issue in the LMS, but from the Captivate module they aren't working....
    Help?

  • Tab region's with relative links?

    At the moment our tabs are being generated with absolute URL's and this is no good since the link uses our internal domain name that is inaccessable to the internet. Is there anyway to make them relative links?
    We have 2 domain names, portal keeps prefixing URL's with the internal one. This is very annoying since we want some users to access the site via the internal domain name and others to use the external one (via reverse proxy). We have been able to work around this for everything except tabs, the only solution I can think of is to use some wacky javascript that modifies the generated hrefs, but I really don't want to do that. Any suggestions would be greatly appreciated. We are using portal 9.0.4.1.

    Thanks for that, but it's of no use to us. For instance:
    http://externaldomain.com/pls/portal/url/page/PAGE_GROUP/OUR_PAGE?p_id=4
    Will be redirected by portal to this:
    http://internaldomain.com:7777/portal/page?_pageid=53,679823&_dad=portal&_schema=PORTAL&p_id=4
    So external users can not access the page like this.
    I've had to add some javascript to the UI template for portal pages that use tabs as a work around. If anyone can come up with a better solution, please let me know. Here is my work around in case you're interested...
    <script>
    function correctURLs(){
         var arrURL = window.document.URL.toString().split("/p");
         var thisDomain = arrURL[0];
         var falseDomain = "http://internaldomain.com:7777";
         if (thisDomain == "http://externaldomain.com") {     
              for (var i = 0; i < document.getElementsByTagName("A").length; i++ ) {
                   document.getElementsByTagName("A").item(i).href = document.getElementsByTagName("A").item(i).href.replace(falseDomain,thisDomain);
    </script>
    <body onload="correctURLs()">

  • Related Link doesnt work with Multiple Helpsets

    Robohelpx4.1 is used as the authering tool to generate our help files in OHW format. We have different projects creating one helpset file each and it is merged in the ohwconfig.xml. Each helpset has its own link,map,index,Toc files created by robohelp. The link file created by robohelp has the linkitem id created in seq order and names as Link01,Link02,Link03..... .
    The link file of other helpset also has the same structure and ids. (The linkitem id's are not unique across the helpsets)
    But the related link doesnt work properly when more than one helpset is configured, for both the options of combined book and separate books. Links get mixed up and shows topics of other links.
    Is there anyway this can work ?

    Link Problem with Multiple Helpsets

  • Creating Bookmarks with Relative Links

    Can anyone suggest a plugin, or post examples of code to create a bookmark in Acrobat programmatically.  And have the bookmark work with RELATIVE links.  Meaning if you have a bookmark for page 15, and you insert 5 pages at the begining of the document, that bookmark would move to page 20.  When you create the bookmark with a javascript "go to page", script...  when you insert the pages, your bookmark would still point to page 15, the wrong page.
    Any suggestions, hints, web sites to look at, all appreciated.  Thanks.

    "Is that what you meant?"
    Yes. You can download the VBA example or I can state it as VBScript.
    "Sendkey" may be a problem but you can add some error-traping.
    The same you can archieve with "Menuitemexecute", but you have only one problem more.
    You have to check the registry (if it is free for use) and finaly you have to send the key {enter} to close the action.
    As I said I work with mbtPdfasm for setting bookmarks in a batch. It's much more simple and I can give it to co-worker.
    The other acobat based method without using JS or writing a plugin is to use pdfmark.
    You have to produce a ps-file with the commands to set up the bookmarks, then you have to send it to the Distiller.
    After writing that PDF with bookmarks and necessary blank pages you can replace that with the real pages.
    That sounds not only cumbersome. It is - but it works.
    So for me mbtPdfAsm is the solution for reading/writing simple bookmarks.
    best regards, Reinhard

  • Remote and testing server don't see root relative links the same

    My site works fine on my testing server (Apache, MYSQL,
    PHP). I use root relative links in a library
    file (include file) so that it will work with all pages. For the testing server these links look like this:
    /my_sites_root_folder/aaa/bbb/ccc etc.
    If I use these same links on the remote server they won't work. To get hem to work I have to change all these links to the form
    /aaa/bbb/ccc etc.
    When dreamweaver uploads files to the remote server, the site name folder  (my_sites_root_folder) doesn't go along for the ride--just the files in it. So on the remote all the site files are stored in htdocs. On my testing server, the files are stored in htdocs/my_site_root_folder.
    I think it must have something to do with the way I'm setting up the remote and testing servers, but I'm read a hundred pages of instructions without being able to figure it out. I think I'm just seeing something wrong, but I've already spent days on this. Can someone please point me in the right direction?
    I'm using DWCS5. Internet explorer 8, Windows 7.

    Thank you for your prompt response. I'm afraid I'm still totally puzzled here. It sounds like you're very knowledeable about your comments, but I would like to know more. I accept that using the local site root in links would be bad, but I'm not clear WHY. Structuring the links as I have doesn't cause any links to break. I've structured them this way because it's the only way I can find that everything works. But I still do not understand WHY I have to do it. Using different libary include files doesn't seem like a good way to go, though
    You suggest that if I use any root relative links at all, I need to use vitual hosts. I'm not finding any good coverage of what these are, and especially why they are necessary. If this is the case, does that imply that templates (which use root relative links) also will not work on the test server (at least without vitual hosts)? The conclusion I'm coming up with, given your remarks, is "Dreamweaver doesn't work with root relevant links when you're trying to test a site with a test server." Is this right?

  • Site-relative links fail on local testing server

    Using CS4/WAMP/XP, I have a testing server set up. All works well except that when I specify site-relative links, on the testing server they go back to localhost, not localhost/Frances. They work fine on the live site, but not on my testing server.
    This prevents me from using (well, testing) 'include' files for things like menus when parts of the site are in different folders.
    I have my site setup as follows:
    Local Info
    Site name "FFG2009"
    Local root folder C:\wamp\www\Frances\
    Default images folder C:\wamp\www\Frances\images\
    HTTP Address: http://localhost/Frances/
    Testing Server
    Server model: PHP/MySQL
    Access: Local/Network
    Testing Server Folder: C:\wamp\www\Frances testing\
    URL Prefix: http://localhost/Frances/
    In my Apache config file I have a virtual directory set up like this
    Alias /Frances/ "c:/wamp/www/Frances/"
    <Directory "c:/wamp/www/Frances/">
        options all +includes
        AllowOverride all
        Order allow,deny
        Allow from 127.0.0.1
    </Directory>
    I have been advised that I could temporarily change the Apache webroot folder to my "Frances" folder, but that stops other things like PHPMyAdmin from working. Also I have other sites within my www directory and I'd rather not have to change the Apache rootweb directory every time I need to work on a different site.
    Is there a way to set up my site in CS4 so that site root links go to localhost/Frances rather than just localhost?
    Thanks
    Tone'z

    Many thanks Mark.
    I fact I spent all yesterday coming to the same solution. Finally at around 12:30am this morning it worked!
    Early in the day I found the same reference you mentioned in an on-line copy of David Power's book where he exactly described the very problem I had - and with the VH solution.
    However, I had a problem with an obscure syntax error in the virtual hosts include file. I still don't know what it was. The flag to perform a syntax check on HTTPD startup didn't discover it. The problem actually prevented the Apache service from starting at all but that little point escaped me for a long time because the WAMP system tray icon is so small I didn't spot that it was telling me "some services are running" (half yellow) instead of "all services are running" (white).
    It wasn't until I ran (in desperation!) Apache Monitor that it became obvious that Apache was tripping over this virtual host definition and failing to start.
    It also seems that if you have any virtual host directive in an include file, then it negates the localhost directive in the Apache config file. So when I define the Frances virtual host, I also need to have localhost defined in the include file.
    It was this localhost directive that was causing the problem. I found it by having Apache Monitor running so I can see the true state of the Apache service and, after pointing the config file 'include' directive to a vhosts file...
    empty the vhosts file - Apache starts - 'localhost' works, frances doesn't - makes sense.
    add the frances virtualhost definition to the vhosts file - Apache starts -  'frances' goes to the frances site, 'localhost' does too (dam')
    add the localhost virtualhost definition to the vhosts file - Apache fails to start - "IE cannot display this page"
    pull out the localhost definition - Apache starts... hmmmm... .
    find an example localhost definition from somewhere else - to all intents and purposes identical to mine - add it in - Apache starts!
    Both localhost and frances now work! Maybe there was a space where no space should be - I don't know.
    Of course I also had to add entries into windows/system32/drivers/etc/hosts to point to 127.0.0.1.
    Oh yes, virtualhosts are fussy about folder names. You cannot have spaces in a folder name.
    Thanks
    Tone'z

  • How to make site root-relative links work in DW and Server both?

    See details on buggy DW image link behavior, below. My question is:
    1) how to make site root-relative links work in DW and Server both? Or…
    2) how to reliably automate the change of several hundred legacy root-relative links of the form
    /images/image.jpg  to document-relative?
    That is, to
    ../images/image.jpg or
    ../../images/image.jpg or
    ../../../images/image.jpg etc…depending on where the directory is.
    The old format (/images/image.jpg ) used to work fine in my previous DW 8 configuration but appear grey in DW after “upgrading” to DW cs5.5 mac. (they look fine on the server, but it’s hard to edit image-heavy pages locally when they are all grey).
    I tried changing the files to how DW creates root relative links now:
    /public_html/images/image.jpg, which is a very easy, attractive root flow since there’s a one-to-one mapping. These look great in DW but are broken on the server!
    I looked at the “advanced” site setup, and it looked like it might be possible to nuke the /public_html/ part of my server info…but it also looked like there was the potential for doing damage changing these settings, which are automatically generated from our server connection settings, which seem to work.
    The “links relative to document/ site root” toggle…does that change how DW interprets existing links, or just change the default when you are adding a link?  I have made 80% of the file links document relative…before wondering if root-relative isn’t better?
    It sure seems less ambiguous for all those images if theres a way to make root relative work for DW design view, DW link check, and server.
    Summary of buggy behavior: (see test with images here)
    "old style" site root link
          /images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: broken (grey w/ broken icon)
          Link check in DW: "external link" (i.e., uncheckable, + file could appear orphaned)
          Browser: good
          Ease of switching: n/a (existing format)
    "new style" site root relative link
          /public_html/images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: good
          Link check in DW: good
          Browser: broken
          Ease of switching: easy
    Document relative link
          ../../images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: good
          Link check in DW: good
          Browser: good
          Ease of switching: hard (how to automate?)
    Absolute link
          http://www.oasisdesign.net/images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: broken (grey w/ broken icon)
          Link check in DW: external (i.e., uncheckable, + file could appear orphaned)
          Browser: good
          Ease of switching: n/a...not a real option
    Thanks!
    Similar discussion on "/"

    Hello again Jon!
    Thanks for jumping on this.
    All clear and understood about where publc_html is etc.
    No contemplation of nuking the actual public_html directory on the server, just the "/public_html" text string at the start of the DW-generated links.
    "/public_html" is automatically added to the front of the link in DW if I create the link with any of the GUI tools, if I have "site root relative" selected. And ""/public_html" ends up in the code, and gets uploaded that way to the server, where it (obviously) doesn't work.
    Doesn't sound like it is supposed to work this way. Also, what seems to be the usual root relative format (/images/image.jpg) shows as a broken link in the GUI and an external link in the DW link check. All this togther makes me thinkI have some obscure setting incorrect?
    The setting that caught my eye is manage sites/ site setup/ advance settings/ local info/ web url,  which is automatically set to http://www.oasisdesign.net/public_html/
    it gives an option to change it but it makes every effort to make this NOT look like something users should mess with:
    Having gone through the more careful thought process during this post, I'm ready to do the experiment of changing the remote server web URL (why is it wrong by default?)...think I'll eat dinner first so there's 45 min to avert disaster if anyone knows this to be a bad idea!
    Art
    PS--don't  have a local testing server...don't think this will solve the GUI broken link/ link shows as external problems.
    Is there an easy, automated way to change links sitewide from document to root relative?

  • How to remove bullets and spacing for url links in the Related Links iview?

    I tried to look for a property that I can edit the look-n-feel of the url links in the Related Link iView using "Theme Editor".
    All I need is to remove the bullets and increase some vertical spacing between the links.
    Currently, it looks like this:
    URL iView A
    URL Iview B
    I go through the whole section of Related Links properties, none of them seems to do what I want.
    Here are the list of properties in Related Link section (of Navigation Panel):
    Link Color
    Text Decoration of Link
    Hover Color
    Text Decoration of Hovered Link
    Initially, I thought "Text Decoration of Link" should be the right property I should look at. But there are a drop-down with 5 options: None, Underline, Blinking, Overline and Line-Through, which really can't achieve what I want.
    Thanks for advice.
    Kent
    Post with Diagram Illustration:
    <a href="http://sapnetweaverforum.blogspot.com/2006/11/how-to-remove-bullets-and-spacing-for.html">How to remove bullets and spacing for url links in the Related Links iview?</a>
    Message was edited by: Kent C.

    Hi, Kai.
    I checked the Related iView properties (URL Template), I don't see what layoutset it is really using. I am not sure, is that a layout set apply to the Related Link Iview?
    For the regular KM iView, I will see what Layout Set I want to apply, then I can go and change the properties (of layout coontroller, collection renderer & resource renderer)you mentioned. But for this Related Link iView, I really don't know. I guess it may be in the code itself.
    If there is a layout set for Related Link iView (or the place to apply layout set to it), can you point to me which one is that? (I did a search through the layout set names, I only find the AppQuicklinkExplorer (I used this for Dynamic Nav. Link iView before), if I can aply this layout set to Related Link iView, my problem will be solved.)
    Thanks for help.
    Kent

  • Moving a SWF containing relative Links no longer work

    Hi
    I've come to the experts.
    I created a Flash Catalyst Project that contains external URL links. I actual want them to be internal relative links.
    I've followed the process of using to Flash Builder to edit the Main.mxml file to change to a relative path.
    I hit the Project/Export Release Build...
    I open the SWF file in Flash Player from with in the 'bin-release' folder and it all works great. However when I move the swf file to another folder that actually contains what would be the same relative path to the files I want to link it no longer works.
    If I look at the content of the swf file in a third party editor/viewer app the relative path is correct.
    I'm probably missing something very fundamental but just can't 'click' to it, pun intended.
    Thanks for your assitance
    David

    Hi Bear
    Thanks for your help.
    I've referred to both the references your below. Both were useful but still the issue remains.
    When I relocate the swf file with all the associated src files it doesn't work
    As a further test I pointed the 'Project Export Release Build' from Flash Builder to the actual folder I wanted the swf file in and again it didn't work
    If however I point the 'Project Export Release Build' to //documents/Adobe Flash Builder 4/bin-release  it does work
    Any thoughts would be greatly appreciated.

  • My Relative links no longer work in Captivate 7

    My Relative links no longer work in Captivate 7. They worked in the 5.5 versions of the exact same lessons. But they do not work after saving and re-publishing in Captivate 7. What's up with that? Any suggestions?
    Just found out from Adobe it's a reported bug that is not yet resolved...
    Bug Number : 3603218

    This is typically an issue of setting the web preference in the WINDOWS preferred programs. In Win7 this is accessed from Control Panel>Default Programs>Set Program Access...>Custom. Maybe these options will give you an idea of the problem.

  • How to display download link with get_blob or get_blob_file_src ?

    Hello there,
    I am struggling to display a download link in a SQL query report.
    Based on the requirement, I have to create a sql query report that the source contains a series of union select query.
    Example here
    WITH current_engagement AS (
    SELECT defendant_id, engagement_id, pn, ethnicity, date_joined_aodt_court, case_manager_name
    , participation_conditions, discharge_conditions
    FROM engagement
    WHERE defendant_id = :PXX_DEF
    AND date_joined IS NOT NULL
    AND ( date_terminated IS NULL OR to_date(date_joined,'DD/MM/YYYY') > to_date(sysdate,'DD/MM/YYYY'))
    AND active = 1 AND ROWNUM = 1
    ORDER BY defendant_id DESC
    SELECT def.first_name, def.middle_name, def.surname, to_char(def.pn) AS "PN", to_char(def.nhi_number) AS "NHI"
    ,ce.ethnicity, to_char(ce.date_joined) as "DATE_JOINED ", ce.case_manager_name, ce.participation_conditions, ce.discharge_conditions
    FROM defendant def INNER JOIN current_engagement ce
    ON def.def_id = ce.defendant_id
    UNION ALL
    select ' <b>2. Phase Number</b>' , '<b>Date Started</b>' , '<b>Date Finised</b>' , '<b>Notes</b>' , null
    ,null , null , null , null , null
    from dual
    UNION ALL
    SELECT TO_CHAR(NVL(ph.phase_number,'No Phase Found')), TO_CHAR(ph.date_started, 'DD/MM/YYYY'), TO_CHAR(ph.date_finished, 'DD/MM/YYYY'), ph.notes, null
    , null , null , null , null , null
    FROM phase_membership ph INNER JOIN current_engagement ce
    ON ph.mpm_eng_id = ce.engagement_id
    WHERE to_date(ph.date_started,'DD/MM/YYYY') <= TO_DATE(sysdate,'DD/MM/YYYY')
    AND ( ph.date_finished IS NULL
    OR TO_DATE(ph.date_finished, 'DD/MM/YYYY') >= TO_DATE(sysdate,'DD/MM/YYYY') )
    AND ph.active = 1
    UNION ALL
    --more selects
    -- then the last select is to list all related documents with download links
    select '<b>6. Document Date</b>' , '<b>Document Type</b>' , '<b>Description</b>' , '<b>Download</b>'
    , null ,null , null , null , null , null
    from dual
    UNION ALL
    SELECT TO_CHAR(doc.date_received), doc.document_type, doc.comments, TO_CHAR(dbms_lob.getlength(doc.UPLOADED_FILE))
    , null ,null , null , null , null , null
    FROM document doc INNER JOIN current_engagement ce
    ON doc.d_eng_id = ce.engagement_id
    WHERE doc.active = 1
    This report is generated fine.
    But the requirement also ask to display a download link. And because it is union selects, all following selects must be the same as the first select column data types.
    In this case, it has to be CHAR. Otherwise, it will generate error as below
    ORA-01790: expression must have same datatype as corresponding expression
    So I follow the GET_BLOB_FILE_SRC Function step from
    http://docs.oracle.com/cd/E14373_01/apirefs.32/e13369/apex_util.htm#AEAPI129
    I turn my last select into
    SELECT TO_CHAR(doc.date_received), doc.document_type, doc.comments,
    CASE WHEN NVL(dbms_lob.getlength(doc.UPLOADED_FILE),0) = 0
    THEN NULL
    ELSE
    'Download'
    END
    , null ,null , null , null , null , null
    FROM document doc INNER JOIN current_engagement ce
    ON doc.d_eng_id = ce.engagement_id
    WHERE doc.active = 1
    Which the result inside the hreg is
    http://app_address_here/f?p=208:48:1303335952329758:::::
    while if I use Interactive report the link is
    http://app_address_here/apex_util.get_blob?s=1303335952329758&a=208&c=66645817090447568&p=48&k1=12&k2=&ck=A18D20D407435BD649EA3399EC27BC00&rt=CR
    and it works well.
    I do a research and know that get_blob_file_source link to the source of the column / field name located in the first parameter.
    So I had put the UPLOADED_FILE column, DOCUMENT table in the source of the column PN.
    But it still does not show anything that close to the correct one that is generated by interactive report.
    If anyone has any ideas, please help. If I need to manually write using get_blob , please give me an example.
    I urgently need to do this report.
    The version of APEX we use is Application Express 4.0.2.00.07
    And I cannot ask for an upgrade to 4.2 till the end of next year.
    Please help.
    Thanks a lot in advance.
    Ann.

    Hi Ann,
    Here you can see and download the example :
    http://apex.oracle.com/pls/apex/f?p=63066:1
    Please let me know if you need access the work space.
    Hint, Please read the FAQ section. had you put your thread in a better format, you would have gotten a quicker response :)
    Regards,
    Fateh

  • Opening a pdf file in a relative link / local

    Maybe this sounds simple.
    But I get used to AS2 code to open  a pdf file like the code below:
    getURL("pdfDocuments/pdfname.pdf","_blank")
    As I search uncle Google I'm stuck to this as equivalent to getURL in AS2.
    btn.addEventListener(MouseEvent.CLICK, btnClick);
    function btnClick(e:MouseEvent):void {
              navigateToURL( new URLRequest("pdfDocuments/pdfname.pdf"), "_blank");
    But still it did'nt work.
    Before in AS2 getURL working on mailto, pdf on a relative link and a typical url's.
    But as to AS3 navigateToURL function only works on mailto and typical url.
    Any tweaks to the code above, to get it to work? will much appreciated.
    Thanks,

    There's numerous examples if you google "call javascript from actionscript".
    Here's 1 that sums it up pretty simply, just import flash.external.ExternalInterface; then use it statically via its call() method to call javascript. Then in the javascript simply do what you want.
    http://www.hardcode.nl/archives_155/article_334-call-javascript-function-from-as3-and-vice versa.htm
    e.g. ACTIONSCRIPT:
    import flash.external.ExternalInterface;  // call javascript function passing to load relative URL "pdfs/some.pdf"ExternalInterface.call("loadPDF","pdfs/some.pdf");
    e.g. HTML
    <html><head><script type="text/javascript">// <!-- // function with the called namefunction loadPDF(pdfName){     // open a new window (or tab) to the PDF requested from AS     window.open(pdfName,"_blank"); } // --></script><body> </body></html>
    Nothing really much to it.
    Here's a reference to window.open() if you want to customize the opened window:
    http://www.w3schools.com/jsref/met_win_open.asp

Maybe you are looking for

  • How can I do a backup listing of all of my bookmarks, with complete URLs to print out from a wordpressing program?

    == Issue == I have a problem with my bookmarks, cookies, history or settings == Description == How can I make a backup listing of all of my Firefox bookmarks, with complete URLs, so I can print it out from a word precessing document? Please email me

  • How to set up validations in controlling

    Hi All, I have an issue. I have set up planning for all cost elements and internal orders. While posting actual amounts greater than planned amount. The system should pop up an error messgae. How to set up validation for this issue. Regards Arun

  • Can you give some real-life use of tables in BW?

    Hi, In reading links and notes from here, I took a leap to try and understand how tables are used in the BW environment, by following: se16 RSZ* then  F4 then I Double click on: i. RSZRANGE        Selection specification for an element If execute, I

  • Supported video 5800xm?

    does anybody know which video codecs, max bitrate are supported in 5800xm? i now use mp4, 640x360, 1mbps for video and aac lc, 96kbps in stereo for audio but want to know whats the max this phone can have? Nokia Lumia 1020 + Sony Xperia Z1 Solved! Go

  • [APEX 4.0] EA2 Tree , checkbox

    I'm checking out the new APEX tree region, to be exact the checkbox tree. But how can you read values from this tree. It's values are not stored in the session it seems.