CRM WebUI Caching problem

hi all,
We are creating/Updating CRM products as a background job. When we update the products, we dont see the changes immediately in the WebUI. These changes are immediately visible in SAPGUI.
If we close and open the browser we will be able to see the changes we have made from background.
Is it a caching issue?  How to resolve this problem?
Please help.
Raghav

Hi Raghav,
Thanks for the details!
I think the issue is because the page is not refreshed hence fresh data transfer does not happen with the backend. So the new results are not included in the search result. Check if you can manually refresh the search result to every time make a backend call and get the results.
You can also opt for refreshing of the page as well.
Hope this helps!
Regards,
Saumya

Similar Messages

  • Problem in CRM WEBUI

    Hi,
    I am on CRM WEBUI. When I click on any of the buttons on WEBUI, after a while, it is showing a blank page, instead of required page. However if I click on back button, then it is showing the required page.
    This is happening very sporadically. I am not able to undertstand the reason.
    Could you please let me know, any settings I need to do to avoid this problem. (CRM Settings or Internet settings).
    Thanks in advance for all the responses.
    Thanks,
    Sandeep

    Hello Sandeep,
    Please have a look at note 1244321 which contains the general information on analysing WEBUI problems.
    Please also try to get a HTTP trace of the problem which would be helpful on analysing.
    There was the similar case which was caused by network.
    Best regards,
    Maggie

  • Custom object in work flow not opening in CRM webui

    Hi,
    I have designed a workflow in SAP Ecc 6.0 CRM.
    There are some work items and a single custom popup screen in this workflow.
    This popup screen is used to get data and pass to the subsequent workitem.
    This screen opens in SAP CRM in the workflow inbox (SBWP) , and works as expected.
    Also, mails are sent to the SAP user IDs of the concerned people through the workflow (as per process).
    At this stage, we have done all settings  reqd in SWU3.
    However, when this entire workflow process is trigerred using the CRM WEBUI, the following problems occur:
    1)  There are no mails received at any stage in the workflow inbox.
    2)  When the  work item for the popup screen appears in the WebUI workflow inbox, and it is clicked, there is an error.
    "Associated object cannot be opened. Contact your system administrator"
    So, the customised pop-up does not open in this CRM WEBUI workflow inbox at all.
    Question:
    1) How do we ensure that the mails are received in the CRM WEBUI workflow inbox? Are there any settings to be done for that?
    2) How can we make the custom popup open in the CRM WEBUI workflow inbox?
    Regards,
    Sachin

    Hi,
    Please check IMG path.
    The path CRM->Basic functions->Worklists->Define Alert Inbox and Workflow Inbox->Define Object-Specific Navigation
    Input like
    BOR   Your_Object   Your_Method  BT_XXX  OPEN
    Hope it work.
    Deripmav

  • BP telephone pulled out from another BP in CRM webui

    Dear Experts:
    When I created a bp through CRM webui 7.0, I maintained the general address info. and saved it. after that, I accessed the address details section by clicking on address assignment block in order to add the phone and email info. however, the  fields had been already filled with the phone and email info. from another BP which I have created right before this BP.  it should be blank before adding any data. It seems like the second BP's address detail view still pointed to that of the last BP I have created prior to this one.  However, if I logoff from webui and logon back, it is blank and looks right.   Is ther any advise?
    Thanks

    Hello,
    Perhaps you could check if the BSP component view BP_ADDR/StandardAddress has been enhanced in your system. If so, see if the getter for TELEPHONE of the model node for BuilStandardAddress is available.
    If this method has been enhanced, it is possible there is an error in the code. Possibly, casting the property access to an object of CL_CRM_BOL_ENTITY and calling the REREAD( ) method could solve your problem.
    Kind regards,
    Tom.

  • How to Add an standard ECC field to CRM WebUI

    Hi everybody.
    I've an issue with a task, the problem is on the implementation of CRM they are using the sales order from ECC on the CRM webUI as we know CRM has already a block of standard fieds from R3 on the ERP components, can anybody knows how do I can ADD or make an enhacement for one other standard field. I need to maintain field bstdk_e from CRM webIU.
    Regards.

    Hi,
    my actual problem is a problem in Adobe Designer. I will describe it with scrreenshots. It's about a text field that needs to be added to a table.
    That's what I want:
    Link: [http://i749.photobucket.com/albums/xx135/Micha_AB/SAP_should.jpg]
    In form SD_BIL_LIST_FORM01 the text field EX_CONDITIONS is part of table HEADER_CONDITIONS
    That's how it is now in my form:
    Link: [http://i749.photobucket.com/albums/xx135/Micha_AB/SAP_is.jpg]
    So what I want is to make the text field SHOW_MULTI_MIERALS be part of table Table_Multi_Minerals. But if I try to drag and drop the fext field into the table the system does not do it although it seems that I sould be possible (the black Drop line appears).
    Regards, Michael

  • Caching problem w/ primary-foreign key mapping

    I have seen this a couple of times now. It is not consistent enough to
    create a simple reproducible test case, so I will have to describe it to you
    with an example and hope you can track it down. It only occurs when caching
    is enabled.
    Here are the classes:
    class C1 { int id; C2 c2; }
    class C2 { int id; C1 c1; }
    Each class uses application identity using static nested Id classes: C1.Id
    and C2.Id. What is unusual is that the same value is used for both
    instances:
    int id = nextId();
    C1 c1 = new C1(id);
    C2 c2 = new C2(id);
    c1.c2 = c2;
    c2.c1 = c1;
    This all works fine using optimistic transactions with caching disabled.
    Although the integer values are the same, the oids are unique because each
    class defines its own unique oid class.
    Here is the schema and mapping (this works with caching disabled but fails
    with caching enabled):
    table t1: column id integer, column revision integer, primary key (id)
    table t2: column id integer, column revision integer, primary key (id)
    <jdo>
    <package name="test">
    <class name="C1" objectid-class="C1$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t1"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c2">
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    <class name="C2" objectid-class="C2$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t2"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c1">
    <extension vendor-name="kodo" key="dependent" value="true"/>
    <extension vendor-name="kodo" key="inverse-owner" value="c2"/>
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="table" value="t1"/>
    <extension vendor-name="kodo" key="ref-column.id" value="id"/>
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    </package>
    </jdo>
    Because the ids are known to be the same, the primary key values are also
    used as foreign key values. Accessing C2.c1 is always non-null when caching
    is disabled. With caching is enabled C2.c1 is usually non-null but sometimes
    null. When it is null we get warnings about dangling references to deleted
    instances with id values of 0 and other similar warnings.
    The workaround is to add a redundant column with the same value. For some
    reason this works around the caching problem (this is unnecessary with
    caching disabled):
    table t1: column id integer, column id2 integer, column revision integer,
    primary key (id), unique index (id2)
    table t2: column id integer, column revision integer, primary key (id)
    <jdo>
    <package name="test">
    <class name="C1" objectid-class="C1$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t1"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c2">
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="column.id" value="id2"/>
    </extension>
    </field>
    </class>
    <class name="C2" objectid-class="C2$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t2"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c1">
    <extension vendor-name="kodo" key="dependent" value="true"/>
    <extension vendor-name="kodo" key="inverse-owner" value="c2"/>
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="table" value="t1"/>
    <extension vendor-name="kodo" key="ref-column.id" value="id2"/>
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    </package>
    </jdo>
    Needless to say, the extra column adds a lot of overhead, including the
    addition of a second unique index, for no value other than working around
    the caching defect.

    Tom-
    The first thing that I think of whenever I see a problem like this is
    that the equals() and hashCode() methods of your application identity
    classes are not correct. Can you check them to ensure that they are
    written in accordance to the guidelines at:
    http://docs.solarmetric.com/manual.html#jdo_overview_pc_identity_application
    If that doesn't help address the problem, can you post the code for your
    application identity classes so we can double-check, and we will try to
    determine what might be causing the problem.
    In article <[email protected]>, Tom Landon wrote:
    I have seen this a couple of times now. It is not consistent enough to
    create a simple reproducible test case, so I will have to describe it to you
    with an example and hope you can track it down. It only occurs when caching
    is enabled.
    Here are the classes:
    class C1 { int id; C2 c2; }
    class C2 { int id; C1 c1; }
    Each class uses application identity using static nested Id classes: C1.Id
    and C2.Id. What is unusual is that the same value is used for both
    instances:
    int id = nextId();
    C1 c1 = new C1(id);
    C2 c2 = new C2(id);
    c1.c2 = c2;
    c2.c1 = c1;
    This all works fine using optimistic transactions with caching disabled.
    Although the integer values are the same, the oids are unique because each
    class defines its own unique oid class.
    Here is the schema and mapping (this works with caching disabled but fails
    with caching enabled):
    table t1: column id integer, column revision integer, primary key (id)
    table t2: column id integer, column revision integer, primary key (id)
    <jdo>
    <package name="test">
    <class name="C1" objectid-class="C1$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t1"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c2">
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    <class name="C2" objectid-class="C2$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t2"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c1">
    <extension vendor-name="kodo" key="dependent" value="true"/>
    <extension vendor-name="kodo" key="inverse-owner" value="c2"/>
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="table" value="t1"/>
    <extension vendor-name="kodo" key="ref-column.id" value="id"/>
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    </package>
    </jdo>
    Because the ids are known to be the same, the primary key values are also
    used as foreign key values. Accessing C2.c1 is always non-null when caching
    is disabled. With caching is enabled C2.c1 is usually non-null but sometimes
    null. When it is null we get warnings about dangling references to deleted
    instances with id values of 0 and other similar warnings.
    The workaround is to add a redundant column with the same value. For some
    reason this works around the caching problem (this is unnecessary with
    caching disabled):
    table t1: column id integer, column id2 integer, column revision integer,
    primary key (id), unique index (id2)
    table t2: column id integer, column revision integer, primary key (id)
    <jdo>
    <package name="test">
    <class name="C1" objectid-class="C1$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t1"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c2">
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="column.id" value="id2"/>
    </extension>
    </field>
    </class>
    <class name="C2" objectid-class="C2$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t2"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c1">
    <extension vendor-name="kodo" key="dependent" value="true"/>
    <extension vendor-name="kodo" key="inverse-owner" value="c2"/>
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="table" value="t1"/>
    <extension vendor-name="kodo" key="ref-column.id" value="id2"/>
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    </package>
    </jdo>
    Needless to say, the extra column adds a lot of overhead, including the
    addition of a second unique index, for no value other than working around
    the caching defect.
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • I am facing a caching problem in the Web-Application that I've developed us

    Dear Friends,
    I am facing a caching problem in the Web-Application that I've developed using Java/JSP/Servlet.
    Problem Description: In this application when a hyperlink is clicked it is supposed to go the Handling Servlet and then servlet will fetch the data (using DAO layer) and will store in the session. After this the servlet will forward the request to the view JSP to present the data. The JSP access the object stored in the session and displays the data.
    However, when the link is clicked second time then the request is not received by our servlet and the cached(prev data) page is shown. If we refresh the page then request come to the servlet and we get correct data. But as you will also agree that we don't want the users to refresh the page again and again to get the updated data.
    We've included these lines in JSPs also but it does no good:
    <%
    response.setHeader("Expires", "0");
    response.setHeader("Cache-Control" ,"no-cache, must-revalidate");
    response.setHeader("Pragma", "no-cache");
    response.setHeader("Cache-Control","no-store");
    %>
    Request you to please give a solution for the same.
    Thanks & Regards,
    Mohan

    However, when the link is clicked second time then the request is not received by our servlet Impossible mate.. can you show your code. You sure there are no javascript errors ?
    Why dont you just remove your object from the session after displaying the data from it and see if your page "automatically" hits the servlet when the link is clicked.
    cheers..
    S

  • I can attach an image to SAP CRM WebUI but was not able to view it

    Dear Experts,
    I was trying to attach an image document to SAP CRM WebUI through cl_crm_documents (Method :- create_with_table) by passing the binary value.
    I receive a string value for the image from IOS team and I convert the same to Xstring and binary in the code. And pass the binary value to the method "create_with_table".
    And I could see the document gets attached. When I try to open the same. The image looks like a small cross bar(i.e :- As if we try to open an unsupported file format.) Though I tried passing both jpeg and png files.
    On the other hand, when I try to attach the same image manually in WebUI. I could view the attached image perfectly. Please find the below code snippet I have used.
    Help me out in getting it resolved.
    CONCATENATE it_flup_gen2-or_img_faci_desc '.pdf' INTO ls_file_access_info-file_name.
    * Convert string to Xstring value for FACI Image
       CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
         EXPORTING
           text     = it_flup_gen2-or_img_faci
           mimetype = 'application/pdf'
         IMPORTING
           buffer   = lv_faci_xstr
         EXCEPTIONS
           failed   = 1
           OTHERS   = 2.
       IF sy-subrc = 0.
         CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
           EXPORTING
             buffer        = lv_faci_xstr
           IMPORTING
             output_length = lv_len
           TABLES
             binary_tab    = lv_file_content_binary.
    * Assign file properties
         ls_file_access_info-file_size  = lv_len.
         ls_file_access_info-binary_flg = 'X'.
         ls_file_access_info-file_name = ls_file_access_info-file_name.
         ls_file_access_info-mimetype   = 'application/pdf'.
         APPEND ls_file_access_info TO lt_file_access_info.
    * Assign business object
         ls_business_object-instid  = lv_guid.
         ls_business_object-typeid  = 'BUS2000125'.
         ls_business_object-catid   = 'BO'.
    ** Fill property values
    ** Get the unique name for the Attachment
         ls_properties-name  = skwfc_prop_relative_url.
         ls_properties-value = it_flup_gen2-or_img_faci_desc.
         APPEND ls_properties TO lt_properties.
    ** Get the decription and title
         ls_properties-name  = skwfc_prop_description.
         ls_properties-value = it_flup_gen2-or_img_faci_desc.
         APPEND ls_properties TO lt_properties.
    ** Get the document mime type
         ls_properties-name  = skwfc_prop_mime_type.
         ls_properties-value = 'application/pdf'.
         APPEND ls_properties TO lt_properties.
         ls_properties-name         = 'LANGUAGE'.
         ls_properties-value        = sy-langu.
         APPEND ls_properties TO lt_properties.
       ENDIF.
    * Creating a document with provided data
         CALL METHOD cl_crm_documents=>create_with_table
           EXPORTING
             business_object     = ls_business_object
             properties          = lt_properties
             file_access_info    = lt_file_access_info
             file_content_binary = lv_file_content_binary
             raw_mode            = 'X'
           IMPORTING
             loio                = ls_loio
             phio                = ls_phio
             error               = ls_error.
         IF ls_error IS  INITIAL.
           CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
             EXPORTING
               wait = 'X'.
         ENDIF.
    regards,
    Sabarinathan

    Hi Deepika,
    Thanks for the response. If you go through my code snippet I have given, I have already mentioned the mimetype as "application/pdf" for pdf document and used the same in my coding. It still doesnt help out.
    regards,
    Sabarinathan C

  • Is it possible to use variant configuration (with a Non-SAP solution) when creating ERP sales orders in SAP CRM WebUI

    Hello,
    our customer plans to use a Non-SAP solution for variant configuration (Camos) in SAP ERP (ECC 6.0) and in SAP CRM 7.0 EHP1 as well.
    ERP sales orders (and ERP quotations) should be created in SAP CRM (CRM WebUI).
    Is it possible to use variant configuration (with an external variant configuration tool) when creating ERP sales orders and quotations in the SAP CRM WebUI or do we have to implement SAP IPC for this?
    Thanks in advance.
    Regards,
    AEV

    Dear AEV,
    I think LORD (lean orders) should work with variant configuration as well. In the note 1236015 there is not restriction listed. However you need lord2 activated in ECC, and ECC system should be on EHP4.
    Best regards
    Rene

  • Bridge update does not fix caching problems.

    Dear Adobe,
    The 5.0.1.23 update for Bridge CS6 does NOT fix the problem of constantly re-caching layered TIF files.
    I originaly reported the problem here on May 16, 2012.
    http://forums.adobe.com/thread/1007560
    At that time I also submitted a bug report via photoshop.com, and received an e-mail response from Adobe support confirming the problem had been replicated in their lab and promising a fix in the next update.
    I've since tracked several other reports of this bug and related cache problems.
    I assume that, at best, we will have to wait another 6 months or more for the next update. How can I assure this bug will be addressed?

    redcrown on guard wrote:
    The 5.0.1.23 update for Bridge CS6 does NOT fix the problem of constantly re-caching layered TIF files.
    At that time I also submitted a bug report via photoshop.com, and received an e-mail response from Adobe support confirming the problem had been replicated in their lab and promising a fix in the next update.
    Thank you for this bit of information. Maybe it means I can stop the deactivations/uninstall/reinstall/reactivate cycle to try yet another solution. And hopefully, this will stop the re-caching problem with other than tif files.
    regards
    *S*

  • Caching problem in Chrome and Firefox

    Hey folks,
    I ran into a weird problem.  I created a video player based on the Strobe Media Playback.  I added a couple of plugins.  This player is used to watch progressive download FLV files.
    I ran into the following issue.  I watch part of a video.  I select another one.  Then I select the previous one again.  Only the cached portion of the first video is shown.  The entire video will not be downloaded again from the server, but only the portion already cached on the client.
    This problem is really bad in Chrome.  When I restart FF, I can watch the entire video.  Not in Chrome.  The only way to solve this in Chrome is to clear the cache.
    Any ideas?
    The website is live, so you can test this yourselve.  http://www.submergeproductions.com/videos.aspx
    All help very welcome, because this is a major issue.
    Follow up.  I made a quick fix.  I added a random number to the FLV url to force a redownload from the server, but this quite a dirty fix. I would rather have a restart/continuation of the download if the file was only partially downloaded.
    Thanks,
    Peter

    Hi Silviu,
    the reason why it works now is because I uploaded a modified version.  I append "?<random number> to the URL.  That prevents caching problems because the browser hasn't got the version cached.  But I still report it as a bug.
    Peter

  • Caching problem of servlet

    Hi guys
    We are facing this problem of caching within our project. The project aims to generate a html code to pick up some rich media ads details at random and displaying on the html file where the generated code is expected to be pasted. We developed two servlets, one which extracts the ads from the database randomly and then depanding on the ad type it calls the other servlet as src of an iframe, which in turn puts all code for displaying the rich media ads. The script which we are generating for the user to paste onto their pages is:
    <script LANGUAGE="JAVASCRIPT" src="http://192.168.1.6:8080/advert_java/servlet/GetAdServlet?region=1&zone=1&type=nossi&cachevar=yes">
    </script>First servlet (GetAdServlet) returns the javascript statements and thus is called using this generated code. Now cotents of the iframe are supplied by the second servlet ie richMediaServlet. This servlet is called like
    iframeURL = fullHttpDir+"/servlet/RichMediaServlet?";
    iframeURL += "bannerCode="+ RNBanner (BannerCode to be called);
    out.println("document.write(\"<iframe  src='"  + iframeURL +  "' height=" + hheight +" width="+ wwidth + " SCROLLING=no FRAMEBORDER=0 MARGINWIDTH=2 MARGINHEIGHT=2 onfocus='window.focus(); return iframeFocus()'>\");");
    out.println("document.write(\"</iframe>\");");This richmediaServlet returns HTML into <iframe>. when richmediaservlet is called, a parameter 'bannerCode' is passed. then richmediaServlet fatches the banner from the database and displays the banner into the <iframe>.
    Now the problem comes when we run the html file containing the script tag mentioned above, and refresh our page, ideally it should pick the ads randomly and pass it on to RichMediaServlet.
    I also try debugging both servlets. I called the getadservlet from javascript mentioned above and put debugging info in both the servlets, now for every refresh we do on the html side, we are getting a different random bannercode in adservlet but in richmedia when we print the bannercode received in querystring it is taking an older value which was displayed some time back and keeps on doing this for quiet a long time, making it look like some caching problem of RichMediaServlet.
    Instead when we tried to put the same html <script> code into another servlet's doGet, everything seems to be working fine.
    i have also used the following code to prevent the caching on both the setvlets
    long currentTime = System.currentTimeMillis();
    response.setHeader("Cache-Control", "no-cache, must-revalidate");
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("Last-modified", currentTime);
    response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");     and following in the iframe's head tag before the iframe tag in the getAdServlet.
    out.println("document.write('<head>');");
    out.println("document.write('<meta http-equiv=\"Cache-Control\" content=\"no-cache,must-revalidate\">');");
    out.println("document.write('<meta http-equiv=\"Pragma\" content=\"no-cache\">');");
    out.println("document.write('<meta http-equiv=\"Last-modified\" content=\""+ currentTime + "\">');");
    out.println("document.write('<meta http-equiv=\"expires\" content=\"Sat, 6 May 1995 12:00:00 GMT\">');");
    out.println("document.write('</head>');");I request you all geeks to try and help me to your best. The project is at its final stages and in high urgency now.

    i think the caching is being in the browser, with the iframe.
    You should try passing a random param to the servlet in the iframe URL, something like:
    var a = Math.random() * 10000000; //for example
    out.println("document.write(\"<iframe  src='"  + iframeURL +"&rand="+a+"' height=" + hheight +" width="+ wwidth + " SCROLLING=no FRAMEBORDER=0 MARGINWIDTH=2 MARGINHEIGHT=2 onfocus='window.focus(); return iframeFocus()'>\");");
    out.println("document.write(\"</iframe>\");");
    ...It should force the browser to ask for the servlet again
    hope this helps...

  • Caching problem with Internet Explorer

    Hi,
    users of an ApEx application I'm working on are reporting that when they're deleting an uploaded file from one of the pages in the application (using Internet Explorer), the link to the file remains. This is however not an issue in FireFox, and after some research I found out that this is a caching problem in IE. It can be avoided by making IE check for newer versions of stored pages every time a page is visited, but it is clearly not an option to ask all our users to do this. I also learned that it can be fixed by randomizing the file URL every time the page is loaded, but I don't know how to randomize a URL, nor how to make it still point to the uploaded file.. Any help would be appreciated!
    Thanks,
    -Kjetil

    Kjetil,
    This problem is also there if you use Flash Charts with a drilldown. See this posting:
    http://www.deneskubicek.blogspot.com/
    It will also link you to a corresponding thread and to an example in my demo application.
    The idea with a random number changing you link is the same I used in extending my
    xml chart package.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • I need to create a  Notification in CRM WebUI  When we create a new contract

    Hi Experts,
    I am working in Utility Industry and as per the business requirement I need to create a  Notification in CRM WebUI
    When we create a new contract & click on apply button.
    As per my knowledge we are not maintaining Notification information in CRM System. So could you please
    help me to call IW52 during the new contract creation when we click on apply button.
    Thanks
    Roli

    Hello Roli,
    If your requirement is to launch Transaction IW52 after clicking apply button then you can use Transaction Launcher tool in CRM to integrate to CRM WebClient UI.
    Calling Transaction Launcher on user action
    BOR object or ITS based Transaction Launcher
    Regards,
    Ashik

  • Integrating WebDynpros to CRM WebUI - impossible?

    Hello Experts,
    My client is upgrading from PCUI (CRM 5.0) to WebUI (CRM 5.2). We have a WebDynpro (using ABAP) application that lists out sales orders for various customers. On clicking a Sales order #, the application used to pull up the PCUI view of the sales order. We would like to retain the WebDynpro and integrate it with the WebUI framework to accomplish the same functionality. (i.e to deploy the WebDynpro within the WebUI framework and have the ability to navigate in and out Sales order WebUI component from the WebDynpro).
    My developers tell me that there is no simple means to integrate the WebDynpro to the WebUI framework and that we will have redevelop the entire application in WebUI from scratch. I find this hard to believe.
    Is this experience or is there a pragmatic solution to integrate WebDynpros with WebUI? If so, what is the technical solution? I did search this forum and internet but could not find any answers so far.
    Cheers,
    Arun K

    Hi Arun,
    Not sure if this forum would fetch you the right answers.
    But from what I have an understanding about how CRM 2007 works, it is a framework which is a combination of BSP layered on WebDynpro architecture. The idea is to have the flexibility of BSP and the power of WebDynpro.
    Now one way to 'resue' the webdynpro application is to use the Navigation links in transaction CRMC_UI_NBLINKS. This should be possible since both these applications reside within the same ES repository and require the same authentication for access.
    But by doing this, we loose out on the very essence of why we need to remodel applications using CRM WebUI. We would no longer be able to make use of the configuration capability provided by WebUI to render UIs. Thus you would not be able to harness the UI prowess of CRM WebUI in the screen that lists out the Sales Orders. But if that never was your intention in the first place, then you are good to go.
    Once you are successful in associating the WD application via the URL launcher, you would still need to build the URL to navigate from the Sales order link to the the subsequent screen (whcih I believe would be the revamped screen from PCUI to WebUI) . This, in my opinion should not be difficult, since :
    1) the navigation mechansims is similar in WebDynpro and CRM WebUI
    2) There is a provision to build URLs using classes/methods provided in the CRM WebUI framework, I am unsure of the method/class names, but they do exist.
    I would not vouch for everything that I have mentioned since its purely conceptual. I have just applied the concepts I am aware of in this situation.
    But the bottom line is...Its not impossible and having to start from scratch is definetely an overstatement. However, the way to achieve it completely depends on the nature of your requirement. If deploying tha WD application within WebUI and navigation is the only concern, then it is definetely possible.
    Best Regards,
    Rashmi.

Maybe you are looking for

  • Can not find server

    hi, i have installed coldfusion 6.1 standard version on my machine with built in server. it works fine on my machine having port 8500. when i execute http://xxx.xxx.0.20:8500 on my machine it display me coldfusion root directory. here xxx.xxx.0.20 is

  • Itunes 7 problem

    Ever since I upgraded to itunes 7, my ipod will not work with itunes. It is recognized in windows and itunes. It says my ipod is corrupt and needs to be restored. I hit the restore buttton and after awhile it has an unknown error 1418 saying it canno

  • Plug-in information in Linux

    Hi, I am looking for plug-in information for LabVIEW in Linux as we are getting an error "Unsupported Item, The plug-in for the selcted item is not installed on your system or  plug-in has expired License". The thing is we could not be able to see th

  • Report showing overdelivery material and its value.

    A report is required showing the material received by giving overdelivery/unlimited tolerance.  It should give the details of the material,quantity excess received, excess quantity value. How to get it. Pl reply. T.SRINIVAS

  • 888k Error in ULS Logs for File System Cache

    Hello, We have a SharePoint 2010 farm in a three-tier architecture with multiple WFEs and APP servers. Roughly once a week we will have a number of WFEs seize up and jump to 100% CPU usage. Usually they come in pairs; two servers will jump to 100% at