Use Stylesheet in Web Template

Hi All,
is it possible to use my own stylesheet in my Web Template? if yes, how?
Thanks, Johannes

Are you using 3.5 or Netweaver?
You could do it in the old version (3.5), but in Netweaver you need to change the portal theme through portal administration - even if you point to a custom CSS through your template, the portal theme will overwrite it
Regards,
Pavel

Similar Messages

  • How to use stylesheet from web-template in portal

    Hello all,
    I want to integrate a web application consisting of several web-templates (BW 3.5) into a portal (EP 6.0) via iviews.
    When called from the portal the web-templates stylesheets are replaced by portal stylesheets.
    How do I force the portal to use the web-templates stylesheets.
    Thanks in advance,
    Denis

    You can define the styles you want in a *.css file then put a link in your jsp to use these styles.  You can also just put the styles directly in your jsp.  Either should work
    I have another post with some examples feel free to look there
    Hope this helps

  • How to use master master web templates?

    Hi,
    I have around 20 reporst in BW to be displayed on web. Hence I have created Web Template for each of them. Format and Layout of these web templates is exactly same. The problem is, if there is any change to layout or if any new funtionality needs to be added/removed from toolbar, I need to repeat same for all 20 web templates.
    Is there anything where I can create one master web template and give reference of this template to all new templates I will create. And if I change master web template, automatically it will reflect all referencing web templates.
    Can this be achieved? Please let me know.
    Thanks
    Abhijit

    Hi Abhijit,
    One way to work this is to use the embedded templates. For example put your toolbar in a template, then embed this template (TB_WT001) into each new one that you have created. Then if you change TB_WT001, the change will be reflected wherever it is embedded.
    http://help.sap.com/saphelp_nw04/helpdata/en/62/661d0d486a1c4086ea1444c953a14b/content.htm
    Hope this helps...

  • Using Tab Pages & Web Template Web Items

    Hi Experts,
    i want to build a report with a tabs
    i have created a WAD report with a tab page web item
    in the tab page i have inserted three web template web items
    and in each web item i have entered a diffrent technical name of a WAD report (3 reports)
    but when i run the report i get in all three tab pages
    the data of the first report (like it uses DP_1 of the first one)
    i have tried to change in the reports the name of the data providers
    to DP_7 or whatever and it is not working still.
    any one know how to display three WAD reports in a tab page web item?
    Thanks and BR,
    Or.

    Hi
    for  one clair example you can install the 0Analyzer web template - the standard sap web template that use TABs with different reports inside
    hope it helps
    Edited by: Andrea Previati on Sep 28, 2011 5:53 PM

  • How to get the list of data providers used in a web template?

    I want to find a quick way to retrieve the list of data providers defined in the <object> tag in the Web template. One awkward approach is to parse the entire HTML page for <object> then filter out "DATA_PROVIDER: xxx".
    But is there any method or function call to retrieve the list quickly?
    Thanks!

    Try the function below, pass the item name and get the Data provider for that particular item, you will have to do this for all the items in the template.
    function getDPName(item){
         prop = SAPBWGetItemProp(item);
         var tableHidden=true;
         if (prop != null){
           for(i=1;i<prop.length;i++){
             if (prop<i>[0] == "DATA_PROVIDER")
                   return prop<i>[1]
           }//end for
         }//end if
    }//end function
    Thanks.

  • Using pre-calculated web template

    I have a query that takes 20 seconds to load on our web portal.  I've done everything imaginable to optimize performance.  Finally I'm experimenting with pre-calculating the query.  I've created the reporting agent setting, set the calculate parameter to 'HTML for Web Browser', added this to a schedule and successfully ran the schedule.
    Now when I run the corresponding web template on the web it still seems to take the same 20 seconds.  I would think all it has to load now is a static HTML page so it should take 1 or 2 seconds.  How do I know if it's really loading the pre-calculated version or the normal one?  I'm not sure anything is really happening.  Maybe I missed something?  Anybody have experience with this?
    Thanks,
    -Patrick

    I think I figured it out.  I had to add a parameter to my url that was UPDATE_MODE=STORED

  • Problem exporting to excel when using embedded web templates through WAD

    Using web templates designed with WAD, we are experiencing an issue when trying to export excel when using embedded web templates. 
    We have set up tabstrips within our templates that load other templates (embedded into the global template). 
    Upon right clicking on any query and choosing "Export to Excel", any query that is in one of the tabs using the embedded web template item does not show up.  Any queries in natively in the global web template will export and show up fine.
    Any thoughts on how to enable something like this, or workarounds to make this work?  We decided to split up these templates for performance reasons and can't go back from that decision.  Also let me know if you need a better explanation of what we're trying to do.
    Thanks in advance!
    Jonathan

    Hi SDBI,
    Is this in place of loading a new template per tab?  We are using container layouts in all of our templates so we can link things into tabstrips as well, we have just split up some templates to be embedded into tabs for performance reasons and data locking.
    Also when exporting, we are looking for all of the items displayed at that time to be exported, however only the items from the global template show up, not all of the displayed queries.  For example, anything outside of the tabstrip will export perfectly, but since the query embedded into the template the tabstrip is loading is not part of the native web template, it does not show up.
    Seems like a tool limitation to me when embedding templates?
    Thanks,
    Jon

  • BEx Web - Inserting Tabs with multiple Web Templates

    I encounter much difficulty to find consistent information on how to create a Web cockpit (BW3.5) by making use of embedded Web Templates (using web template web item).
    In particular,
    - How to define tab pages?
    - How to insert an HTML document in one of these tab pages or in the body of a single Web template?
    I would be glad if you could give me links to helpful documentation or share your own experience.
    Best regards.
    Laurent Querella
    BI Consultant
    ALTI Belgium

    Hi,
    I can`t find the BW Expert coding, too.
    But try out following coding.
    This example template contains 4 tabs
    1) Query (assign a Query to DP1)
    2) Query View (assign a view to DP2)
    3) Template (assign a template ID)
    4) Template (0ANALYZER)
    rgds Jens
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value=""/>
             TEMPLATE PROPERTIES
    </object>
    <HTML>
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_2"/>
             <param name="DATA_PROVIDER_ID" value=""/>
             DATA_PROVIDER:             DATAPROVIDER_2
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_1"/>
             <param name="DATA_PROVIDER_ID" value=""/>
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <HEAD>
    <TITLE>BW Web Application</TITLE>
          <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
          <script type="text/javascript">
          <!--
    /*  function goto_tab: Show all items, starting with tabname, Hide all other items */
              function goto_tab(tabname) {
                  SAPBWOpenURL(SAP_BW_URL_Get()'&item=TAB*&multi=X&hidden=X&cmd_1=item%3d'tabname+'*%26hidden%3d %26multi%3dX');
    /* DHTML function to set correct span-Tag visible
        For each Tab in Tab-Header (head_TAB) check, if item TABx is visible
        If Item is visible set Header as selected
        Otherwise set corresponding span-Tag to not visible */
              function set_actual_tab() {
                i=0;
                do {
                     i++;
                     if  (document.getElementById('head_TAB'+i) != null) {
                        /* Check if Object tag is hidden */
                        var prop = SAPBWGetItemProp('TAB'+i);
                        var hidden=true;
                        if (prop != null){
                                     for(j=1;j<prop.length;j++){
                                              if (prop[j][0] == "HIDDEN") hidden = (prop[j][1]=='X');
                        if (hidden) {
                                    document.getElementById("TAB"+i).setAttribute('style', 'display:none;visibility:false;',false);
                       else {
                                   document.getElementById("head_TAB"+i).setAttribute('className', 'SAPBEXTbsTABsel',false);
              } while (document.getElementById('head_TAB'+i) != null)
           -->
          </script>
    </HEAD>
    <BODY>
    <table cellspacing="0" cellpadding="5" border="0" id="tabheader">
                <tr>
    <td class="SAPBEXTbsTab" id="head_TAB1"><A href="javascript:goto_tab('TAB1')">Query</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB2"><A href="javascript:goto_tab('TAB2')">Query View</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB3"><A href="javascript:goto_tab('TAB3')">Template</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB4"><A href="javascript:goto_tab('TAB4')">BEx Web Analyzer</A>
    </td>
    </tr>
        </table>
    <table width="100%"  class="SAPBEXTbsBdyEdg" cellspacing="0" cellpadding="5" border="0">
                            <tr>
                    <td valign="top" >
          <P>
    <span id="TAB1">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             ITEM:            TAB1
    </object>
    </span>
    <span id="TAB2" ><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             <param name="HIDDEN" value="X"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             ITEM:            TAB2
    </object>                                                
    </span></P>
          <P><SPAN id="TAB3"><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB3"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="HIDDEN" value="X"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="TEMPLATE_ID" value="myTemplateID"/>
             <param name="USE_ONLY_BODY" value=""/>
             <param name="NAME_PREFIX" value="TAB3"/>
             ITEM:            TAB3
    </object>
    </SPAN></P>
          <P><SPAN id="TAB4"><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB4"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="HIDDEN" value="X"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="USE_ONLY_BODY" value=""/>
             <param name="TEMPLATE_ID" value="0ANALYZER"/>
             <param name="NAME_PREFIX" value=""/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             ITEM:            TAB4
    </object></SPAN></P>
    </td>
    </tr>
    </table>
    <script type="text/javascript">
    <!--
    /* This function call is needed to set the correct state */
       set_actual_tab();
    -->
    </script>
    </BODY>
    </HTML>

  • Help with Web Template background color

    Hi,
    i'm trying to change by HTML code the background color of a template but it behaves incosistently.
    when putting:
    <body bgcolor=#000000 ...
    the template is white in the background, but with:
    <br>
    <body bgcolor=#000000 ...
    the template is black.
    Plus when i see the final code generated in the web result, it seems that the server adds a bgcolor by his own, the code look like:
    <body bgcolor=#ffffff bgcolor=#000000...
    i think this could be what is causing the incosistence, but i can't find where is this property the server is adding to the template.
    thanks for any help.
    JP

    Hi Juan,
    This could be because of the style sheet you are using. If you want to make a chnage to the colors etc, try doing that in your stylesheet. You can find the style sheets in SE80 in the BW system. You can find out the one being used from your web template properties.
    Hope this helps...

  • Regarding upgrade of web report\web templates functionalites BW 3.5-BI 7.0

    hi all,
             I m working on a Upgrade study from BW 3.5 to BI 7.0 for Web Templates,web items and java scripts.
    Below is the scenario of the client system:
    New web templates are created from the 6 master web templates available for publishing to a custom Portal (created using BSP and hosted on the WAS). TOOLBAR and FOOTER are custom web templates used in all Master Templates and contain various JavaScript functions and footer code respectively.
    TOOLBAR provides the Toolbar, header and buttons functionalities in the Master Templates via the contained Javascript functions. FOOTER displays the date and time of issue as well the logged in user.
    FOOTER1 and FOOTER2 are web items derived from FOOTER web template. They have different set of web item properties and are used to create web templates used through the custom Portal.
    It is observed from BW Tables that out of 100 unique Web Templates available in the system, 90 are using TOOLBAR template and 95 are using FOOTER template.
    No external Javascript .js files are used in the Web templates. Most of the Javascript functionality is contained in TOOLBAR and no other custom javascript in master templates. However, there are some derived web templates where custom javascript is contained.
    Following is the process to create custom Web Templates in development server that are eventually transported to QA and Production:
    1)     The appropriate master template is identified and saved with new name in developer role.
    2)     Dataprovider is added to corresponding web items.
    3)     From the library, properties are transferred from master template to the custom template.
    4)     Report title is added in HTML tab.
    5)     No changes are needed in the Web Templates Properties except change of value in  “Show Jump Target in” field to the portal Frame ConPortal or _self in case RRI is to be used.
    6)     Some properties like Title, Width in Pixel, Affected Data Provider, etc. needs to be adjusted. Changes can be done to web items seen in Overview tab except the FOOTER and TOOLBAR web items. These web items are saved as reusable components in Library.
    7)     After all the changes the web template created is transported from development server.
    To summarize, all master data for creation of web templates like reusable master templates, web items in library, web templates containing Javascript code are stored in dev. server. Custom web templates created from these are transported.
    I want to validate the sequence of migration as below:
    Following sequence has to be followed for the Web Templates and Queries Migration in development BI 7.0 Server:
    1)     Migrate the Individual BEx Queries first and perform functional testing.
    2)     Migrate the TOOLBAR template manually (create as new in BI 7.0 Toolset) and FOOTER template automatically (using Migration Tool).
    3)     Manually migrate the JavaScript code in TOOLBAR. Please refer to section ..for more details.
    4)     Migrate the library of reusable web items, if any.
          (What to do if web item is custom or is not supported in BI 7.0)
    5)     Migrate the Master Web Templates manually (create as new in BI 7.0 Toolset) and automatically (wherever possible) and perform functional testing.
    6)     Migrate the custom web templates automatically (wherever possible) and manually, if automatic migration is not possible. Perform functional testing and data provider binding.
    7)     Perform jump target binding wherever applicable.
    8)     Transport custom templates, TOOLBAR and FOOTER to QA and Production subsequently.
    Also i have the following questions:
    1. How to migrate functionalities accessed thru web templates like jump queries, general navigation blocks with filter, table interface, and are data providers automatically linked to web items or have to be done manually post migration.
    2. Do we need to migrate the library of reusable web items also.
    3. After migrating the master  web templates and javascript containing templates to BI 7.0, can we migrate automatically the custom webtemplates derived from master templates and containing the custom javascript that is now avaialbe in BI 7.0, will they pick up the custom code automatically.
    thanks in advance
    Regards
    praveen

    No resolution found

  • Query Documentation on Web Template ??

    Greetings BI Experts,
    I am using a standard Web Template 0ANALYSIS_PATTERN, made a copy of that to ZTEST1. I attached my query to the template and ran it.
    The  results came in fine ..what is worrying me.is that the user when clicks on the INFORMATION  field ..there is a TAB for Query Documentation  and that is empty.
    How do we create the documentation for a query...like general information and what kind of formula we are using etc.etc
    Do we have to write the documentation at the query level if yes how do we achieve that.
    I can see a Documents button in BI 7.0 Query Designer...
    We are currently on BI 7.0 SP 14
    Your responses will be reciprocated with points
    Thanks

    Hi there, any replies? Should I summarize my question?
    How do you notify users when data is not reliable? (caused by, for instance, data loading errors, query maintenance... so on).
    I once used system messages (sm02) to notify all those data failures, but now we want the notification not to be global, but to be specific for some user groups (or query groups), and visible when they execute any query.
    Thanks again,
    David.

  • List of Queries in a Web Template

    Hi
    Hope someone can help me. I have a list of web templates and need to get all the queries that are used in these web templates. I don't mind even using a function call or se16 in BW to do this.
    Cheers
    Paul Collier

    Hi
    We are still on BW 3.5 and I have 142 web templates to go through. Using the metadata repository is a little long winded.
    Do you perhaps know of another way?
    Cheers
    Paul

  • How to set default Web Template for BEx Query iViews in Portal?

    Hi,
    1) In SPRO you can set the Standard Web Template used, e.g. ZANALYSIS_PATTERN1.
    2) I published a query to Portal and when it runs within Portal, I want it to use a different web template, say ZANALYSIS_PATTERN2.
    I don't want to change the BEx Web Application Query String property for each iView to hardcode the template e.g. to "QUERY=TestQuery1&TEMPLATE=ZANALYSIS_PATTERN2"
    I only want the query name in the iView
    Can I set this somewhere in Portal?  I tried changing the standard "BEx Web Analyzer" iView as mentioned in
    http://help.sap.com/saphelp_nw70/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm (BEx Web Application or Query as iView in the Portal)
    but it still seems to take the template from SPRO even after restarting J2EE

    Hi,
    I don't think anyone is holding back knowledge, I think it's sometimes difficult to filter out "good" questions as opposed to "bad" questions...
    In any case, I don't think it's possible to have different default templates, eg one for the portal and one for the "rest". I'm afraid you'll have to either change each one on the portal or use one for all.
    Cheers,
    Dion

  • How to set default Web Template for BEx Query iViews in BI Portal?

    Hi,
    1) In SPRO you can set the Standard Web Template used, e.g. ZANALYSIS_PATTERN1.
    2) I published a query to Portal and when it runs within Portal, I want it to use a different web template, say ZANALYSIS_PATTERN2.
    I don't want to change the BEx Web Application Query String property for each iView to hardcode the template e.g. to "QUERY=TestQuery1&TEMPLATE=ZANALYSIS_PATTERN2"
    I only want the query name in the iView
    Can I set this somewhere in Portal? I tried changing the standard "BEx Web Analyzer" iView as mentioned in
    http://help.sap.com/saphelp_nw70/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm (BEx Web Application or Query as iView in the Portal)
    but it still seems to take the template from SPRO even after restarting J2EE
    (I just published this question in Portal forum but I think it belongs here instead since it is BI Portal - apologies for the double-post..)

    D Nore did you found the way to do it ?
    I still have the issue, whatever the place where I force the template, the queries on the portal does not use my specific template.
    I tried :
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bexwebanalyzer
    (this one was working before upgrade to netweaver stack 17).
    as well as
    pcd:portal_content/templates/iviews/sap_bw_report_iview
    and
    pcd:portal_content/templates/iviews/sap_bi7x_report_iview
    none works !
    If you have the tricks share it with us.

  • Custom Web template for the "online link" UI command

    All
    We are trying to use a specific custom web template to allow personlization of reports within the Portal BI tool using the online link UI command.  After users have broadcasted their reports to their BIuserhome directory there is an online link UI command associated to the saved report. 
    Our one option would be to configure the web template as the default within the IMG.  But when we configured a default within the IMG, personalization of the report is not available with the context menu of the report.  We are broadcasting the reports to the BIuserhome directory.  Once the reports are saved users have the ability access the report using the online link UI command.  Since we lose personalization when we configure the IMG with a default web template, we want use a custom web template when we execute the online link UI command.
    Is there a way to pass a web template parameter when we execute the online link UI command?
    Thanks in advance.

    Sean McCormack has been doing a series here http://lightroom-news.com/ - seems to have stalled recently.
    Also look at the SDK - link above.
    John

Maybe you are looking for

  • How is super class's method called?

    I'm having some doubt about Item 15 in Effective Java, "Design and document for inheritance or else prohibit it". The author says if a class is intended to be inherited, then its constructor must not invoke any overridable methods. He gives the follo

  • Streaming music from a pc to a laptop?

    hey can i really stream music from one computer to another ?

  • I need help in booting the microsoft operating system

              i need help in booting the microsoft operating system from startup.

  • "Deployments- Webservice- Configuration- WSDL" displays NPE in WLS 9.0

    hello, please, does anybody know a solution to the NullPointerException in WebServiceConfigurationWsdlAction.execute()? the exception is displayed when i click on the "WSDL" link found on a webservice's "Configuration" tab in the admin console. i'm r

  • - 8 error message

    I cannot connect via my iSight camera anymore. It's worked in the past but I keep getting an error message that says the other party hasn't responded (timeout errors). Is there a way somebody can attempt to chat to see if the error is fixed?