Retrieve ICM url

hi, is there a way to retrieve the url of an ICM cached object, if you 'lost it'.
background. activex controls are blocked in IE these days preventing then to run without user 'click to activate and use this control'. that ruins most of the interaction you can get from controls specially if the page has to be reloaded as the control will then have to be reactivated each time.
this is specific for the phtmlb:ganttChart rendering that this happens.
however there might be an easy fix. during the rendering of the control it puts the svg graphic file in the ICM cache, then renders it on the current page like this :
<embed src="/sap/bc/bsp/sap/sbspext_phtmlb/238084D3CD28DA4687A0FD58332F4374.svg" height="
      298
      px" width="
      657
      px" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/"></embed>
what i would do, would be to grab that svg file, put it into a js script and then embed that on my page instead. that would eliminate the click to active issue (known workaroudn that works on any type of active x control).
so ... how do i get a hold of the url that is in the ICM cache. i can se its there with the monitor, is there any way to retireve it, something that binds it to my current IE session or something.
anyone got any suggestions?

recoded the phtmlb extension to fit my needs. no need to read out the ICM path anymore.
there is another post showing how that was done.
Message was edited by: Christian Hasselbalch

Similar Messages

  • Cannot Retrieve referenced URL in wscript file from Local System Account, but not other accounts on the computer.

    Hello,
    I have a WScript File that includes an external resource (js file).
    It works on one computer and it does not work on another computer.
    If I run this file from a normal admin command prompt everything runs fine on both computers.
    If I run this file from the Local System account using PsExec it runs fine on one of the computers and throws an error "Cannot Retrieve referenced URL" on the other computer.
    The reason I want it to run from the Local System account is that it is executed from a Windows Service.
    Is there some setting or some way for the IE cache to get corrupt on the Local System account or something like that?

    JRV,
    You are by far the worst 'support' person I've ever seen. If you aren't going to be thoughtful in providing support, don't pretend. If you're going to pretend, leave your condescension on the shelf. You have provided no thoughtfulness whatsoever to his issue,
    and have in no way improved the discourse. You are arrogant and condescending without exhibiting any intelligence whatsoever. I'm impressed Matt kept calm through your demeaning, counterproductive diatribes.
    Matt,
    First I'd check UAC settings, because I believe that can change how elevation works substantially.
    Second, I would check the versions of wscript.exe on both machines, both in System32 and SysWow, and I'd check for updates bypassing WSUS to make sure there's not something silly going on there (totally a shot in the dark, catch-all theory).
    Have you made any headway in the last few weeks?
    -John
    This is not a support forum and it is not for assistance in fixing broken configurations.  It is a scripting forum. The OP proved that the issue is not the script but the environment it is running in.  You should not get mad just because you are
    not getting satisfaction.
    ¯\_(ツ)_/¯

  • Retrieving Entry Point =True,Roles programatically and retrieving their URL

    Hi Team,
    I want to retrieve the roles whose entry point is equal to true using WebDynpro, And display their names.
    When i am trying to display any role name it is displaying with underscores, like if it is content administration role it is displaying like content_admin_role.
    I want it to display it just similar name which will display in portal, like content administration how can i do this?
    And for each and every role i want to bring the role URL correspond to it.
    I tried this and reached upto some extent but not able to open the role perfectly.
    I used the below code for getting the names of the roles.
    Iterator rit = null;
         try
         IWDClientUser clientUser = WDClientUser.getCurrentUser();
         IUser user = clientUser.getSAPUser();
         rit = user.getRoles(true);
         IRoleFactory rfact = UMFactory.getRoleFactory();
         while (rit.hasNext()) {
         String roleName = (String) rit.next();
         IRole role = rfact.getRole(roleName);
         wdComponentAPI.getMessageManager().reportSuccess("Role names1..."+role.getDisplayName().toString());
         wdComponentAPI.getMessageManager().reportSuccess("Role names2..."+role.getUniqueName().toString());
         //wdComponentAPI.getMessageManager().reportSuccess("Role names3..."+rfact.getRolesOfUser(unique,true));
    Also suggest me to retrieve the URL's of respective roles, and it should navigate to that perticular role when i open that URL in browser.
    Thanks in advance.
    Bala

    Hi,
    First of all you want to distinguish the pcd roles from the LDAP roles. To do that you use a IRoleSearchFilter like this:
    IRoleSearchFilter searchFilter = null;
    try {
    searchFilter = roleFact.getRoleSearchFilter();
    searchFilter.setDisplayName("*", SearchAttribute.LIKE_OPERATOR, false);
    ISearchResult result = roleFact.searchRoles(searchFilter);
    if (result.getState() == ISearchResult.SEARCH_RESULT_OK) {
    while (result.hasNext()) {
    String RoleName = (String) result.next();
    IRole role = roleFact.getRole(RoleName);
    You also need to check if the role is assigned to the user, so get the user's roles and compare them to the ones you got from the search result.
    In order to get name correctly use:
    role.getDescription();
    To see if Entry Point = True you do something like this:
    IPcdContext targetobject =(IPcdContext) initialContext.lookup(role.getUniqueName());
    Object object = targetobject.getAttributes("").get("com.sap.portal.pcd.role.EntryPoint");
    if (object instanceof IPcdAttribute) {
    IPcdAttribute att = (IPcdAttribute) object;
    boolean b = att.getBoolean();
    To get the URL of the role you should use:
    string RoleUrl = "http://<server>:<port>/irj/portal?NavigationTarget=ROLES://" + role.getUniqueName().substring(4);
    Best regards,
    Avishai Zamir

  • How do i retrieve the url for external window

    Hi forum
    I have created a new application in my existing proj. In the existing proj i have a button on click of which i need to call the view of the new application i hv used the following code, but i dnt know how to retrieve the url for this new application.
    IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("AgencyFee_ReportsPrinterFriendlyWindow");
         IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createExternalWindow(url, window name, false);
    Thanks & Regards
    Jaspreet Kaur

    Hi,
    If you have an application associated this window you can create the URL as mentioned below
      WDDeployableObjectPart deployableObjectPart = wdComponentAPI.getDeployableObjectPart();
           try {
              WDURLGenerator.getApplicationURL(deployableObjectPart);
         } catch (WDURLException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
    OR      
         try {
              String url = WDURLGenerator.getApplicationURL("<deployableObjectName>", "<applicationPartName>");
         } catch (WDURLException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
         IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(url , "title");
         window.show();
    Regards
    Ayyapparaj

  • Retrieving Referring URL

    Hi,
    I just had a quick question...
    From a servlet I have an HttpServletRequest and an HttpServletResponse, is there any way to retrive the referring URL that called this Servlet? I am trying to track sites that link to my servlets, so I need an archive of which sites most frequently direct traffic to my site?
    Thanks in advance
    threeFiddy

    That only retrieves the host address of the person accessing the site, I am more interested in the page that the person just left, before coming to my site...Is it possible to get that info?
    In other words, if foo.com has a link to my site, is there any way to figure out which users are arriving at my site via the link on foo.com??
    Thanks,
    threeFiddy

  • Internet Explorer: Contextual Menu, Retrieve Current URL,Grab Selected Text

    Hi,
    How would you do to add an item to the Internet Explorer Contextual Menu that grab the selected text and retrieve the current Url?
    Thanks in advance

    Actually, I would like to retrieve the current URL and the selected text from the browser by default.
    Ubiquitous, Internet Explorer is the first browser I would like to use.
    1. It could be a java application that monitors the active browser on WinNT, and displays the current URL and the selected text of the monitored browser.
    Or
    2. it could be a java script called by the contextual menu of IE that launches an application with specific data from the page when the item is clicked (gives these specific data to a monitoring application)
    Launching the default browser with a URL is OK. However, monitoring the active browser and retrieving its informations, or retrieving its informations after a clik from the contextual menu is quite an exercise ;-)
    Thanks in advance,

  • Retrieving the url of my internet favourites

    I can retrieve a list of my internet favourites using function module 'TMP_GUI_DIRECTORY_LIST_FILES' but does anyone have any idea how I can get hold of the url that these point to ? I can see it in the file properties but have no idea how to pick it up.
    thanks.

    myUrl := p_portlet_record.page_url;
    where p_portlet_record is the input parameter for the standard show procedure.

  • Retrieve Portal URL in BSP

    Is there a Function Module or ABAP Object I can use within a BSP that will give me the base Portal URL in which my BSP is being rendered?  I'm specifically looking for something that will return the following URL pattern:
    http://servername:portnumber/irj/portal
    Reason I ask is b/c I need to redirect back to the Business Partner page within Portal CRM, however, within the BSP, the cl_bsp_runtime=>construct_bsp_url method is returning the BSP application URL and not the Portal URL.
    Thanks!

    Hi Matthew,
    I don't know of a function module or method that helps you on getting the path to the portal but maybe the following hints help you to find a solution.
    1. Get the referer out of the Request by using the method request->get_header_field during the first call of your application.
    2. There are 4 tags available in the bsp-extension that might help you to solve your issue. The elements are called: portalEvent (receive events), portalNavigationToObject, portalNavigationRelative and portalNavigationAbsolute. There is also a test Application for the bsp-Tags available called SBSPEXT_BSP where the raising of portal events is shown.
    3. Use client side scripting to determine the url of the surrounding frame.
    4. Try whether the methods GET_EXTERNAL_THEME_ROOT or GET_EXTERNAL_STYLESHEET of the runtime help you to get hold on the portal url.
    These are just hints. More than the portalEvent tag I have never used.
    Hope that helps.
    Best Regards
    Michael

  • Retrieving an URL content in ABAP

    Hi Experts,
        I have to read the content of http://.......... URL content to ABAP. Is there any method or function module to read??
    Thanks and regards,
    Venkatraman.N.

    Hi!
    Take a look at the folliwing programms and examples:
    RSHTTP*
    They work really good.
    Best regards,
    Esteban

  • Retrieve portal url dynamically.

    Hi,
    Could anybody pls let us know how to identify the portal Url dynamically using a function module or SAP Table?
    We want to put this URL in the notification e-mail so it is dynamic when the object is moved to Quality and production systems.
    Thanks in advance.

    One way to make Portal URL dynamic is to create a ztable with fields ABAP system id and portal URL.
    Select Portal URL from this table based on the sy-sysid.
    By this way you dont have to change your code. Just change table entry on each server.
    Hope this helps!
    Monalisa

  • Troubleshooting: Retrieving Meeting URL in Connect?

    I've built an external application interface for a client regarding their specialized usage of connect. Overall it's pretty straightforward, and we've been running it fairly successfully this week, but I'm running into some fringe cases where a user has booked a session, goes to their session list (all on our side at this point) and upon requesting the meeting room url, they get access denied and no url returned.
    When this happens, I have a log dump of exactly what I'm doing which is as follows:
    LOG: >>
        0: 1309025662: AC Obj Initialized
        1: 1309025662: AC_URL: http://fake.connectserver.ca:8080
        2: 1309025662: AC_USER: [email protected]
        3: 1309025662: AC_PASS: fakepass
        4: 1309025662: RECUR_SCOID: 20700
        5: 1309025662: SINGLE_SCOID: 20602
        6: 1309025662: Setting Username: [email protected]
        7: 1309025662: Setting Password: dcb2221be7ced3309064b48fd8fb65f
        8: 1309025662: Attempting Admin Login...
        9: 1309025663: adminLogin success (breezqgvfvqffyqexcssd): [email protected]
        10: 1309025663: Checking if user ([email protected]) exists...
        11: 1309025663: User confirmed ([email protected]:22510)
        12: 1309025663: Getting folder meetings for recurring sessions...
        13: 1309025664: Getting folder meetings for single sessions...
        14: 1309025664: Attempting Admin Logout...
        15: 1309025664: log out success: breezqgvfvqffyqexcssd
        16: 1309025664: Attempting User Login...
        17: 1309025664: login success (breez86hovxz4673n7kkm): [email protected]
        18: 1309025664: Getting meeting sco_id
        19: 1309025664: Meeting sco_id returned: 21270
        20: 1309025664: Getting meeting url
        21: 1309025665: Url Returned:
        22: 1309025665: Final Url: http://fake.connectserver.ca:8080?session=breez86hovxz4673n7kkm
    Obviously it's not getting the Url. When this occurs I also automatically log a dump of the xml of the request which looks as follows:
    0: >>
        tag: results
        type: open
        level: 1
    1: >>
        tag: status
        type: complete
        level: 2
        ATTRIBUTES: >>
             code: no-access
             subcode: denied
    2: >>
        tag: results
        type: close
        level: 1
    I've looked into the Adobe Connect documentation regarding this, and it doesn't really have a lot to say, it just says the following about no-access and denied.
    no-access: Indicates that you don’t have permission to call the action. The subcode attribute provides more details.
    denied: Based on the supplied credentials, you don’t have permission to call the action.
    Based on this I logged directly into the Adobe Connect interface, and checked the meeting out. Everything was set up properly. The users that weren't able to return the URL existed as participants in the sco-id they were attempting to return the url from. All permissions looked correct, all users looked correct. And what is throwing me off is this seems to be a strange random small occurence for certain users. All of the other users have been using the new interface we've built successfully etc.
    Personally we haven't been able to replicate this behavior in our test environment, but it's definitely something that has happened two or three times now in the past week.
    Anybody have any ideas on how I might troubleshoot this? I'm assuming there's some key information I'm not getting that would help me solve this, but right now I'm sort of stumped.
    Thanks.

    I might be able to help but I will have to see your code. I take it that you are using Flashbuilder or Flex?
    If you are still batteling with the code let me know.

  • Retrieve caller url in doGet()

    In ine of my page there is a link to one of my servlet. Also this servlet can be directly by tyiping on address bar.
    I need to get the calling url withing the doGet method in the servlet.
    both request.getHeader("referer") and request.getAttribute("javax.servlet.error.request_uri") return a null values
    Pls help me

    You can use the request.getRequestURL()

  • Retrieve connection URL

    I am trying to get the connection URL as a string so I can output on the screen.
    Any suggestions?
    I have searched the forum and read all the tutorials on otn but I am still confused.

    This might be hard for me to explain, but what I did was I created a view object that queried for the database schema. I created an object type that saves this value that is queried. Then converting it to a string value, I saved its value into a bean which can then in turn be displayed on the UIX page.
    I hope this helps some.

  • On Firefox I get The requested URL could not be retrieved On Internet explorer it works What is wrong?

    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: http://www.google.com.au/
    The following error was encountered:
    * Unable to forward this request at this time.
    This request could not be forwarded to the origin server or to any parent caches. The most likely cause for this error is that:
    * The cache administrator does not allow this cache to make direct connections to origin servers, and
    * All configured parent caches are currently unreachable.
    Your cache administrator is webmaster.
    Generated Tue, 08 Jun 2010 03:40:48 GMT by proxy.syd.connect.com.au (squid/2.7.STABLE5)

    It could be a firewall or other security software blocking the access for Firefox - if you use the default Windows Firewall in XP, you can find help in article [[Configuring Windows Firewall]].
    If you use a 3rd party security program, you could look for help with configuration in our KB articles (use yellow Search box on right side of this page - search on provider, like Norton, AVG, F-Secure), or post the name here and we'll help you find relevant link(s).
    If the problem persists, this article might also help you solve it:
    [[Error loading web sites]] (comprehensive article with solutions and links to other articles).
    When you get online, I would recommend updating Firefox. The latest version is Firefox 3.6.3. You can get it from [http://getfirefox.com getfirefox.com] and install it over your current version. Also see article [[Updating Firefox]] for info.
    Please let us know how above works out, and if we can be of further assistance. Detailed feedback is appreciated and helps us to help you better, plus enables us to better help more users with similar problems.

  • Retrieve URL from database and navigate through command button

    I am new to ADF and Jdeveloper. In our database we store the URLs to our help/FAQ webpage in a table. What I would like to do is retrieve this URL from the database and code a command button to navigate the user to this URL but I am not sure how to accomplish this and have not had any lucking searching for a solution. I have created a view object for the table that contains the URL. Many thanks in advance.

    Hi,
    Welcome to OTN.
    You can create a view object based on the table (on which you have the URL stored).
    Create a goButton (Instead of a command button) and bind the column (which stores the URL) to the destination property of the go button.
    Something like
    <af:goButton text="Help" id="gb1"
                        targetFrame="_blank" destination="#{bindings.URL.inputValue}"/>-Arun

Maybe you are looking for

  • Unable to change the background color of a webi report in the infoview

    Hi, Can someone please me help me with the below issue. Environment Details: BusinessObjects XI3.1 SP1SP2SP3                                                                                BusinessObjects XIR2 SP5                                      

  • PDF documents that cannot be edited in Reader for IOS

    Hello, I've been trying to edit (highlight and add comments) a PDF document on my iPad, but the app is not cooperating with me. I was able to edit it with Adobe Reader on my PC, but the same file cannot be edited with the ios app.  I tried some other

  • Update of object dependency allocation in Routings

    Dear Friends, I am having the following problem: in several Routings of different configurable materials I need to change the object dependency allocation for one operation. In detail, let's say that operation 0100 has 3 object dependencies allocated

  • Mapping issue in 10gr2

    Hi All, We are using OWB 10gR2 and database 10.2.0.2 . We have a mapping loading data into fact. We use sysdate to update the "inserted_date" and "last_updated" columns. Mapping is inserting corrupt data into these date fields. Really don't know why?

  • How can I program my imager to take longer samples using labVIEW?

    What I would like to be able to do is to use LabVIEW to program my external hardware to take a sample length of a specific time. I would also like to be able to find out how fast my Imager is sampling at, kind of like using the program as an oscillis