Get current URL

how can I get the url of my flash.swf file from action script
i.e. this.getUrl();

Hi,
This will give u the current application url
try {
WDDeployableObjectPart part = wdThis.wdGetAPI().getComponent().getApplication().getDeployableObjectPart();
String appPath =WDURLGenerator.getApplicationURL(part);
wdComponentAPI.getMessageManager().reportSuccess("AppPath"+appPath);
} catch (WDURLException e1) {
wdComponentAPI.getMessageManager().reportException("Exception:"+e1,true);
In your case when u need the URL of another application
String depObjectName =
wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
WDDeployableObjectPart depObjectpart =
WDDeployableObject.getDeployableObjectPart(
depObjectName,
"<application name u want to navigate to>",
WDDeployableObjectPartType.APPLICATION);
String a = WDURLGenerator.getApplicationURL(depObjectPart) ;
Fire exit plug with this String a as the argument.
Regards,
Vijayakhanna Raman

Similar Messages

  • How to get current URL from Internet Explorer ?

    Hi,
    I have design an add-on for IE and I'm
    trying to get URL from IE which is currently opened that is which is currently user sees. Is there any way to get it? I want to store that address in label and use it for something useful. Is it possible with C# ?
    I have did the following code to get current URL but it showing last opened URL instead of current URL which is user see
    using SHDocVw;
           SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindows();
                         string filename;
                         foreach (SHDocVw.InternetExplorer ie in shellWindows)
                             filename = Path.GetFileNameWithoutExtension(ie.FullName).ToLower();
                             if (filename.Equals("iexplore"))
                               label1.Text=ie.LocationURL;
                               label1.Text = ie.LocationName;
    and I have tried this one also 
    foreach (InternetExplorer ie innew ShellWindows())
       label1.Text = ie.LocationURL.ToString();
       label2.Text = ie.LocationName.ToString();
    Please give me any suggestion or code to solve this problem.
    Thanks.
    Priyanka

    You already got addon running in the active ie instance. You just need to catch the WindowStateChanged event in every instance so you can write down the last event with OLECMDIDF_WINDOWSTATE_USERVISIBLE somewhere. When you need the active IE instance, just
    pull from your save.
    Note an IE tab may crash and take your addon with it. It is better to start a broker process to store your global data.
    Visual C++ MVP

  • Get current URL no matter who is the user

    Hi
    I'm creating a custom passord page using a Form based on procedure.
    How can I get current URL no matter who is the user ?
    I read previous message where it was recommneded to use WWPOB_PAGE$. Unfortunately, that table show the object compile under PORTAL30 user. We use another user to create or manage our pages.
    Any idea ?
    Thank
    Regis Levesque

    that's usually the root user - follow the instructions here to disable it. The same steps apply in Mavericks.
    OS X Mountain Lion: Enable and disable the root user

  • Get current URL of IE

    Hi everyone,
    How can I get the URL of the current page ?
    Thanks a lot.

    Hi David,
    JavaScript <i>window.location.href</i> returns the url of the current page.
    Best regards, Maksim Rashchynski.

  • URG: How can i get current URL in PL/SQL?

    Hello,
    i need to get the URL of a page in order to read the parameters i pass from a page to another page.
    The owa_util.get_cgi_env('QUERY_STRING'); function doesn't work properly, so i'd like to know if there is a standard portal pl/sql function that return the current URL.
    In particular i know the wwpro_api_parameters package, but i have some pages without any portlets inside.
    For example:
    if a URL has these parameters: http://.......?empno=10&deptno=20
    can i use the "get_value" function in a custom procedure?
    l_value :=wwpro_api_parameters.get_value
    ('empno','p_reference_path');
    Does anybody know how to do that? and what do i have to put in the p_reference_path?
    Thanks in advance
    Ettore
    null

    Hi Ettore,
    Have a look at this thread: http://technet.oracle.com:89/ubb/Forum66/HTML/000956.html
    Regards,
    Peter

  • Get current URL from PL/SQL Package in Portal

    Hello, anyone knows the magic code to get the URL of current Web page from a package running from inside the same page?
    Thx

    You can use the page_url field of the portlet runtime record.

  • PLSQL api to get current URL

    I am looking for a PLSQL API to return the URL Of the currently displayed page ie an equivalent to the JPDK call to PortletRenderRequest.getPageURL().
    Thanks
    null

    Hi David,
    The portlet_runtime_record passed to the show procedure in the portlet package (called p_portlet_record in the PDK examples) has a field page_url, that contains the URL of the page.
    Regards,
    Peter

  • Can't get current URL in IE7 !!!

    For some reason,
    ExternalInterface.call("window.location.href.toString") to get the
    URLof the current active page doesn't work under Internet Explorer
    7. (Adding an id doesn't seam to do the trick... although i am not
    sure what value to give to this id) See code ...
    I created a simple swf file with a simple actionscript on the
    first frame to demonstrate the problem. Using the html code i also
    paste below, you can reproduce in less than 1 min.
    Thanks for any help !

    PiBGb3Igc29tZSByZWFzb24sIEV4dGVybmFsSW50ZXJmYWNlLmNhbGwoIndpbmRvdy5sb2NhdGlv
    bi5ocmVmLnRvU3RyaW5nIikgdG8gZ2V0IA0KPiB0aGUgVVJMb2YgdGhlIGN1cnJlbnQgYWN0aXZl
    IHBhZ2UgZG9lc24ndCB3b3JrIHVuZGVyIEludGVybmV0IEV4cGxvcmVyIDcuIA0KPiAoQWRkaW5n
    IGFuIGlkIGRvZXNuJ3Qgc2VhbSB0byBkbyB0aGUgdHJpY2suLi4gYWx0aG91Z2ggaSBhbSBub3Qg
    c3VyZSB3aGF0IHZhbHVlIA0KPiB0byBnaXZlIHRvIHRoaXMgaWQpIFNlZSBjb2RlIC4uLg0KDQpV
    c2UgYW5vdGhlciBjb25zdHJ1Y3Rpb246DQoNCnVybD1FeHRlcm5hbEludGVyZmFjZS5jYWxsKCJn
    ZXRVcmwiKQ0KDQpJbiBKUzoNCg0KZnVuY3Rpb24gZ2V0VXJsKCkNCiAgICB7DQogICAgcmV0dXJu
    IHdpbmRvdy5sb2NhdGlvbjsNCiAgICB9DQoNCkl0IHNob3VsZCB3b3JrIGV2ZXJ5d2hlcmUuDQoN
    CkJ5IHRoZSB3YXk6IGNhbid0IHlvdSB1c2UgbG9hZGVySW5mby51cmwgdG8gZGV0ZWN0IGN1cnJl
    bnQgVVJMID8=

  • Get the url address of current form

    Hi,
    Any one knows how to get the url address of the current form ?
    Thanks.
    Ivan

    You can probably use Java Script at in the html which starts the form then pass the value into the form using a user define Form's parameter.

  • WebUtil getting the URL of the current form

    Hi after reading through the documentation on WebUtil I am not sure whether the utility will allow you to get the URL that is in the browser that the user is using to display the Oracle Form that it is running from. I need this as I have to issue web.show_document commands based on the users URL and need to know the URL to figure out which server they have come from in order to issue a web.show_document command with a URL that the user will be able to read. Does anyone know if this is possible or other ways of achieving the same result
    Also has anyone got an unsupported version of WebUtil for Forms 6i as I am currently on AIX 4.3.3 and need to get our Unix teams to upgrade to AIX 5 before I can even start to think about Forms9i/10g and Oracle 9i/10g
    regards,
    [email protected]

    Mark,
    wweb.show_document() can take relative Web addresses too, which means that automatically the server that the Forms was downloaded from will be referref by the URL. Assuming
    http://myserv1:9999/forms90/f90servlet...
    is the address you started Forms Services on,
    web.show_document('/mydir/mytest.html','_blank');
    requets for a URL
    http://myserv1:9999/mydir/mytest.html
    So in fact you don't need to know of the URL.
    WebUtil does not provide this functionality, but it would be easy to add. So let me know if my suggestion using web.show_document() doesn't work as you want it and I'll add this as an ER for WebUtil.
    Fran

  • This is showing up on videos I try to view. I have latest update. It is a box that displays over video that says, get video URL, get embed code, etc. how do I correct it?

    A Box has just started showing up that has the following.
    get video url
    get video URL at current time
    Get embed code
    report playback issue
    get debug info
    stats for nerds
    about the HTML.5 player
    this is on every video on face book. How to fix?

    I had the same issue.
    I had a youtube downloader app that had a plug-in installed on my Home Safari. I deleted that app. and the plugin. Not sure if that was the culprit, but I figured I'd try.Thought maybe some bug crossed over when syncing the two safaris.
    Anyway, I ended up unlinking my Mobile Safari to my Home Safari (iPad; iCloud/Safari/OFF)
    A prompt will come up asking what you want to do with previously synced data: Delete from My iPad (don't worry, you'll get it back)
    Your bookmarks should disappear.
    Reset HOME Safari : Safari/Reset Safari (everything checkmarked)
    Turn ON the Mobile Safari again (if you want to relink to the Home version) or keep off (and rebuild it from scratch on iPad alone)
    Personally, I turned it on, got my bookmarks back then turned it off and pressed Keep on my iPad.
    Now the two aren't linked and I have the bulk of my bookmarks back.
    There might be variations of this solution so play around with the process and be sure to refresh your Mobile Safari browser on a video clip to see if it takes.

  • How to get the url of the document in quick parts?

    I have document library in which there is one content type with the document template uploaded. In the footer of the document, I want to show the URL of the document which is opened in word application.
    Is there any way to get the URL? I am not able to see the field in Quick Parts while configuring footer of document template.

    Alexdu_,
    You can create a single line text site column in that content type to hold URL information.
    Create a SPD workflow to populate URL field using update field of current list.
    This custom column will be available as Quick part in word.
    This could be an alternate approach as URL is not available as quick part field.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Q: How to retrieve the current URL with PL/SQL

    I've got a pair of dynamic page portlets on a page. The first is simply an input text box and a submit button, the second is an inventory 'report' based on what is entered in the text box. When a value is entered and the button pressed, there is javascript behind the button that takes the current URL, adds '&ITEM=XXXXXXXX' (removing it first if this is not the first invocation of the page), and redirects to the new page.
    The second portlet uses the &ITEM parm to list a bill of materials for the item. If one of the items possesses a sub-assembly, I want to display the item# in an <a href= manner to make it so the user can simply click on the link to see the BOM of the subassembly.
    To do this, I believe I need to capture the current url and modify it as required to pass the new &ITEM value. I'm having a lot of trouble trying to figure out how to get the current page url. Any help would be greatly appreciated!
    Geoff

    Hello
    I have a similar problem I have developed a pl/sql portlet and put it into a page, this portlets display a dynamic page. This dynamic page have a search functionality, what I am trying to do is that when I click the search button on the dynamic page it recall the whole page and pass the paremeter that the user wrote on the search box, then the portlet that contains the dynamic page recieve the parameter and recall the dynamic page with the parameter that was received. The problem that I have is that the portlet receive the parameter but when I pass the parameter to the dynamic page it doesn't get it. This is the way the I am calling the dynamic page inside my portlet into the show procedure:
    EXECUTE IMMEDIATE
    'begin
    APP_NAME.PG_DYN_DIR_ALFABETICO.show (
    p_arg_names => PORTAL30.wwv_standard_util.string_to_table2(''url_page'',''search_param''),
    p_arg_values => PORTAL30.wwv_standard_util.string_to_table2(:1,:2));
    end;'
    using url_pg,p_text1;
    The dynamic page receive the first parameter(url_page) but not the second one(p_text1), I have checked that the p_text1 has a value on my portlet before I send it to the dynamic page so I really don't understand why my dynamic page doesn't work.
    Please HELP ME. I am desperate
    Ana Lasprilla

  • Open/get an URL in/from Internet Explorer?

    Just wondering if anyone had any ideas on how to pass a URL (eg."http://www.ibm.com") to Internet Explorer (or Netscape...)
    Or also the otherway round - is it possible to get hold of the current URL in Internet Explorer. Say i was surfing the net and was on ibm.com could i suck this info out of IE from a java prorgam.
    Oly

    Basically, no you can't do this. However, if you've really got to, search the web for JSObject, which provides a link to javascript

  • How to get current assigned participant id?

    Hi mates,
    This might be a basic questions, but useful for me :)
    How to get current assigned participant id from screenflow? Or How to pass it as an argument from interactive activity?
    Below is what I tried.
    Participant.id or Instance.participant.id - returns login user id
    Thanks

    Hi,
    Please correct me if I understood wrong.
    You want to know whether an instance is assigned or not and if assigned then you want to fetch the assigned participant id.
    If this is your requirement then please find the code below and make the necessary changes into it.
    Write the following code in screen flow automatic activity but before that you need to pass the instanceid as argument to the screen flow.
    In the process as well as screen flow layer make an instance variable instanceid as Int.
    Then make an argument variable instanceidArg as Int in both the screenflow and process layer and map accordingly so that it will take the instanceid from process layer to the screen flow layer.
    Assign instanceid = id.number; in process layer automatic activity but before the global interactive activity where you have maped the screen flow.
    Write the following code in screen flow automatic activity.
    logMessage("============= instanceid ==============" + instanceid); //instanceid is the id of the instance that you have passed from process layer.
    ProcessService ps;
    InstanceFilter instF = InstanceFilter();
    ps.connectTo(url : Fuego.Server.directoryURL, user : "<userid>", password : "<password>"); //In studio the userid and password will be same
    logMessage("Connected");
    instF.create(processService : ps);
    instF.searchScope = SearchScope(participantScope : ParticipantScope.ALL, statusScope : StatusScope.ONLY_INPROCESS);
    //<ProessId Name> is the id of the process where you want to know the assighed participant id
    instF.addAttributeTo(variable : VarDefinition.processid, comparator : Comparison.CONTAINS, value : "/" + "<ProessId>");
    instF.addAttributeTo(variable : VarDefinition.INSTANCE_NUMBER, comparator : Comparison.IS, value : Int(instanceid));
    Fuego.Papi.Instance[] instances = getInstancesByFilter(ps, filter : instF);
    foreach (instance in instances) {
    logMessage("Assigned ?: " + instance.participantId.empty);
    logMessage("instance.participantId: " + instance.participantId);
    ps.disconnectFrom();
    Bibhu

Maybe you are looking for

  • ORA-00490 error when opening database

    I am having a problem starting up my database. It had been running without problems for a long time, but it crashed recently, and now every time I attempt to restart it I get 'ORA-00490: PSP process terminated with error.' Here is the info from the a

  • HPSM web services

    Hi, I'm trying to use HPSM web service , so i tried to test the wsdl file in soap ui tool. I got an error like 'socket closed'. Is HPSM trial version 9.32 supports web service? Can any one help on this??

  • I saved my aiff files to ext. storage.  Now how can I retrieve them and convert them to mp3 or wav files?

    I was trying to free up space on my internal storage, so when I created files in Garage Band, I thought it would be a great idea to store them in my external hard drive.  However, I now wanted to retrieve my files and burn them to a cd.  When I dragg

  • Date query to display in column

    Hi, I have a query which will list down the date for a year as below: Query: SELECT     TO_DATE ('01/01/2009','mm/dd/yyyy') + LEVEL - 1     AS dt FROM     dual CONNECT BY LEVEL <=      1 +     TO_DATE ('12/31/2009','mm/dd/yyyy')      -     TO_DATE ('

  • HDCP error on Samsung LE32R72B

    Hi , I've read about the HDCP error on this community. I have the same problem... Now, when I plug my digibox on my Samsung LE 32R72B, I have almost the same problem ! There is no signal... So I was wondering if it is maybe my HDMI cable, or my TV ?