Light framework and custom iViews

Does anyone know why the "heavy" framework is used on custom iViews?  We have developed several custom iViews and when we tested them in the light framework, they always pull down the "heavy" framework Javascript.  I created a very simple Hello World iView without HTMLB and without a sharing reference to HTMLB and yet, when it is displayed, all of the heavy framework Javascript gets pulled in?

Hi Timothy,
Generally custom iviews are built using portal components which use HTMLB or using webdynpro.If this is the case, then the htmlb js and css files will be loaded, and these files are massive.
Also using KM iviews will results in making the framework "heavy".
As rightly pointed out above you should make sure that all the components in your page are having an EPCF level 0(This level generates no JavaScript or Java applet framework functions)
Check the following <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/3e98408d953154e10000000a1550b0/frameset.htm">link</a> for info on Enterprise Portal Client Framework(EPCF) which is basically used for client side eventing.
You could use some tracing/logging software like HTTP Watch or Webscarab to see what content is actually causing this high network load. Also check if all content is delivered with caching directives so that they will not be reloaded on every subsequent request.
P.S:Reward points if useful.
Regards,
Abhishek.

Similar Messages

  • Customizing Light Framework and desktop

    We have an internal need for using the light framework and desktop.  I don't like to modify the SAP provided items but instead would rather create delta links and modify those. 
    I created a delta link of
    -Light Desktop (contains my CSS and my light framework page)
    -Light FrameworkPage
    -Light Detail Navigation (changing the start at navigation level to 1)
    -Searched and found the Light Detailed Navigation Page did a delta link copy and then modified it
    Modified the delta link copy of the Light Framework Page
    Here's the rub - I'd like to modify the Light Desktop Innerpage.  I'm hitting the wall here.  I created a new page but the layout needed (Light Navigation Panel & Content Area Layout) doesn't show.  Can't find the Light Desktop Innerpage in the portal content (it's there via the properties of the framework page - but finding that page I can't seem to find it.
    So - how do I create my own desktop innerpage (would like to base it on light desktop innerpage)?
    Regards,
    Diane

    Hi
    The par file for Desktop inner page is com.sap.portal.innerpage
    http://help.sap.com/saphelp_nw04/helpdata/en/b4/771158e4cb4bf6af9974380948db86/frameset.htm
    The desktop inner page is on of the iview present in DefaultFramework page of Portal which is a single portal page containing default iViews and pages.
    The default framework page supplied with SAP NetWeaver Portal provides the navigational and structural components required to navigate and operate the portal. we can modify the default framework page or create our own framework pages to meet the requirements.
    Its Location in Portal Catalog: Portal Content -> Portal Users -> Standard Portal Users -> Default Framework Page (pcd:portal_content/every_user/general/frameworkpage)
    Regards
    Sat

  • No style applied when using light framework and WPC content

    Hi,
    Iu2019m facing a strange behavior, and Iu2019m almost pretty sure that is an error in the WPC, but I decided to post it here, maybe someone can confirm it. When using both, Light Framework and WPC, for some reason, the text inserted in the WPC containers, using the Web Forms, doesnu2019t appear correctly (no style/font applied), but viewing the same information, using the Default Framework Page, it works correctly.
    Any hint?
    Thanks and Regards,
    John

    Hi,
    The reason why I decide to use Light Framework, itu2019s because Iu2019m creating an EFP, and Iu2019m using the WPC to publish the content (articles, news, and link list), using the standard Web Forms.
    The problem is, after adding to a WPC Page something so simple like an article (using the Web Form Article), no Portal iView, HTMLB or other stuff included, the preview of the WPC Page using the Default Framework Page is ok, but when using the Light Framework Page, the text in the article doesnu2019t have the correct font-family. It looks like there are some styles missing in the Light Framework Page, that WPC content is expecting.
    Thanks and Regards,
    John

  • Standard iview and custom iview

    Hi,
    Have any one tried developing a custome MDM iview which displays the record details on click of a record in standard Result Set iview?
    There is a section in portal content development guide called "Configuring Data Exchange (Eventing)" which deals with this scenario.
    Please share your experience on the integration of Standard iview and custom iview.
    I have already gone through the sdn article on "Integrating MDM Item Details iView into a WebDynpro Application".
    Thanks and best regards,
    Arun prabhu S

    Custom Event Name - EPCFgetRecordByIds
    Any name will do here, so this is fine
    Event Type - EPCF ; Record Event
    Correct again
    Target (URL or Event Name) - getRecordByIds
    Again,... Any name will do here (this is what you will use in the wdDoInit to subscribe to)
    Namespace - urn:com.sap.pct.mdm.appl.masteriviews (?. not sure abt this)
    Though it should not cause an issue I would use something else, this might interfere with the standard iViews events (though they will probably have different event names). You should be able to just come up with your own namespace here
    Auto-Fire on Row Select - Yes
    Correct
    Parameter Format - Standard
    Correct
    Mapped Field - Record ID
    Here you select all fields you like to know the values of in the action-method of your webdynpro. Most likely this is record id or some other unique identifier of the record.
    Parameter name - ?
    Just give any parameter name. You will use this name to find that specific parameter in the string of your action method.
    I want the MDM record id of the selected record as an input.
    This is in the string if you configured the iView as above. Just print it to the screen on the action method.
    Can you please help me tell me how the record id gets passed from standard iview to custom iview?
    That should already happen by the subscribing to the event you did in the wdDoInit. Welcome to the wonderful world of eventing
    Jurjen

  • Reg: Custom Page Layouts and Custom iView Templates

    Dear Gurus,
    Can you please guide me with the Business Scenarios on when will we be creating Custom page layout?
    Any links which helps is creating them.
    Thanks & Regards,
    Pramod

    Hi Pramod,
    The only purpose of a page layout is to layout the iviews in a page according to your needs. It could be for WPC or regular portal pages as well. For this I can't think of any other business scenario.
    However, a template in general is like a blue print.
    You can create an iview template, layout template or a page template by setting the property "Is a Template" to YES for any iview, layout or page.
    So, in general:
    If the standard delivered components do not serve our purposes. we create custom components and deploy them onto portal as .par applications.
    Then from the .par deployed onto the portal,
    1. We can directly create an iview (or) create an iview template first and then create iviews using the template.
    2. We can directly create a layout (or) create a layout template first and then create layouts using the template.
    If you create something (iview/page/layout) as a template, then it could be used as a blue print to create similar objects in the future.
    Templates are generally created for ease of use and to maintain standards in the future.
    Thanks,
    Shanti

  • Performance Light Framework page and R/3 transactions

    Hello,
    I have a customer running an enterprise portal 6.0 containing basically R/3 transaction iViews.
    Some of the users of this solution are using fairly low bandwidth and are complaining about performance problems.
    My question is whether there is anything to gain from switching to the light framework page, or is the loading of the R/3 transaction the main bottleneck.
    Has anyone made an estimate of the performance gains obtained by using the light framework page over the standard ones?
    I have just found one such estimate on this forum, indicating a size improvement of almost a magnitude of 8 (100K vs 800K) (thread: portal performance optimization over low speed links)

    Here is the text that explains the disappointing restriction in the release of External Facing Portal with KM in NW04s SP5 and NW04 SP14.
    NOTE 709354 relevant snippet below>>>>>>>>>>>>>>>>>
    Release with restrictions
    Knowledge Management in external facing portals
    Knowledge Management is released in a restricted way for scenarios where the external facing portal capabilities of NW'04 SP 14 are used (i.e. reducing the network load by using the 'light framework page' concept of the portal): - KM iViews will work within the light framework page without erros. However, the network load will not be decreased since the navigation within the KM iViews requires the full range of scripts to be downloaded  from the portal. - Browser Back/Forward navigation within KM will not work in all cases - Indexing of KM content by external search engines (Google, etc.) will not work on all content In addition, the general usage of KM in scenarios where untrusted (e.g. with a self-registered user ID) or anonymous users are accessing an external facing portal is recommended in a restricted way only to avoid upload of malicious files or code (e.g. disable file upload or discussion forum entries). This recommendation is true even if the 'light framework page' concept of NW'04 SP14 is NOT used. For more information on how to enable KM (and Collaboration) for anonymous users, please refer to the following notes. SAP NetWeaver '04 SP11 and below: Note 728106. SAP NetWeaver '04 SP12 and higher: Note 837898.
    ( Changed at 23.12.2005 )

  • Problem with Absolute Navigation (External Window) and Light Framework Page

    Hi All,
    We are using Light Framework page for the portal devolopment. We have an application including two webdynpro iviews where absolute navigation is used to traverse from first iview to second iview (When user clicks a button on first iview). We are showing the second iview in external window (SHOW_EXTERNAL). When ever i clicks the button to traverse to second iview, i am getting an exception.
    When we are showing it in same window (SHOW_INPLACE), it is working fine. But the iview is appeared in half of the page with scrollbars. It is working fine with default framework page (with both options SHOW_INPLACE and SHOW_EXTERNAL) and dispalyed in original size as mentioned in iview properties.
    Could you please suggest us whether there is any work around for this.
    Thanks,
    Sudheer

    Hi Kathiresan
    I couldn't see the address bar of the window (In which second iview is getting displayed). But i can observe no parameters that i passed from first iview is visible in the view source of the second iview (When SHOW_EXTERNAL is used in absolute navigation). I could see all the parameters in the view source (when SHOW_INPLACE is used for absolute navigation). But i am using the same url for both the options (for SHOW_INPLACE and SHOW_EXTERNAL).
    I doubt about the url being passed when SHOW_EXTERNAL option is used. But when we checked in debug, The correct url is being triggered (Atleast from first iview). Is there any way that could display the second window with address bar. What is making difference  between SHOW_INPLACE and SHOW_EXTERNAL with absolute navigation and light framework page.
    Could someone please suggest.
    Thanks,
    Sudheer.

  • Custom Light  framework page

    Dear All,
    I am planning to develop custome Light framework page with Masthead, Tool area (search) , TLN, DTN and content area
    is there ant ready framework pages i can use, examples prerequisites will help.
    Regards,
    Murali

    Hi,
    Check these blogs:
    EFP: Working with the New Taglibs - Part 1
    EFP: Working with the New Taglibs - Part 2
    EFP: Working with the new Taglibs - Part 3
    Nuts and Bolts of the External Facing Portal (EFP)
    EFP: Layout Tag Library
    EFP: Navigation and Framework Tag Libraries
    Regards,
    Praveen Gudapati

  • Height of WDP iView in Portal Light Framework

    Hi,
    We have a light framework portal and when i deploy and create a WDP iView, the height of the iView is very small and vertical scroll bars appear.
    Is there any setting with which this problem can be over come?
    Regards
    BP

    Created a normal iView and selected WDP template.

  • MDM Custom Iview and Standard Iview Portal Eventing

    Hi
    I'm trying to develop a custom iview which updates a Standard MDM Result Set iview:
    I found this documentation:
    http://help.sap.com/saphelp_mdm550/helpdata/en/45/c87cfd43e56f75e10000000a1553f6/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/12195312-0e01-0010-a392-debbd32e39d4
    So i created an iview which raises this event
    WDPortalEventing.fire("urn:com.sap.pct.mdm.appl.masteriviews","updateSearch","ID=115551&RefreshSearch=True");
    Then i upladed my code in the portal, created a new iview and put it in the same page with a Result Set iview. During testing when i rise the event form the custom iview, the standard Result Set catch this event but instead of update it gives the following error:
    Error occurred: Error performing search. com.sap.mdm.internal.protocol.manual.ServerException: Illegal value for parameter,  com.sap.mdm.internal.protocol.manual.ServerException: Illegal value for parameter (see log for details)
    In SDN there is a thread with the same problem (Search Standard iView + Search Custom iView) which is not solved.
    Can somebody help me ?

    sorry, I have same task and tried same code for my alias, table and field.
         WDPortalEventing.fire("urn:com.sap.pct.mdm.appl.masteriviews",
                   "updateSearch",
                   "MDMSystemAlias=NSI_PRODUCTION_ALIAS&MDMTableName=Assets&R3Code=411000000000000006&RefreshSearch=True");
    I fire event  (for my alias, table and field)
    but not any resultset or Current Search on page is catching this search.
    please provide which options  must be set made for views on page so that result set to be updated,
    I hope this may help
    does it need to add some custom event to result set?
    thanks
    Edited by: Ivan Ivanov on Aug 21, 2009 3:49 PM

  • Custom framework and putting on device... (runs okay on simulator)

    i have a custom framework that is running fine on the similator...
    (have a copy files build step to put framework into simulator framework directory..
    when i try to deploy to the Device, i get undefined symbols errors even though
    the framework is referenced in the properties...
    and the search paths for frameworks and headers are the same as the simulator project
    anyone build their own framework and use it on xcode and deploy to a device(real iphone)?

    Since we need this urgently, we decided to address the issue ourselves. I "fixed" it by modifying adf-richclient-api-11.jar which contains the erring javascript file(AdfProfilerStub.js). The fix was changing the way the constructor was being declared.
    if(window["AdfCheckpoint"] == undefined)
    var constructor = new Function("id", "group", "{}");
    constructor.prototype.setDescription = function(desc){};
    constructor.prototype.getDescription = function(){};
    constructor.prototype.start = function (callingMethod, params){};
    constructor.prototype.stop = function (uid){};
    constructor.getCheckpoint = function (id, group){return new AdfCheckpoint(id, group);};
    window["AdfCheckpoint"] = constructor;
    to
    if(window["AdfCheckpoint"] == undefined)
    window["AdfCheckpoint"] = function (id,group) {}
    AdfCheckpoint.prototype.setDescription= function(x0){};
    AdfCheckpoint.prototype.getDescription= function(){};
    AdfCheckpoint.prototype.start= function (x1,x2){};
    AdfCheckpoint.prototype.stop= function (x3){};
    AdfCheckpoint.getCheckpoint= function (x4,x5){return new AdfCheckpoint();};
    I'm not really 100% certain as to what the Profiling related scripts are doing but I'm guessing those are code for profiling ADF javascript performance. This change resolved all issues observed in the WebKit nightly build I earlier cited as well as on IPad running 4.3.

  • Customizing Benefits and Payments iview in ESS Portal

    Hi Guys ;
    I am working on ESS portal.
    I want to add new links and textviews in the Benefits and Payments iview. After adding them I want to rearrange their positions with respect to existing fields on the iview.
    I tried by opening the preview of iview from
    Content Administration -> portal Content -> ESS->iviews ->Benefits and Payments iview.
    Then I selected an existing link on the preview of iview and did ctrl + right click but when I select any uielement and click on rearrange I don't get any filed inthe table to rearrange its empty.
    Is there any particular node in UI element tree to be selected to rearrange the fieldst?
    Please reply I am in a fix.

    1) How can employee know when their benefits should start (cant enter start date via ESS)
    - It appears that they need to enter a start date but cannot
    Typically, EEs are not allowed to enter a start date for benefits coverage. The start date usually depends on the type of enrollment.
    If it is a new hire enrollment - the start date for benefits coverage will be the employee start date.
    If it is open enrollment - the start date for benefits coverage will be the beginning of the following year (open enrollment is done usually towards the end of the current year - for benefits coverages of the following year)
    If it is a generic enrollment (for example - birth of a new child) - the start date will be the beginning date of the corresponding adjustment reason (IT0378 record start date).
    2) For insurance enrollment, why does BASIC COVERAGE show ZERO amount. Can we remove if we can?
    This is a generic screen used for all the plans and hence it shows ZERO amount. You may choose to customize the code if you want to.
    3) We need to relabel some of these plans we set up for HSA - how can we do that?
    This can be done by changing the corresponding texts in the benefits configuration. The webdynpro application reads it from there.

  • ESS Business Package with External Facing / Light Framework

    Hi all,
    We are using an external facing portal with light framework page and we now start with ESS/MSS Business Packages.
    Unfortunately e.g. ESS szenarios aren't working in our framework. I found out, that "strange" urls are used and that the session is terminated with the dsm.Terminator
    (http://XXXX/irj/servlet/prt/portal/prtroot/com.sap.portal.dsm.Terminator)
    Strange url which is called within light framework:
    Browser submitted values to
    http://XXXX/irj/portal?standAlone=true&WebDynproNamespace=sap.com/pcui_gp~xssutils&WebDynproApplication=XssMenuArea&DynamicParameter=sap.xss.menuhdr%3DSAPDEFAULT%26sap.xss.menuargrp%3DSAPDEFAULTESS_ERP2005%26sap-epcm-guid%3D4B4BF671AD569E176974193671944A9426C53F2A1765A289E821F4F42AF23713%26sap.xss.menuarea%3DEMPLOYEE_SEARCH_ERP2005&HistoryMode=0&windowId=WID1216035848750
    If I use ESS with the default desktop it works.
    I found the following Note with restrictions for External Facing Portal and Light Framework Page:
    Note 916545 - Central Note for External-Facing Portal (NW 7.0) =>
    https://service.sap.com/sap/support/notes/916545
    Here an extract:
    =====================================================================
    IV    RESTRICTIONS
    =====================================================================
    Unsupported Content: SAP business packages and applications that use the EPCM's WorkProtect Mode feature may not work properly when using the light framework page. (e.g. Web Dynpro based applications of the portal administration UI or custom build applications.)
    What does may not work properly mean? Does anyone know if there are some "features" that makes it possible to run ESS szenarios in an external facing portal?
    Is it possible to activate the WorkProtected Mode and Session Termination in the framework having in mind that some performance gain for the light framework is gone?
    How did you implement ESS?
    Thanks and regards,
    Stefan

    Hi Gopal,
    I already tried to replace e.g. in the inner page the Light Content Area iview with the normal Content Area iView.
    With this change at least the height of the Overview Page will be displayed correct.
    I'm still facing other problems that the DSM Terminator is being called regardless of the EPCF level (0, 1, 2).
    Changing the epcf level doen't change anything.
    Do you know what's the technical difference between the Light Content Area iView and the normal one?
    Regards,
    Stefan

  • Portal Light Framework

    Hi,
    I am using the light framework page, but currently on the right panel getting where you hover on this side of the page a "Content Area" label appear.
    This appears to be generated in a <span> tag.  Anyone know how this can be removed or changed??
    Is this part of the framework and the tag
    <workAreaContainer>
    Can this be changed?
    Thanks

    Created a normal iView and selected WDP template.

  • Add to favourites disabled when using light framework page

    Hi,
    When using the light framework page our "add to favourites" link is disabled. If we instead use the normal framework page add to favourites in the dropdown menu works. Does anyone have an idea why this could be?
    Regards
    Mattias

    Hi,
    The reason why I decide to use Light Framework, itu2019s because Iu2019m creating an EFP, and Iu2019m using the WPC to publish the content (articles, news, and link list), using the standard Web Forms.
    The problem is, after adding to a WPC Page something so simple like an article (using the Web Form Article), no Portal iView, HTMLB or other stuff included, the preview of the WPC Page using the Default Framework Page is ok, but when using the Light Framework Page, the text in the article doesnu2019t have the correct font-family. It looks like there are some styles missing in the Light Framework Page, that WPC content is expecting.
    Thanks and Regards,
    John

Maybe you are looking for