Get URL based on URLStream?

I don't know if this is possible. Here is my situation:
var urlReq:URLRequest = new URLRequest(strURL);
var urlStream:URLStream = new URLStream();
urlStream.addEventListener(Event.COMPLETE, loadedEventHandler);
urlStream.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
urlStream.load (urlReq);
when the URLStream is done loading
public function loadedEventHandler(event:Event):void
   var urlStream:URLStream = event.target as URLStream;
  //here, how can I get the original URL?

Hi Rao,
we can get Fiscal year period and quarter based on the calmonth and calweek using the field routine in transformation.
pls check below related links
Function module for deriving CALMONTH from CALWEEK
Function modules to convert Cal week in to Cal Mon,Cal Quar and Cal Year
Regards,
Malli.

Similar Messages

  • How to get SSO userid to URL-based app?

    I'm developing a web-app using Struts that will be accessed by Portal (I guess as a URL-based app). The web-app will not require login. The web-app will not be Portal "aware", except that it requires the SSO userid for auditing/logging purposes.
    I know little about Portal and SSO. How can Portal be configured to send the Portal userid of the logged-in Portal user? Can it send it as a parameter in a GET or POST?
    The version of Portal will be 9.0.2 (or greater).

    This topic is answered in the PDK forum here:
    How to get SSO userid to URL-based app?

  • Can't get version based downloads to work

    I am new to JNLP and trying to get version based downloads to work. I have read everything I can find, but I still seem to be missing something. My setup:
    Tomcat 4.1.18 (running in JDK 1.4.0)
    Java WebStart 1.2
    Win 2k
    files in .war
    -launch.jnlp
    -+1.0
    |-testapp.jar
    |-version.xml
    -+images
    |-Save.gif
    -+META-INF
    |-MANIFEST.MF
    -+WEB-INF
    |-+lib
    | |-jnlp-servlet.jar
    |-web.xmllaunch.jnlp
    TS: 2002-04-23 19:21:05
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="$$codebase" href="$$name">
       <information>
          <title>ljtest 1</title>
          <vendor>Lance</vendor>
          <description>just an example</description>
          <icon href="images/Save.gif"/>
       </information>
       <resources>
          <j2se version="1.2+"/>
          <jar href="1.0/testapp.jar" version="1.0"/>
       </resources>
       <application-desc main-class="Main"/>
    </jnlp>version.xml
    <jnlp-versions>
       <resource>
          <pattern>
             <name>testapp.jar</name>
             <version-id>1.0</version-id>
          </pattern>
          <file>testapp.jar</file>
       </resource>
    </jnlp-versions>web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
        "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
      <web-app>
         <servlet>
            <servlet-name>JnlpDownloadServlet</servlet-name>
            <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
            <init-param>
               <param-name>logLevel</param-name>
               <param-value>DEBUG</param-value>
            </init-param>
         </servlet>
         <servlet-mapping>
            <servlet-name>JnlpDownloadServlet</servlet-name>
            <url-pattern>*.jnlp</url-pattern>
         </servlet-mapping>
      </web-app>Things I have discovered (possibly in error?):
    1) I do not need to include the jaxp.jar and parser.jar files because I am using JDK 1.4
    2) I do not need to change my testapp.jar to testapp_V1.0.jar because I have included the the version.xml file in the 1.0 directory
    I keep getting the following error in WebStart when I loadup the jnlp:
    JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(Unknown Source)I can get everything to work without version based downloads. Does anyone have any clue what I am doing wrong?
    Lance

    I found my own error. After loading up sun's reference implementation server in NetBean's debugger I noticed that it was only handling .jnlp files. Going back to the "Packaging JNLP Applications in a Web Archive" document I found my mistake. My web.xml files should have looked like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
        "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
      <web-app>
         <servlet>
            <servlet-name>JnlpDownloadServlet</servlet-name>
            <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
            <init-param>
               <param-name>logLevel</param-name>
               <param-value>DEBUG</param-value>
            </init-param>
         </servlet>
         <servlet-mapping>
            <servlet-name>JnlpDownloadServlet</servlet-name>
            <url-pattern>*</url-pattern>
         </servlet-mapping>
      </web-app>The difference being the <url-pattern> tag. It now tells the web server to handle all files not just .jnlp.
    This allowed me to download version based jnlp entries. I still can't get jarDiff things to work, but I will keep banging my head against the wall till I figure that out.
    Lance

  • How to build URL-based Portal for iAS 902

    Does V2 PDK support URL-based portlet? Can anyone provide a sample provider.xml?
    Thanks,
    -Jin

    Aftter subscription, I could view the doc for V2. I modified my provider.xml accordingly as follows:
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <?providerDefinition version="3.1"?>
    <!DOCTYPE provider [
    <!ENTITY virtualRoot "/jpdk/">
    <!ENTITY physicalRoot "E:\9iAS\Apache\Apache\htdocs\jpdk\">
    ]>
    <provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
    <providerInstanceClass>oracle.portal.provider.v2.http.URLProviderInstance</providerInstanceClass>
    <session>true</session>
    <useOldStyleHeaders>false</useOldStyleHeaders>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>7</id>
    <name>jimmy2</name>
    <title>jimmy2</title>
    <descriptionKey>jimmy2</descriptionKey>
    <timeout>1000</timeout>
    <timeoutMessage>Timed out</timeoutMessage>
    <showEdit>false</showEdit>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <contentType>text/html</contentType>
    <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
    <pageUrl>http://www.google.com</pageUrl>
    </showPage>
    </renderer>
    </portlet>
    </provider>
    I didn't get any error registering the provider and adding the portlet. But when portlet was rendered, I got error:
    Error: The listener returned the following Message: 500 Internal Server Error
    Any ideas?
    Thanks,
    -Jin

  • URL Based Transaction Launcher not loading

    Hi All,
    There is a URL based transaction launcher configured to display a crm opportunity report.
    All the settings seem to be fine.
    The configuration is done correctly in the wizard.
    The URL is defined in view CRMV_IC_LTX_URL.
    The logical link and Traget are also specified correctly.
    the z handler class also gets called , but still the URL is not loading.
    There is no error, but just a blank screen.
    the system is CRM 5.2
    could it be any browser issues or issue with BW system or any other issue ?
    Could you please help me in finding the problem ?
    thank you somuch,
    regards,
    Pushpa

    Hello,
    If you are watching this thread, I have a typical requiremnt like yours.
    After creating the ITS URL id  , I do not want to put this on the Navigation Bar.
    But this lTS URL i want it as a link on one of the actiivty page. And also i should be able to pass parameter.
    Please sugget what and how to achieve this.
    Thanks,
    Jaya.

  • How do I launch a URL based on a drop down selection?

    I would like to launch a webpage based on an item selection from the user.   Scenario:  User selects a brand of shoes from a dropdown menu.  A webpage is opened for that brand of shoes.  I will have the dropdown list link
    to a table containing shoe brands and urls.  I haven't found a way to script the launching of the url based on the user's selection.  Thank you for your help.

    Hello,
    I made you a little outline Siena App you can download on
    https://skydrive.live.com/redir?resid=FF0485C313407260%215627 (source included)
    Based on a dropdown, it filters a gallery with a "go there" button. That should allow you to get some small description, image or data before leaving your app for the site.
    Please let me know if you can't download it. I assume that this is what you are looking for.
    Regards
    StonyArc

  • URL based Iview creation problem

    Hello,
    We use EP6 SP9.
    I am trying to build a url based iview with "capture" option.
    When I enter the url address and hit "capture" I get the following error:
    Unable to fetch site http://portal.Error # 401
    Thanks for any help

    Hi Tuval,
    Yes I remember you from the Toptier days, hope life is treating you well.
    Actually the Proxy settings could still be a problem for internal urls if infact you still have a proxy on your network. You would need to specify the bypass proxy domain settings in the http service just like you do in your browser.  Except you use | as a delimeter eg.  .sap.com|.sap.corp.
    As I suggested you should still check that server side urls are working either internally or externally by typing a url into the 'server side connection test' in the Theme integrity tests page.
    If this test passes and you cannot capture then its a capture problem either domain related or something else eg a timeout.
    If this test fails then the capture will not work until server side requests can succeed.
    Also, the capture service has some parameters as well but I have never changed the defaults.

  • Provide Webservice  link not generating corresponding WSDL URL based on the service operation.

    Hi All,
    The provide webservice link is not generating corresponding WSDL URL based on Service Operation.
    E.g. Currently we have two service operations namely Create and Update. We are using Rowset based messaging. Provide Webservice link generated correct WSDL URL for the create operation but it is providing the same URL for Update operation as well. kindly share your knowledge if you guys ever faced similar problem.
    Regards
    Viswa

    Hi Hakan,
    Thanks for your reply. Actually i am trying to generate WSDL URLs for each service operation for Travel & Expense module like create expense, update expense etc.
    URL generated looks like this : http://xxx.xx.xxx.xx:8011/PSIGW/PeopleSoftServiceListeningConnector/HX_TE_EXPENSE_CLAIM.16.wsdl - this url is meant for CREATE operation. But for the UPDATE operation i am getting the same URL . Normally, Whenever i create WSDL URL for different operation the numeric part of the above URL changes like 16, 17 etc ..based on the service operation but no two operation have same URL like i am getting now. Please provide your knowledge on this issue.
    Regards
    Viswa

  • How to Set URL-Based Session Tracking to No

    Dear BSP Gurus
    I am fairly new to BSP applications, but I am getting an error which goes "BSP exception: Access to URL /sap(bD1lbiZjPTEwMCZkPW1pbg==)/bc/bsp/sap/crm_ui_frame/ is forbidden" and notice some say they solved it by Setting URL-Based Session Tracking to No, so my question is how do I do that.
    Unless off course there is another way to solve my problem. Would greatly appreciate it.
    Awaiting your favorable response

    Hey Raja and Rajani
    I actually activated all the applications below SAP->BC->->SAP-> **(Application)*->  but still I am getting that error.
    When I then test the individual applications I get errors like
    "BSP Exception: Das Objekt default.htm in der URL /sap/bc/bsp/sap/bp_cont_main/default.htm?sap-client=100&sap-sessioncmd=open ist nicht gültig"
    I really have run out if ideas, I need your assistance, initially I thought it cd be the logical link coz the work centres appear fine then I tried to assign even standard business roles, its giving the same error.
    What do I do now?

  • URL based portlet from external application

    Hello,
    I'm trying to integrate a forms 6i patch 10 application into SSO.
    First, I created an external application, passing it the correct parameters.
    Everything went ok, and I can successfully call it by entering
    "Administer Enternal Application" link on Oracle Portal.
    Now I want to make a portlet from this external application. For that I'm
    using PDK URL Services. So I reused the urlexternalauth provider which is
    included in the latest PDK. The provider.xml is included below. I successfully
    registered the provider, by following the wizard "Register Portlet Provider" on
    Oracle Portal. But when I call the portlet, the html startup file for the form
    is base.htm. When I call the external application through the "Administer Enternal Application" link,
    I get the right html startup file, which is basejini.htm.
    So I need basejini.htm called from the portlet, and not base.htm.
    Thanks,
    Andri.
    provider.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
         <providerInstanceClass>oracle.portal.provider.v2.http.URLProviderInstance</providerInstanceClass>
         <session>true</session>
         <authentication class="oracle.portal.provider.v2.security.Authentication">
              <authType>ExternalApp</authType>
              <userFieldName>username</userFieldName>
              <userPwdName>password</userPwdName>
              <errorPageMessages>Error Message!</errorPageMessages>
         </authentication>
         <proxyInfo class="oracle.portal.provider.v2.ProxyInformation">
              <httpProxyHost>proxy.br.odebrecht.com</httpProxyHost>
              <httpProxyPort>8080</httpProxyPort>
         </proxyInfo>
    <portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
    <id>1</id>
    <name>iCorporate</name>
    <title>iCorporate</title>
    <description>iCorporate - aplicacao Forms6i</description>
    <timeout>100</timeout>
    <timeoutMessage>iCorporate time out</timeoutMessage>
    <acceptContentType>text/html</acceptContentType>
    <showEdit>false</showEdit>
    <showEditToPublic>false</showEditToPublic>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <passAllUrlParams>true</passAllUrlParams>
    <inputParameter class="oracle.portal.provider.v2.URLPortletParameter">
    <name>config</name>
    <displayName>config</displayName>
    <value>icorp</value>
    <isMandatory>true</isMandatory>
    </inputParameter>
    <inputParameter class="oracle.portal.provider.v2.URLPortletParameter">
    <name>database</name>
    <displayName>database</displayName>
    <value>server1</value>
    <isMandatory>true</isMandatory>
    </inputParameter>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
    <contentType>text/html</contentType>
    <pageUrl>http://server1.rjo.br.odebrecht.com:7780/servlet/f60servlet</pageUrl>
    </showPage>
    </renderer>
    <securityManager class="oracle.portal.provider.v2.security.URLSecurityManager">
    <authorizType>public</authorizType>
    </securityManager>
    </portlet>
    </provider>

    Andrea,
    Could you tell me if FORMS 6i authentication process is based on cookies? The reason being, URL based portlets SSO feature is primarily driven by External Application's cookies, which act as authentication tokens. Once a valid user information is submitted to the External Application, cookies (if any) are received and stored so that they can be re-used in further connections. A typical flow of events can be summarized as follows :
    At provider level :
    1. Connect to External Application.
    2. Submit user information to url specified by External Application's login URL.
    3. Fetch cookies
    4. Store them for future use.
    At portlet level :
    1. Read cookies fetched through provider, pertaining to this portlet.
    2. Open connection to url specified by <pageUrl> tag in provider.xml
    3. Read content and display in the portlet.
    From the provider.xml, I can see that we are trying to show content given by http://venezuela.rjo.br.odebrecht.com:7780/servlet/f60servlet servlet, which has two parameters called {config and database}. This makes the resulting URL as http://venezuela.rjo.br.odebrecht.com:7780/servlet/f60servlet?config=icorp&database=venezula. I guess when this URL is accessed directly, FORMS servlet will redirect the user to base.htm file. Important point to note here is that when URL based portlet makes connection to the above URL, user information is not directly sent along with the request. Instead, cookies fetched from External Application, if any, are sent. But when the same application is viewed through portal's External Application, user information is directly submitted to the login URL. So, before deciding on something, it is important to know how different is the loginURL specified through portal's External Application details, from <pageUrl> of URL based portlets?
    -aMJAD.

  • Ask your question.PPC Mini running 10.4.11 unable to access urls based on Javascript.  Software up to date.  Cannot find where to verify if JavaScript turned off.

    PPC Mini running 10.4.11 unable to access urls based on Javascript, get "Javascript void" at bottom of window..  Software up to date.  Cannot find where to verify if JavaScript turned off.

    I guess I verified this in following earlier IIIasss recommendations (whom I will respond to in detail after this).
    I have used Firefox (cookies deleted after each session) successfully with this site (Zinni Optical), but something has changed over the last year and a half and, to my knowledge it isn't on my end.  When I get response at all, and try to navigate to "My Favorites, etc., and nothing happens for a while, I try to refresh, only to get a "stopped" message with a blank screen.
    Tried Safari and Internet Explorer browsers (all I presently have installed) without succerss.  May go back to TenFourFox (which had it's own wierdness over time, which is why I uninstalled it.  Don't know latest versions compatible with 10.4.11 of Safari (but Software update is satisfied I'm up to date) or Internet Explorer.
    I'm out in the sticks using a Verizon (Novatel) MiFi in a metal building, and so require a Wilson external antenna, liightening arrestor, signal amplifier and inside rebroadcast antenna to boost cell phone  signal from one to four bars.  Hope I get similar boost for  wireless-Airport connection, understand that is different frequency, but also boosted.
    The site for the bank I do WebBillpay with has had a minor change...no longer do I get the option to sign off (six months to a year ago), otherwise, fine.

  • Any solutions for URL based routing

    Hi,
    I have an ASA 5505 that has 2 route (1 route connecting to MPLS VPN to HK branch office and 1 route connecting to Internet service provider). As you know, ISP in China blocking many web sites (such as facebook, youtube or etc.). So , I would like to route the traffic when the user in China office would like to browse facebook.com or youtube.com to HK ASA and egress to the internet by NAT. However, all other traffic remain to route to ISP in China, so that the Internet traffic in HK office will not be overload and the user in China can browse facebook.com or youtube.com.
    I have researched a topic of regular expression with Modular Policy Framework (MPF). I expected that if the ASA can match the traffic, I can set next hop to HK office's ASA. However, this feature does not support https so that my expectation failed. Because the login page and sometime these web site using https for encryption. I hope URL based routing work on both http and https can work.
    Do anyone have any solutions to resolve this situation? Please kindly provide it to me. I would appreiciate it if you could also provide configuration example with commands. I look forward to hearing from anyone soon. Thank you.
    Regards,
    Lapson Wong

    What you are trying to do is policy-based routing which is not supported on the ASA.  MPF is used only for inspection and QoS type serverices.
    If using a proxy is not an option, you would need to put in a router that would send the desired traffic over the WAN network.  another option, though I would not recommend it, is to find all the IPs of facebook, youtube, etc. and add static routes on the ASA pointing out the WAN interface.

  • Hi! I need to load a GET url that si very long. On other browsers, I can load the url. In firefox 3.6, no. There is an addons or a plugin so I can extend this limit? If yes, is possible to load automatically this addons when loading a certain page? thanks

    Hi!
    I need to load a GET url that si very long. On other browsers, I can load the url. In firefox 3.6, no.
    There is an addons or a plugin so I can extend this limit? If yes, is possible to load automatically this addons when loading a certain page? thanks
    The url is sometingh like this (this is correctly loaded, but it could be longer)

    Firefox should have problems with long GET data appended to an URL (long would be over 64k).<br />
    If there are problems then it is possible that an extension is the cause of that.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Get URL by PCD in WD ABAP

    Hello friends,
    I'm developing a web dynpro abap applcation. My problem is when i'm pressing on button that need to open
    bw iview.I am using the method CREATE_EXTERNAL_WINDOW from the interface IF_WD_WINDOW_MANAGER, now I need to send url as paramter.Is there any way to get url by pcd ( to get the url of bw iview )?
    I'm doing it that way and not by calling NAVIGATE_ABSOLUTE method because when bw iview send me back paramters( with EPCM ) i want also to close it.
    Thanks in advanced,
    Udi

    Hi Udi,
    We had a similar requirement where we need to call a Transaction in portal with different values for its parameters.
    Assuming that your BW iView will have NON-CHANGING Url path you can store that path in a abap table ( for multiple reports also) and then get the value when required.
    If you need to pass any parameters with the URL you can concatenate it to the NON-CHANGING url part and send.
    I hope it helps.
    Revert back in case of queries/issues.
    Regards,
    Sumit Oberoi

  • Get Url from a text box

    Hello,
    I have read a couple posts in regards to the GEt URL function
    but couldn't find what I'm looking for.
    Trusting someone can help.
    Here are two reference files
    1- Main swf that loads the movie clip
    with the links
    Swf
    that displays the links I'm opening in a new window
    I'm able to open the url on a new window but couldn't find a
    way to control the height of this window. Please note that the
    links are all inside a text box. They are not separate buttons they
    are just text hiperlinks.
    Please let me know if any of you knows how to control the new
    _blank window height.
    Thanks
    Fe

    Hi. You should consider posting this to either the iPhone forum or the Developer forum. This forum is for discussing the Unix subsystem of OS X...

Maybe you are looking for

  • Migrating from TSQL Need Help? printing multiple columns in Stored procedur

    I need to create a Stored Procedure which returns set of columns not all (for eg FirstName, LastName, Dept_Id) from emloyee table based on certain conditions. In TSQL, it is very simple to create such stored procedures which return full recordset(or

  • CSS - Display issues in Explorer browser

    I hate Internet Explorer. Just wanted to get that out front. I did a website: www.siriusaboutdogs.org. Displays great in all other browsers EXCEPT Explorer. I have played with the CSS over and over and cannot get the right column where it belongs. Ju

  • Updating Album Art, when iTunes says "Album Artwork Not Modifiable"

    How can I go about updating or adding album art when the Artwork area at the lower left corner of iTunes says, "Album Artwork Not Modifiable"? Every effort to add the artwork from iTunes has failed. When I paste the album photo from another site, it

  • Error when trying to open or deinstall skype

    Hi, I get this error message when I try to open or deinstall or install skype: Error: unfortunately the Skype executable is corrupted. Please re-install.  The same message come up when i install so what can I do to make it work? 

  • What's email/phone support info for QTPro? won't display fullscreen/player

    I couldn't get QT standard to display in full screen or have player tabs, like it does in Itunes, when I clicked on streaming video or audio that used QT on Websites. So I paid extra for QT PRo and it still doesn't display in full screen or have any