Caching problem for iViews with URL parameters

Hi,
We have a big problem with <b>iView caching.</b>
Our objective is to use <b>SAP Netweaver Portal 2004s & External Facing portal </b> for a public Internet Portal
For performances reasons we need to activate iviews caching on the principal iviews. But the problem is that a page called with different parameters generates exactly the same html result
<u>example --> The display of a news item:</u>
/irj/portal/anonymous/index.htm?rid=/news_123.xml
gives the same cached result as
/irj/portal/anonymous/index.htm?rid=/news_456.xml
The caching level is "shared" because all users are anonymous !
The iview caching seems to be occuring on component (iView) level and not on URL level
Can someone help ?
At the moment we have performances of 10 seconds for a page, and with caching it's becoming less than 1 second, so we really need the caching !!!
Thanks
Laurent

Hello
I hope you get your answer since, nevertheless it could help other.
Have you tried to put the cache level to "session" instead of "user" or "shared" at the iview level?
Regards
Benoit

Similar Messages

  • Why EPCM.donavigate doesnt work for Iview with isolation type embedded

    I am using EPCM.donavigate in JavaScript  in portal jspdynpage to navigate to different page. This works fine when my iView  isolation method is URL but it doesnt work when it is embedded. Am I missing something here? some import?
    Regards,
    Nitesh

    Hi,
    In Javacript of Portal jsp page, we are calling EPCM.doNavigate method  as below:
       function callfunc(obj,externalLink,rid,portalPageURL,InvalidLink)
                   return EPCM.doNavigate('ROLES://' + obj)     
    Final URL look something like this...
    portal_content/com.sap.pct/com.sap.prod_fld/com.sap.roles/com.sap.rol_career/com.sap.wks_1_1/Folder_2/com.sap.pag_1_1_2
    This Code works only for Iviews with URL Isolation but doesnt work with Embedded Iviews as my Page which contains this Iviews is also Embedded and Desktop is also embedded.

  • Start IC WebClient with URL Parameters

    Hi,
    we are currently implementing IC WebClient 5.0. One of the customer needs is it, to start the IC WebClient with a service order ID, so that the order is displayed immediately without searching and confirming an account. Is it possible to start the IC WebClient with URL parameters to solve that issue?
    Thank you for you help in advance!
    Marcus Walena

    Hallo Marcus,
    This is currently not possible.
    However, you don't need to always confirm the customer. You can use the agent inbox to do the search and navigate directly to the service order. However, if you want to do any processing after that, then you will need to identify the customer. The other option is to implement this yourself.
    BTW: It is possible to navigate via a URL to the service order directly using PC UI.
    Regards,
    Shiv

  • Still Can't Figure Out Returning to Page with URL Parameters

    Hi,
    I am trying to figuring out how after submitting a form to
    return to a previous webpage with URL parameters in it.
    Any ideas?
    Thanks,
    Craig

    I am using dreamweaver and coldfusion. I have been searching
    everywhere for the answer so if you can shed some light on this
    that would be great.
    Thanks,
    Craig

  • Cache problem for this

    Hi
    in the saw.sessionsinfo.xml file ,i change the home link prop true to false
    but it not remove from the presentation side
    below is my file
    Below is my script file
    plz check it
    give if any errors
    <?xml version="1.0" encoding="UTF-8"?>
    <resourceBundle xmlns="oracle.bi.ps.resourceBundle/v1">
    <gdexpression id="noLogoffUI" expr="session.hideLogoffLink" />
    <gdexpression id="syndicate" expr="session.syndicate" />
    <gdexpression id="canAccessDashboards" expr="privileges.Access['Global Portal']" />
    <gdexpression id="hdrLinkCatalog" expr="true" />
    <gdexpression id="hdrLinkOpen" expr="true" />
    <gdexpression id="hdrLinkAdvanced" expr="true" />
    <gdexpression id="hdrLinkHelp" expr="true" />
    <gdexpression id="hdrLinkHome" expr="false" />
    <gdexpression id="hdrLinkGSearch" expr="true" />
    <gdexpression id="hdrLinkNew" expr="true" />
    <gdexpression id="hdrLinkDashboards" expr="true" />
    <gdexpression id="hdrLinkSettings" expr="true" />
    <gdexpression id="bipKeepAlive" expr="session.bipKeepAlive" />
    <gdexpression id="bipWebUrl" expr="system.config['AdvancedReporting/WebURL']" />
    <gdexpression id="bipExternalRepository" expr="system.config['AdvancedReporting/ExternalRepository']" />
    <gdexpression id="biComposerContext" expr="system.config['BIComposer/ContextPath']" />
    </resourceBundle>
    plz anybody give solution for this
    Edited by: ARYABRAHMA on Feb 5, 2013 3:38 AM

    is cache problem for this

  • Problem with URL parameters& Forms

    First off, this is a school assignment so I am not looking for code, just suggestions. I e-mailed my prof, but she hasn't gotten back to me.
    I have a nim program, that game where you pick matches up till someone picks up the last match wins. I need to change the program so that it accepts a variable integer to change the starting number of matches. I opted to use a form, but this has gotten me into some trouble. My prof. used url parameters to determine who should go first, the human or the computer.
    Basically, I need to submit the variable in order to post the number, but I also need to redirect depending on who goes first.
    This is what she did with the URLS:
        [<a href="<%=root%>/StartServlet?first=computer">Computer</a> (that's me!)]
        [<a href="<%=root%>/StartServlet?first=human">Human</a>]My form is just a simple, standard form at the moment:
        <form name="input" action="<%=firstMover%>" method="post">
            <input type="text" name="matches">
            <input type="submit" value="Submit" name="Submit" />
        </form>Variable Retrieval:
            match= request.getParameter("matches");
            matchCount= Integer.parseInt(match);There is a lot of code associated with this program. So if you need more please just ask.
    Any suggestions are greatly appreciated as I have no idea...

    That might work, but I need to allow the user to choose who goes first, computer or human. I'm not sure if I can do that with a hidden form. (Maybe I am just not seeing it the way you are.) Also, she analyzes whether the person chose computer or human first in the startservlet class. It looks like she parses the URL there and grabs the parameters.
    Your suggestion gave me an idea... but I can't get the program to recognize my variable. I don't think I am sending it to the right place.
    Form:
    <form name="input" action="<%=root%>/StartServlet?" method="post">
            <input type="text" name="matches">
            <select name="firstMove">
                <option value="Computer" checked>Computer</option>
                <option value="Human">Human</option>
            </select>
            <input type="submit" value="Submit" name="Submit" />
        </form>    My request of parameters:
    public class StartServlet extends HttpServlet {
        /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
        * @param request servlet request
        * @param response servlet response
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            String match= request.getParameter("matches");
            int matchCount= Integer.parseInt(match);
            Nim nim = new Nim(matchCount);
            HttpSession session = request.getSession();
            session.setAttribute("nim", nim);
            String first=request.getParameter("firstMove");
            if ("computer".equals(first)) {
                try {
                    nim.machinePlay();
                } catch(NimException e) {}
            }

  • Problem for scheduling with FTP and default FTP destination parameters

    <span class="postbody">Hi, <br />  <br /> My version of BOXI is Release 2 SP2 <br />  <br /> I want schedule a report with default parameters found in the FTP destination of the Job Server (in my case: DesktopIntelligenceJobServer). <br />  <br /> I have using a sample found in BO but it&#39;s work with specific parameter. <br />  <br /> It&#39;s on java but can be changed on JSP: <br />  <br />  <br /> </span><table border="0" cellspacing="1" cellpadding="3" width="90%" align="center"><tbody><tr>        <td><span class="genmed"><strong>Code:</strong></span></td>     </tr>     <tr>       <td class="code"> <br /> // before is the query for find the report in oObjects <br />          IInfoObject infoObject = (IInfoObject)oObjects.get(0); <br />          ISendable obj = (ISendable)infoObject; <br />           <br />          IDestinationPlugin destinationPlugin = (IDestinationPlugin)iStore.query("SELECT TOP 1 * " +  <br />                            "FROM CI_SYSTEMOBJECTS " +  <br />                    "WHERE SI_NAME=&#39;CrystalEnterprise.Ftp&#39;").get(0); <br />  <br />          //Retrieve the Scheduling Options and cast it as IFTPOptions <br />          //This interface is the one which allows us to add the file location <br />          //for the scheduling <br />          IFTPOptions ftpOptions = (IFTPOptions) destinationPlugin.getScheduleOptions(); <br />          ftpOptions.setServerName("myip"); //FTP Server name or IP address <br />          ftpOptions.setPort(21); //Port number of FTP server...default is 21 <br />          ftpOptions.setUserName("gcr"); //can either use an account or logon <br />          ftpOptions.setPassword("mypass"); <br />           <br />          List destFiles = null; <br />          destFiles = ftpOptions.getDestinationFiles(); <br />          destFiles.add( "/BOFTP/MyReport.pdf");                 <br />          IDestination destination = obj.getSendToDestination();    <br />          destination.setFromPlugin(destinationPlugin); <br />           <br />          iStore.schedule(oObjects); <br /> </td>     </tr></tbody></table><span class="postbody"> <br />  <br /> If I comment some line for using defulat parameters, it&#39;s not work correctly : <br />  <br /> </span><table border="0" cellspacing="1" cellpadding="3" width="90%" align="center"><tbody><tr>        <td><span class="genmed"><strong>Code:</strong></span></td>     </tr>     <tr>       <td class="code"> <br /> // before is the query for find the report in oObjects <br />          IInfoObject infoObject = (IInfoObject)oObjects.get(0); <br />          ISendable obj = (ISendable)infoObject; <br /> /* begin comment          <br />          IDestinationPlugin destinationPlugin = (IDestinationPlugin)iStore.query("SELECT TOP 1 * " +  <br />                            "FROM CI_SYSTEMOBJECTS " +  <br />                    "WHERE SI_NAME=&#39;CrystalEnterprise.Ftp&#39;").get(0); <br />  <br />          //Retrieve the Scheduling Options and cast it as IFTPOptions <br />          //This interface is the one which allows us to add the file location <br />          //for the scheduling <br />          IFTPOptions ftpOptions = (IFTPOptions) destinationPlugin.getScheduleOptions(); <br />          ftpOptions.setServerName("myip"); //FTP Server name or IP address <br />          ftpOptions.setPort(21); //Port number of FTP server...default is 21 <br />          ftpOptions.setUserName("gcr"); //can either use an account or logon <br />          ftpOptions.setPassword("mypass"); <br />           <br />          List destFiles = null; <br />          destFiles = ftpOptions.getDestinationFiles(); <br />          destFiles.add( "/BOFTP/MyReport.pdf");                 <br />          IDestination destination = obj.getSendToDestination();    <br />          destination.setFromPlugin(destinationPlugin); <br /> end comment */          <br />          iStore.schedule(oObjects); <br /> </td>     </tr></tbody></table><span class="postbody"> <br />  <br />  <br />  <br /> If my report is set to SMTP by default, the scheduling failed and want using SMTP protocol <br />  <br />If my report is set to FTP by default, the scheduling work. I want forcing the default FTP in JobServer in the code but i don&#39;t find this. <br /> I don&#39;t find any explain in the SDK of BOXI. <br /> could you have a solution for this ? <br />  <br /> Thank you <br /> gcr</span>

    I've found a solution ....

  • How to work with URL parameters?

    Hi,
    I'd like to use URL parameters in my WDA application and then call the application with HTTPS://....?myparam=12345
    and depending on the value of myparam I'd then load some data.
    My first problem is how to declare this parameter. I added an importing parameter "myparam" to the method HANDLEDEFAULT for the DEFAULT starter plug of my window. Is that right? Then I declared this same parameter on tab Parameters of my application and left the value empty.
    The second problem is how to get the parameter value when the application gets called. I pasted HTTPS://....?myparam=12345 into my browser but in the method HANDLEDEFAULT the value of the parameter was initial... What am I doing wrong?
    Any hints are appreciated
    Ira

    Hi Regina,
    >Create the parameters you like as importing parameters >of your startup plug of your window.
    Umm, how? The only way I could add something to the startup plug is to have importing parameters in the method HANDLEDEFAULT. Is that what you mean?
    >Then you have to pass the URL parameter to your >application, otherwise it will dump. BUT you can define >a default value at the application. Go to the property >tab in the application, choose your parameter from the >value list, and set some suitable default value.
    Yes, but my problem is then that the default value of the parameter is always known. I don't know how / where to extract the actual value of the URL parameter. How do I access this value? (and where, which method?)
    Thanks,
    Ira

  • ABAP WebDynpro app calling Transaction iview with Dynamic Parameters..?

    Good day!
    I need to code a call to a transaction (with dynamic parameters) from an Abap WD application.  It appears that to achieve this, the app needs to call a new portal transaction iview, passing the parameters in the call..? 
    This should ideally be via a Sapgui for Windows, but Html also an option (does it matter with regards to the method used?). 
    Kindly assist with advise/instructions, idealy with sample code extract to illustrate (new to Abap WD)...
    Kind regards
    j

    Hi
    this will help you doing so
    http://help.sap.com/saphelp_nw04s/helpdata/en/18/f96f4132f15c58e10000000a1550b0/frameset.htm
    Use BUSINESS_PARAMETERS to pass the data
    Abhi

  • Cache problem for included stylesheets on remote server

    Hi.
    We are building an XSL page that includes changing named templates through xsl:includes where the included stylesheet is on a remote server.
    The content of the remote stylesheet can change at any time. The problem is that the Oracle XSLT caching mecanism does not "see" this, so we get the old page..
    How can we turn the caching off? Is it possible to turn caching off for selected stylesheets?
    Any clues or pointers?
    Regards
    Lionel

    I by no means want to sound belittling... so don't take me that way..
    You need to understand the basics of files, and networks. You can't check if a file exists on another machine if you don't have a network protocol to communicate with. The reason \\ works under windows is because you are using an invisible (to you) network protocol. You probably know it as windows sharing. If your file were not shared under it's own name, that method wouldn't work (I'm assuming your entire drive is shared without a password... a horrible security flaw...but one thing at a time)
    You can use FTP protocol to check if a file exists. You can either send the raw text FTP commands through a socket connection in java, or you can use a freely available FTP java API to make it a bit more simple. You could also write a small java server on the other machine, and have it tell you what you need to know with a socket connection. In this way, you have created your very own network protocol.

  • Help with URL Parameters and HTML DataSet please.

    Hello everybody!
    Looking at the example page: "Using URL Parameters to Control Data Regions", towards the bottom it gives an example of "Set by Product Name", from an XML DataSet using the following sample code:
        //Data set for the second example. var ds2 = new Spry.Data.XMLDataSet("../../demos/products/products.xml", "products/product");    //If the URL parameter 'product' has a value, set the XPath that includes a filter and then load the data. if (params.product){    ds2.setXPath("products/product[name = '"+params.product+"']");    ds2.loadData(); }
    Can anyone please explain how to amend this to work with a HTML Dataset rather than XML?
    The first example on the page (Set by RowID) works unchanged for the HTML DataSet, but I don't know what I should replace the 'setXPath' line with.
    I see this has been asked before, but I'm afraid I can't find any answer that works (or, more often, that I can understand properly!)
    Grateful for any suggestions.
    Len

    Wow! Thanks Ben.
    I hadn't thought about using Stacked Containers.
    I'll test this out tonight and let you know how I get on.
    Cheers,
    Len
    A few days later and at last I've been able to test your suggestions.
    I think I must be doing something wrong as the links and content don't work at all:
    http://www.myosanthe-bernhard-huber.com/html/stack1.php
    I know that the stacked containers do work (http://www.myosanthe-bernhard-huber.com/html/stack0.php), so I guess there are some errors in the coding somewhere.
    Would you mind reviewing, please?
    The important thing for me (in this case, anyway) is to get the called page's content using its 'Ref', and I'm not sure what benefit there is in using stacked containers as opposed to master-detail containers.
    The master-detail method works reasonably well for me at
    http://www.myosanthe-bernhard-huber.com/html/fotoalbum.php and sub-pages.
    Perhaps I am betraying my lack of knowledge, but as I said in my original post, I think that I just need the HTMLDataSet equivalent to:
        //Data set for the second example.
    var ds2 = new Spry.Data.XMLDataSet("../../demos/products/products.xml", "products/product");
       //If the URL parameter 'product' has a value, set the XPath that includes a filter and then load the data.
    if (params.product){
       ds2.setXPath("products/product[name = '"+params.product+"']");
       ds2.loadData();
    which as you can see uses an XMLDataSet, but does exactly what I need.
    (see http://labs.adobe.com/technologies/spry/samples/data_region/DataWithURLParams.html)
    Thanks again for your help, Ben.
    Len
    Message was updated by: ec1lennie

  • Mapping Issue(UDF) in HTTP-RFC scenario with URL parameters - Urgent

    Hi All,
    I am working out an HTTP-RFC scenarion wherein there is no xml data to be pushed.
    The data will be coming in the url parameters.
    Also we'll exposing our url(created by SAP PI) to 3rd party system to push data in terms of url parameters.
    So how do I do mapping? Also what UDF code will contain?
    Since I'm working on this kind of scenario for the first time, I need every help from you guys.
    Thanks & Regards,
    Amit Patil

    Hi All,
    I have worked on RFC to HTTP scenario wherein URL have to be passed. I used UDF in d same.
    But now the case is reverse, how shall I move ahead with what source message type(in the mapping) and how to do mapping.
    What kind of UDF will be useful here?
    I am completely blank in this kind of scenario where 3rd party system is going to pass four parameters on URL link craeted by us since its an HTTP to RFC scenario.
    Please guys help me! Give me some inputs.
    Thanks,
    Amit Patil

  • Content presenter: datasource based on CMIS query with URL parameters

    Hi all,
    I am trying to create a page containing a content presenter taskflow that is based on a CMIS query containing URL parameters. In my component properties I define the following query for my datasource:
    +SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xqblIntranetSubGroep='${param.qblSubGroep}'+
    I have a URL parameter qblSubGroep containing the value "Nieuws".
    Somehow my page does not show any content. It looks like the parameter value is not passed to the data source query. When I change my query to
    SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xqblIntranetSubGroep='Nieuws'
    so, I hardcode the value of my URL parameter in my query, the expected content items are shown.
    Also, I have another page containing a content presenter taskflow for a single item, based on the data source:
    +${'WebCenterSpaces-UCM#dDocName:'}${param.dDocName}+
    In this case, URL parameter values for dDocName are passed correctly and content presenter is showing the document with dDocName as entered in the URL.
    Does anybody have any idea on how to solve this probem?
    regards,
    Harold

    hi all
    when i try using cmis query with Arabic characters it display no results .
    SELECT * FROM ora:t:IDC:GlobalProfile WHERE AND ora:p:xAgrPressMag LIKE'جريدة الرياض'
    this is the query i am using and the value inside ora:p:xAgrPressMag is correct and i try search this value inside content presenter normal search and it display results i am afraid that cmis query doesnt accept arabic characters
    any suggestion please its top urgent
    best regards
    Edited by: 975169 on Feb 26, 2013 12:59 AM

  • Starting R/3 Transaction iView with dynamic parameters

    Hi,
    I looked around here for a while searching an answer but couldn't find one. Excuse me if I overlooked something about this rather simple question (I guess).
    I have a BW query iView which displays a list of items, lets say order numbers. I would like to click on this number and open a specific R/3 transaction iView with the given order number processed.
    I succesfully implement this iView with the property "application parameters" in the form "XYZ=0012345" and it works. But of course, the order number should be dynamically set. I tried to call the iview via the "NavigationTarget=ROLES:/.../iViewID?XYZ=0012345" etc. which starts the transaction, but the parameter is not recognized.
    Thanks for any useful hints.
    Uwe

    Hi Uwe,
    perhaps the Guide:
    <a href="http://service.sap.com/~form/sapnet?_SCENARIO=01100035870000000112&_SHORTKEY=00200797470000065927&_OBJECT=011000358700000384062005E&">How To Enable Portal Navigation From BW to PCUI Applications</a>
    Gives you some hints.
    Regards
    Gregor

  • Capturing a dynamic swf with url parameters?

    Hi,
    I'm wondering if it's possible for users to capture an swf
    with URL variables?
    for example ->
    www.somesite.com/foo.swf?param1="value"&param2=value"
    normal swf rippers will catch only the base "naked" swf, but
    is there a way to fully capture the whole flash object after it has
    rendered the parameters?
    (for example, if it's an ad, the full ad with all the
    elements will be captured)
    this can help me to quickly generate demo stand-alone
    instances for some apps i'm building, instead of compiling them
    separately

    oops...sorry for double posting..

Maybe you are looking for