Modifying a web template

Can anyone describe to me the way to find a web template file? I would like to modify one of the templates with this script
<SCRIPT LANGUAGE="JavaScript"> var loginname = top.theApplication().GetProfileAttr("Login Name"); document.cookie = 'siebeluserid='+loginname </SCRIPT>
I need this client side cookie with the username so I can monitor the sessions by username in Real User Experience Insight. The first Siebel request from the browser after the SSO authentication is /emedical_enu/start.swe
Thanks-
John

Hi John,
You may need to add the script in the Home Page Web Template. From the looks of it you are using the Siebel Life Sciences (correct me if I am wrong) Application.
The web template file for the Login Page will be: SWELogin.swt
The web template file for the main landing page on successful login will be: LS_View_25_50_25.swt
Let me know if you need any clarifications,
With Regards,
Tanmay Jain

Similar Messages

  • Query designer report and Web Templates

    Dear All,
    I have a very basic/stup doubt.
    Are reports made through Bex Query Designer and Web Templates the same?
    Actually there is a following requirement:-
    "Navigate from a BW Web template to a PCUI application". I have a document related to it but it gives me step on how can i modify my web templates to achieve this functionality. But all my reports are made through query designer and it available to user through Web Dynpro portal.
    So i just wanted to know is Web Template and Reports made through query designer the same? So that i can implement the changes in my report.
    Thanks.

    Hi Anup,
    by using web templates we can use N number of data providers (Queries) for a single analysis view with various available options. - N number of Queries can be assigned to Web template to create a web report
    but by using the Query designer ,you can create a single report which may not provide sufficient information to the client and the number of features are less compared to web template.
    as you mentioned that you are using the web dynpro.
    i think the web dynpro requires the web reports as an iview and ths iview can be created by using the Query designer and or web app designer.
    so the most clear view can be given to client using the WAD reports

  • Modify Web Template Parameters Using API or Javascript

    Hello Experts,
    I am using the Web Application Designer (WAD) to build a template.  We are on BW 7.01 (EHP1).  I am trying to find a way to set a command within the template to change one of the parameters of the Web Template itself.  I am very familar with how to use the SAP provided API Commands to change the Web ITEM parameters (like ANALYSIS item, CHART item, etc), but I do not see an API that will allow me to change the parameters of the Template itself.
    For example, in WAD, on the left hand side, you can select the "Web Template" item and set the properties.  For example:
    Display Variable Screen [VARIABLE_SCREEN]
    Reset Variable Values to Default [CLEAR_VARIABLES]
    Show Personalized Variables [SHOW_PERSONALIZED_VARIABLES]
    I would like to add a button to the template where I can allow the user to change some of these properties, but I don't see a way to do it.  Does anyone have any experience coding this?
    Thanks in advance for your help.
    Jose

    Hi ,
    According to your description, my understanding is that you want to retrieve list item values related to a specific version using JavaScript.
    We can also see the a specific version via the url …/_layouts/15/Versions.aspx?list=GUID….
    We can use the SharePoint List web service that exposes
    Lists.GetVersionCollection Method to return version information for the specified field in a SharePoint list.
    There are some similar posts for your reference:
    https://social.msdn.microsoft.com/Forums/en-US/02d29ce7-1a2b-4e91-9319-6dd43cde0bee/getting-the-version-history-of-a-list-item?forum=sharepointdevelopment
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/4bd80e0e-a605-4c5e-b534-a189c346b978/csom-fetching-list-item-version-history-programmatically?forum=sharepointdevelopment
    (the last reply of Patrick)
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Error on page from BW 3.5's default web template

    Hi Guru's,
    We have a problem in our new BWD BW 3.5 environment where we are getting the "error on page" error from SAP-generated code and we aren’t sure why.
    On our old BWT BW 3.0b platform, we have been using a modified version of the 0query_template called Z_QUERY_TEMPLATE. We did a system copy of BWT to BWD, our new BW 3.5 platform. At that point in time we would see our old BW 3.5 default template for queries that we ran. We wanted to see what the new default web template looked like in BW 3.5. We found where we could remove the Z_QUERY_TEMPLATE from the Web Adhoc Analysis web template setting so we could see the new features of the BW 3.5 default BEx query designer template instead of our old BW 3.0b default template.
    Now when we run a query through the BW 3.5 query designer on BWD, we are using BW3.5’s default template. The prompt web page is fine. No errors on page messages.
    However, the initial presentation of the query results displays okay, but shows "error on page" in the message bar at the bottom of the displayed page. As soon as we do any navigation on those query results that error on page goes away. If we navigate back to the initial presentation, all is still okay. If we use the context menu to go back to start, we again get the error on page.
    This error on page does not happen in BQ2 (our new BW 3.5 QA environment copied from our old BW 3.0b QA environment where we had not yet changed the default BEx Query Designer template to be Z_QUERY_TEMPLATE). We have tried several queries and in each case, we get errors on page in BWD, but not in BQ2. We used ultraedit to compare the view source output from the equivalent web pages from BWD and BQ2 and the only difference is the validity date of the data. There are no other differences in the javascript code generated by BW in the two platforms.
    The statement that Internet Explorer is saying is the problem is the same in each of the cases we have checked and that is:
    SAPBWSetFocus(anchor);
    Error: Object expected
    Code: 0
    It’s in the set_tab() function.
    <script type="text/javascript">
    <!--
    /* Calls the online Documentation via technical QueryName */
    function callquerydoc() {
      var docustart= '/sap/bw/doc/meta/fldmeta/default?tlogo=elem&objnm=' + document.getElementById('querydoc').innerHTML;
      SAPBWOpenWindow(docustart,'Documentation',800,600);
    /* Sets the displayed tab */
    /* Check, which items of the Array check_items  is not hidden.
        Change the style of the HTML tag with id Group+Area/Group+Link */
    function set_tab() {
         if (!(navigator.appVersion.substring(0,1) == '4' && navigator.appName == 'Netscape')) {
           var check_items = new Array('GR1Toolbar','GR2Chart','GR3TECommon','GR4Broadcaster');
        for (i=0;i<check_items.length;i++) {
                        hidden = true;
                       prop = SAPBWGetItemProp(check_items<i>);
                       if (prop != null){
                                           for(j=1;j<prop.length;j++){
                                                      if (prop[j][0] == "HIDDEN")  hidden = (prop[j][1] == "X");
                   anchor_item = document.getElementById(check_items<i>.substring(0,3)+'Area').firstChild;
                    if (hidden) {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTab';
                        anchor_item.title = 'Inactive Tab Page:' + ' ' + anchor_item.title; 
                    else {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTabSel';
                        anchor_item.title = 'Active Tab Page:' +' ' + anchor_item.title; 
              } /* if */
          }   /* for */
        /* Set the BexHeader invisible when running as IView */
            if (SAPBWGetProperty('RUNS_AS_IVIEW')) {
                               document.getElementById('bexheader').style.visibility='hidden';
                               document.getElementById('bexheader').style.display='none';
              anchor = window.location.hash.substring(1,50);
              <b>SAPBWSetFocus(anchor);</b>
      }  /*function */
    -->
    </script>
    Because the error goes away as soon as we navigate I’m thinking some object isn’t being created or initialized, but since the view source code of these pages are identical I’m wondering if there is some code that should be executing before this page that is not happening in BWD for some reason.
    Any help will be much appreciated.
    Thanks,
    Jeri

    Heike,
    Thanks for your help in this. BWD and BQ2 are both on the same SP. SAP_BW release 350 level 10 (SAPKW35010) with BI_CONT at release 352 level 5 (SAPKIBIEP5).
    I invalidated the server cache following your instructions and tried again, but am still having the same problem in BWD. The initial display gets the "Done, but with errors on page" message until any navigation is done.
    I am using IE 6.0.2900.2180.xpsp_sp2_rtm.040803-2158 when I execute queries on both BWD and BQ2.
    Please, do you have any other suggestions?
    Thanks,
    Jeri

  • Currency Translation at the Web Template level (standard functionality)

    Hi Experts ,
    We are currently working in BI 7.0 env. with source system ECC 5.0.
    We are working for a task where we need to make the BEx  queries enabled for currency translation .
    The requirement is :-
    The user should be enable to give/opt/choose for the follwoing options:-
    Currency type (target currency in which the translation is aimed)
    Exchange Rate ( Standard(M) or other(P) or something else) and
    Key date: The translation will be performed taking the exchange rate on that particular date.
    We do have 2 option to perform the task...
    1:- Either we do it thru currency translation type definition(RSCUR) and then attaching this currency translation for every amount key figure values at each query level. OR
    2:- If we can go and find something at the Web Template level and add/modify the template in such a way so that it gives us the functionality to translate a source currency into a desired one with desired exchange rate type (currently either M or P) and for a specific date.
    At this point of time when we do have numerous sub-areas holding hundreds of queries, we want something which should be available as the modification/addition to standard functionality at the web template level and not at the query level as changing each and every one of them and testing would be a cumbersome process and would be costly and risky at the same time. So we are just wondering if we can find something with option no. 2 and add/modify something in the standard functionality.
    Please ask for any more information required.
    Thanks very much.
    regds.

    Hi Amit,
    You would still need to define the Currency Translation using RSCUR where you would specify
    -the exchange rate type (either fixed or variable)
    -the target currency (either fixed or variable)
    -the reference date
    You don't need to modify any of your queries. You can instead use 'Translate Currency'/[SET_CURRENCY_TRANSLATION] command in WAD & specify the Currency Translation as defined in RSCUR. If you want the target currency & exchange rate type to be driven by user input, you can define these as variables in RSCUR & invoke the variable screen using 'OPEN_VARIABLE_DIALOG' in WAD for user input just before calling 'SET_CURRENCY_TRANSLATION' command.
    --Priya

  • Web Templates shortcut Not working in SAP Browser screen

    Hello All,
    I am facing a diffrent issue with Business Explorer Browser 3.x.
    When I try to open shortcuts which is for (Web templates) created in Business Explorer Brower 3.x they are not working properly.
    The addres stored for this web templates misses the server address in between.
    All the web templates were working fine before Support Pack upgrade. We recently has upgraded to SAP BW 7.02 support pack 7.
    I am not sure if this is support pack upgrade issue. Would like to know if someone faced same issue and how did they fixed it. is there any way to modify those address on PROD directly.
    Many Thanks,
    Vaishali

    Hi Vaishali,
    We also faced the similar issue and I contacted my basis team they have done some configuration in tables related to basis and then my web templates started working fine. I guess this is general issue which occurs after upgrade.
    I don't know the exact solution but you can check with your basis team.
    Regards,
    Durgesh.

  • How to embed multiple queries in one web template

    Hi,
    I've a requirement wherein I need to embed two queries in one web template. The first query displays order quantity from a particular customer and the second query displays other information for that customer. Most of my web templates i've contains only one query which i've created using 0ADHOC template saving this as diff template and modifying it. But this is the first time I have got this type of requirement wherein the user drills down on a particular customer for order quantity and then goes for other information from other query.
    Does anyone out there has any idea or suggestion as to how to do this ? One more thing I need to pass the values from one query to another which is akin to RRI concept while staying in the same web template.
    Your suggestions/advices are highly appreciated.
    Thanks in Advance,
    Rash.

    Hi Rash,
    You can do this by including 2 table web items in your template and assiging the 2 different queries as different dataproviders to each. You can try to create a drop down box to filter the customer and in its properties set DataProvider1 and DataProvider2 as the affected data targets.
    Hope this helps...

  • Error in saving Web Templates

    I am currently seeing a problem in creating new Web Templates in Web Application Designer in SMD. The error occurs when a Web Template is newly created or when an existing Template is modified but clicking the OK button in the error dialog screen allows you to proceed with saving the template.
    Message Class      Message Number   Description
    RSBOLAP               014                     Transformer exception while transforming
                                                             BEx Web Templates
    RSWADMDERR1     090                     Java-Stack check found incorrectly
                                                             formatted templates
    Is there any known corrections/ implications in regards to this error? Thank you.

    Check and make sure BI and Portal connection is configured. Use note 917950 for  checking this.
    Also make sure you have the latest WAD SP level (Sp 12)

  • Set multiple values in a web template via JavaScript

    Hi,
    I have a web template displaying a query containing a mandatory variable. Multiple values are allowed for the variable.
    By manually inserting a link in the template I succeeded in setting a single value for the variable with JavaScript, but how is it possible to pass multiple values for that variable?
    So far my link target looks like this:
    "sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&
    TEMPLATE_ID=ZJS_WT_1&VAR_NAME_1=ZJS_V_R&VAR_VALUE_EXT_1=1"
    How do I have to modify the line?
    Cheers,
    Jost

    Jost -
    I haven't tried this yet...but I suspect it could work. In the below example, I have a variable on Company Code and am setting it equal to 3 different values. Give it a shot.
    &CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT
    &VAR_ID_1=ZCCMPCOD0001
    &VAR_ID_2=ZCCMPCOD0001
    &VAR_ID_3=ZCCMPCOD0001
    &VAR_OPERATOR_1=EQ
    &VAR_VALUE_LOW_EXT_1=IP01
    &VAR_VALUE_HIGH_EXT_1=
    &VAR_SIGN_1=I
    &VAR_OPERATOR_2=EQ
    &VAR_VALUE_LOW_EXT_2=IP05
    &VAR_VALUE_HIGH_EXT_2=
    &VAR_SIGN_2=I
    &VAR_OPERATOR_3=EQ
    &VAR_VALUE_LOW_EXT_3=IP50
    &VAR_VALUE_HIGH_EXT_3=
    &VAR_SIGN_3=I

  • How to write HTML code in Web Template for selection screen

    Hello All,
    Is it possible to write a html code in the web template html tag so that the output of the html is displayed in the selection screen, i.e before the execution of query.
    I know that we can write html, which will be displayed once the query has been executed, but can it be done for selection screen.
    if so, how.
    My exact requirement is : to display a 2-3 lines of text in the selection criteria screen - sort of, various options available to user for entering values in the selection screen.  I was thinking of putting this text using HTML code in the selection screen.
    Regards,
    Nagendra.

    Hi Erick,
    No, unfortunately nobody replied to this thread. So i assumed it is not possible to modify the selection screen thru html code.
    Btw, as my requirement was to provide user with multiple answers on the selection screen. I did the validations on customer exit and popped an errror dialog when applicable.
    Regards,
    Nagendra.

  • Variable Personalization for Web Templates

    Hi,
    Does anyone know of a method to personalize variable values for <b>individual</b> web templates. When I personalize a variable value while running the query on web, its value gets modified for all queries, not just the specific one that I am running.
    This does not happen when I run the queries in BEx. Here I have the option of personalizing the variable values specific to the query that I am running (by using the icon at the bottom of the variable screen), or to personalize the variable value across all queries (by using the icon displayed with the individual variable).
    Can anyone help me in achieving the same two options for queries run on web? I want to personalize variable values for individual queries.
    Thanks
    -Arif

    Hi Arun
    Thanks for your input, but the bookmarks or parameter passing will not give enough flexibility to the users.
    For example:
    Out of 10 available variables in the query, the user should have an option of selecting values for those that have not been personalized (say 7 variables) while the rest 3 get populated automatically because they have been personalized. In EACH run of the query, the user will have the flexibility to select a different value for the 7 variables.
    This needs to be different for each query the user runs, even though the queries may use same variables as the other.
    I am trying out some options. If it works, I shall let you know.
    Regards
    -Arif

  • Changes to BI web templates are not updated

    Hello BI Experts,
    I need to find a way to advise my portal resource on how to resolve a problem we are experiencing.
    When we make a change to a web template, the changes are not updated and it appears that the old version is cached.  The only way we can get the new template to show is to bounce EP.
    Does anyone have suggestions where we can find the appropriate global settings to set the cache so that EP will retrieve new BI content as it is modified?
    Thanks in advance for any help.
    Tom

    Hi Tom,
    If there is some incorrect setting in the portal, the WAD templates does not get saved after the first Save action.
    I am not sure of the setting which needs to be done. But I can provide you an alternate solution. If there is no other issue than the templates not getting saved, you can use this.
    You can save your changed template using 'Save As' in a different name and then you can delete the original template. Afterwards, you can save this template with the actual name.
    I hope this would solve your problem.
    Regards,
    -Neethu

  • Blog Web Template

    Hi,
    I am working on a web template based on a blog. I built a project in visual studio using the web template feature. I am able to deploy the solution and create a site based off the blog template. However, I am wanting modify the default.aspx page. Along with
    modifying it, I am wanting to apply a page layout to the default, category, and post.aspx page for a consistent look and feel. I started with one default aspx page on the solution and added the category filter web part in. When I went to deploy, the web part
    was only appended to the bottom of the page.
    Is it possible to apply page layouts to blog web templates?
    What is the best approach to modifying the .aspx pages since these pages are generated?
    Thanks,
    Joe

    Hi,
    I am working on a web template based on a blog. I built a project in visual studio using the web template feature. I am able to deploy the solution and create a site based off the blog template. However, I am wanting modify the default.aspx page. Along with
    modifying it, I am wanting to apply a page layout to the default, category, and post.aspx page for a consistent look and feel. I started with one default aspx page on the solution and added the category filter web part in. When I went to deploy, the web part
    was only appended to the bottom of the page.
    Is it possible to apply page layouts to blog web templates?
    What is the best approach to modifying the .aspx pages since these pages are generated?
    Thanks,
    Joe

  • Different stylesheets in the one web template

    does anyone know the best way to use different stylesheets for different tables in the one web template?

    Andrew,
    Welcome to SDN....
    I am not sure if you can use different stylesheets but then if it is a query table , you can change the background styles using the table modifier class and achieve the same.
    Arun

  • Modifying a List Template

    Hi there,
    I would like to create a list template to display images (with labels underneath) in columns of 3, does anybody know how to do this?
    thanks..

    You'll get more effective help if you provide more relevant information upfront in the initial post. Always include:
    <li>APEX version
    <li>DB version and edition
    <li>Web server architecture (EPG, OHS or APEX listener)
    <li>Browser(s) used
    <li>Theme
    <li>Templates
    <li>Region type
    Can you please provide this information?
    I am trying to render a list that I have created in APEX.What kind of list?
    Created how?
    If you've created/modified a list template, either reproduce this on apex.oracle.com or post full details of the template here.
    but I need some sort of conditional formatting to include aInclude a what?

Maybe you are looking for

  • Batch Determination While Goods Issue

    How To Active batch Determination at the time of issue the goods I have done following SPRO setting . Strategy type --> YB01 Inventory managment Search Procedure --> YB001 Allocation IM Search Procedure -->> 261assigned to YB001 along with Active "Ch

  • Burn tool issues

    This is going to sound stupid, but I can't access the burn tool. Photoshop defaults to the dodge tool, but when I go to click on the the corner, it won't display the burn and sponge options. Am I missing something? None of the tools will show me the

  • Help with DOMParser

    Hi I'm using the DOMParse to parse a XML File. I want to print the tagnames.My program does it, but it prints a lot of "#text" too. What are they? How can I avoid them? Do I have to use a dtd or a xsd to use correctly the DOMParser? if I have, how ca

  • App in Muiple region stores

    Hi I was watching a Windows App development (Microsoft Virtual Academy) training video with Jerry Nixon and Darren May recently. In that video there was a section, where you're encouraged to make your app sit in multiple windows stores by having it t

  • Over-ride default customization for Dynamic page portlet

    has anyone been successful at over-riding the default customization that comes with the Dynamic page wizard. I have a portlet that will have specific values for each user and I would like to default those values the first time the user comes in. The