Html file in web page composer

hi expert,
i have create one html file. the html file contain jsp script. the output is very well when i run it on my pc but when i put it in container of web page composer, the output is not display. why its happen?how can i use the html file that contain jsp script in web page composer?
thanx in advance,
faeza

Hi
You can create a new layout with width and height as per your requirements and use the layout in WPC.
For creating new layouts, check the help link below
http://help.sap.com/saphelp_nw70/helpdata/EN/45/d2970be57f4ebbe10000000a11466f/content.htm
Regards,
Yoga

Similar Messages

  • Content.css file in Web page composer

    Below are the styles I am using in a JSP file for Web page composer layout. Not  sure where to add the CSS file.
    Is it etc/wpceditor/css/runtime?
    How do I include it in my jsp? and Do I hve to restart portal after I upload the css file?
    table.wpc_3c_outertable
    tr.wpc_3c_outertable_row
    tr.wpc_hidden_row
    td.wpc_sdn_20_46_34_col1      
    td.wpc_sdn_20_46_34_col2        
    td.wpc_sdn_20_46_34_col11     
    td.wpc_sdn_20_46_34_col12     
    tr.wpc_sdn_20_46_34_col1_row
    td.wpc_sdn_20_46_34_col21     
    tr.wpc_sdn_20_46_34_col2_row
    table.wpc_3c_innertable  
    table.wpc_3c_innertable2 
    td.wpc_mainarticle1, td.wpc_footer      
    table.wpc_3c_outertable
    table.wpc_3c_innertable 
    table.wpc_3c_innertable2 
    td     { background-color: #FF9933; border: 1px solid #C0C0C0; }
    =====================
    will my layout work. If I add the following code to the content.css file?
    content.css
    table.wpc_3c_outertable, table.wpc_3c_innertable, table.wpc_3c_innertable2            
    tr.wpc_3c_outertable_row, tr.wpc_sdn_20_46_34_col1_row, tr.wpc_sdn_20_46_34_col2_row  { vertical-align: top; }
    td.wpc_sdn_20_46_34_col1
    td.wpc_sdn_20_46_34_col2
    td.wpc_sdn_20_46_34_col11
    td.wpc_sdn_20_46_34_col12     
    tr.wpc_hidden_row                     
    td.wpc_mainarticle1, td.wpc_footer      

    Vishal -
    First... we are all new to WPC!
    Second, no I don't think you need to create a new container.  I think that you just need to add the swf type as an allowed type for the container.
    So...
    Figure out which container you are trying to add the flash file to (as you mentioned, A1, A2, etc).
    Navigate to:
    Sys Admin --> Sys Config --> Knowledge Mgt --> Content Mgt --> WPC --> Containers.
    Edit the container you want to use.
    There will be a box named Allowed Mime Types.
    In here, select the "swf" mime type (make sure the check box is checked). Then Save.
    At my company, we had the WPC ramp up from SP12, and are now on SP13.
    I'm not sure what you get if the first time you had WPC is SP13, but for us I see two default A1 (and A2...B1..C4...etc) containers -- one that has "default" in the name and one that has "def" in the name.  From what I see, SP13 WPC uses the one with "def" in the name, not "default".  So, make sure you modify the one with "def" in the name.
    After you make this change, you should see "swf" in the list inside the container when you are editing a page.
    Is this clearer?  I wish I could attach a screenshot.

  • Use html code in web page composer 7.3

    Hi all,
    I have a question about the standard editors of web page composer in 7.3.
    I want to create my own HTML code for the design of the portal page..
    Is it possible to use the code through one of the standard editors?
    At the moment I have created some html pages and store them in the KM content of the portal. Then I make this pages available with the KM Document iViews to use them in the Web Page Composer. The problem now is, that the links to other portal pages doesn't work..
    So is there maybe a possibility to use the html code directly in one of the editors? Or do you know, how you have to define the links to navigate to other portal pages? I tried a href="TBN://..." like the links you get with the Link List Editor, but it doesn't work..
    Thanks in advance for your help!
    Regards,
    Lydia

    Hi,
    now we have the tinyMCE editor, where you can insert and edit html-code. It works fine now for the layout,
    but there are still a few problems with the links..
    In the edit mode there are displayed all km images out of the km. But the images aren't displayed under the portal role, when i publish the page. And all the links like one to a wiki or the TBN links doesn't work, too.
    Can anybody help me further?
    Thanks in advance,
    Lydia

  • To Display SWF file or Flash file in Web Page Composer (WPC)

    Hi,
    I am goning to add & display 'swf file or flash file' in <b>Web Page Composer</b>.
    But it is not allowing me to do so.I tried by three ways
    1} to upload this file directly from local machine & to add in WPC
    2}By using linklist option
    3}By creating KM Document iview;which contain swf  file.& then adding that iview in wpc.
    but at last it is not displaying though allowing to add it in WPC.

    Vishal -
    First... we are all new to WPC!
    Second, no I don't think you need to create a new container.  I think that you just need to add the swf type as an allowed type for the container.
    So...
    Figure out which container you are trying to add the flash file to (as you mentioned, A1, A2, etc).
    Navigate to:
    Sys Admin --> Sys Config --> Knowledge Mgt --> Content Mgt --> WPC --> Containers.
    Edit the container you want to use.
    There will be a box named Allowed Mime Types.
    In here, select the "swf" mime type (make sure the check box is checked). Then Save.
    At my company, we had the WPC ramp up from SP12, and are now on SP13.
    I'm not sure what you get if the first time you had WPC is SP13, but for us I see two default A1 (and A2...B1..C4...etc) containers -- one that has "default" in the name and one that has "def" in the name.  From what I see, SP13 WPC uses the one with "def" in the name, not "default".  So, make sure you modify the one with "def" in the name.
    After you make this change, you should see "swf" in the list inside the container when you are editing a page.
    Is this clearer?  I wish I could attach a screenshot.

  • Web Page Composer - Edit HTML Pages?

    Hi,
    I'm looking at the web page composer on our SP13 NW04s portal. I'm look at it to possibly replace a few portal pages I have that are simply url iviews pointing to html pages. My question, when I put the html page in my km and place it in the wpc iviews on the layout, is there anyway to edit the html from the editor's perspective? or is the only way to edit the html pages used to give the "web content author" access to the km folder of the html pages?
    If not, is there any way to for the web page composer articles to incorporate our style sheet?

    Hi Chris,
    no you can't edit the html files directly in WPC Editors perspective.
    You can find the style sheets for WPC articles in KM at:
    Content Admin -> KM Content -> etc-> wpceditor -> css
    Regards,
    Marcus

  • Add content from File System Repository in Web Page Composer developed page

    Hello,
    I want to use content from the File System Repository in Web Page Composer rather than uploading it again and again in Site Content folder. I see use of Entry Point for this but not sure how to use it and point to File System properly.
    regards
    Jaish

    Hello jaish,
    I think u can achive ur desire through Indexing kindly choose typr of index to be used.
    [Type Of Index|http://help.sap.com/saphelp_nw70/helpdata/EN/3e/07074260486024e10000000a1550b0/frameset.htm]
    regards.
    Soni Vinit
    Edited by: Vinit Soni on Sep 17, 2008 7:01 AM

  • Page Personalize in Web Page Composer

    Hi All,
       In the Portal, when we goto Page personalize on a particular page, the end user can the able to arrange the iViews based on his interest. So it won't affect anyone in Portal.  Will it be possible in Web Page Composer?  or Is there any option to enable that for the particular web page in WPC?
    Regards,
    Venkatesh. K

    Hi Venkatesh,
    your requested scenario is not possible in the web page composer context. Once you publish a page, an output.xml file per page is generated that is rendered as HTML. It is not rendered as portal page where you can do some kind of personalization.
    kind regards,
    Anja

  • Migration of an existing web site to Web Page Composer

    Hello,
    I am investigating the options and the feasibility of the migration of an existing web site to a Web Page Composer (WPC) site. The web resources of the site can easily be copied to KM and used afterwards in WPC containers. However, they can neither be integrated to the WPC site navigation nor edited through the WPC UI. For example, only WPC Web Page or Web Sites can be WPC navigation nodes.
    Has anyone ever done or tried such a migration? Do you know where I could find a description (or the javadocs) of the WPC API? Any suggestions or hints will be much appreciated.
    Thank you
    Youlian Dimitrov

    Hi Youlian.
    If I understand correctly you have rebuilt only a few hundreds of the old pages using WPC forms. Did you do this manually or you have found a way of migrating them programmatically?
    Yes, we did it manually for a two reasons:
    1. short timetable;
    2. 20 intranet sites with variety of used technologies and tools, styles, navigation structures.
    Did you leave the rest of the pages as HTML (non-WPC) files?
    Yes. But we imported them into KM.
    Does it mean that you have implemented only part of the navigation structure through the WPC/portal navigation?
    Yes and no.
    Firstly, in our case it would be a bad idea to bring all legacy, sometimes cluttered, navigation structure to a new platform as is.
    Secondly, keeping in mind that in a common scenario portal already has own top level navigation you should carefully decide how deep is your site navigation structure will be.
    Finally, migration it is a good time for information architecture redesign based on standards and guidelines.  
    Assuming that you have adjusted properly the links to all resources, have you encountered any particular navigation or display issues following this approach?
    I could remember two limitations concerning a navigation:
    1. you should avoiding links to navigation nodes inside non-wpc html files, because in this case a target page opens without DLN;
    2. first linked non-wpc html page, which placed outside wpc container, should be opened in new window.
    As for design, all our display issues caused by inline styles within source html files.
    Did you notice any noticeable performance degradation after the migration?
    We didn't have any degradation of performance. However, it is highly individual and depends on your portal infrastructure.
    Best regards,
    Aliaksandr Zhukau

  • Placed iview on webpage in web page composer - get 404

    Hello Gurus,
        has anyone come across this please?
        I have successfully made Iviews visible to KM for web page composer and so I was able to drag and drop the iview onto the page but immediately got a 404 the requested resource is not available.
    the iview has end user read permissions so I dont think it's a permission problem.
    thanks for any advice,
    Tim

    Hi Epexpert,
          I have already looked at the log files. You get this message which is puzzling:
    while establishing WDContext - com.sapportals.wcm.repository.ResourceNotFoundException: request uri does not map;
    servlet URI computed to be
    <http://<my host name>/irjj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fsandpit.folder_sandpit!2fTimParker!2fWPC_Iviews!2fpri.brm.sap.iview.home>,
    request URI was
    <//irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fsandpit.folder_sandpit!2fTimParker!2fWPC_Iviews!2fpri.brm.sap.iview.home/documents/Content/Internal/html/home.html>
    particluraly puzzling is the irjj in the path just after the hostname....
    the iview I am attempting to add has everyone group read access with end user permissions.
    thanks for looking at this.
    Tim

  • New Pagelayout in Web page composer and TREX problem

    Hello Experts-
    I have created a custom page layout for web page composer pages. I havent included it any bundle file to, because we use it only for english language.  Everything works as desired. But any new page created with this layout. System is not able to index it. Its fails to index with preparation failed error.
    Does it have anything to do with the budnle file?
    All other pages are getting indexed.
    We are on EP 7.018 version of portal and same withh web page composer too.
    Please let me know your thoughts.
    Thanks,
    Raj.

    Martin-
    I thought the problem was solved its not.
    I am seeing the following error message in the logs.
    [1800] 2009-09-11 14:55:42.266 e preprocessor Preprocessor.cpp(00897) : HTTPHEAD failed for URL
    http://host:50100/irj/servlet/prt/portal/prtroot/docs/guid/f035c289-f877-2c10-8989-af6c166e9bf9?prtmode=trex with Httpstatus 400
    [1800] 2009-09-11 14:55:42.267 e preprocessor Preprocessor.cpp(03553) : HANDLE: DISPATCH - Processing Document with key /wpccontent/Sites/AAA/webpages/home/output.xml' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6400)
    [2057] 2009-09-11 14:55:45.458 e preprocessor Preprocessor.cpp(00897) : HTTPHEAD failed for URL
    http://host:50100/irj/servlet/prt/portal/prtroot/docs/guid/2047530a-fb09-2c10-6382-9e379fb332f7?prtmode=trex with Httpstatus 400
    [2057] 2009-09-11 14:55:45.458 e preprocessor Preprocessor.cpp(03553) :
    HANDLE: DISPATCH - Processing Document with key '/wpccontent/Sites/AA/WebPages/home/output.xml' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6400)
    [1800] 2009-09-11 14:55:50.410 e preprocessor Preprocessor.cpp(00897) : HTTPHEAD failed for URL
    http://host:50100/irj/servlet/prt/portal/prtroot/docs/guid/2047530a-fb09-2c10-6382-9e379fb332f7?prtmode=trex with Httpstatus 400
    [1800] 2009-09-11 14:55:50.411 e preprocessor Preprocessor.cpp(03553) :
    HANDLE: DISPATCH - Processing Document with key '/wpccontent/Sites/AAA/webpages/home/output.xml' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6400)

  • Runtime Error in  Web Page Composer (WPC) : Page Editor

    Hello,
    We are using the Web page Composer to design our portal homepage. The portal version is 7.02 SP6.
    We created a site, some site content like banners and articles, and a blank web page. When we try to add the site content to the web page from the "Page Editor" by clicking on the pencil icon -> "Add", a runtime error occurs on the Web Content Browser pop up page. The drag and drop feature to add content is not working either.
    The error message is as follows:
    Runtime Error
    An exception occured while processing the request.
    Additional information: null
    Exception ID = 0076b5e1-fea6-2e10-b49e-9e1f27bd085c
    Runtime Error
    An exception occured while processing the request.
    Additional information: null
    Exception ID = 30ebb5e1-fea6-2e10-7d8e-b34b3229cd35
    ANy idea what the problem could be?
    Thanks and Regards,
    Reena

    Hello,
    Below is an extract from the trace file for the exception ID:
    Exception ID = 60843375-7baa-2e10-2097-c764acd6ad4c java.lang.NullPointerException
    at com.sapportals.wcm.portal.component.base.ControllerComponent.prepareRequest(ControllerComponent.java:229)
    at com.sapportals.wcm.portal.component.base.ControllerComponent.getPage(ControllerComponent.java:124)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:114)
    at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:83)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:434)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Any clue?
    Regards,
    Reena

  • The font size in web page composer 7.3

    Hello,My corporate is using SAP NetWeaver Portal 7.3 now.
    I want to use Web Page  Composer 7.3  to build a firstpage for my company,but I find a strange problem.
    When I create a web form,for example Link List or Paragraph,after I preview ,the disalpy font size is very big.
    but I remember in the release 7.0  the font size is very proper.
    I find the types configures ( km > etc > wpceditor > types) is the same in both release7.0 and 7.3
    Now I don't konw what to do ,anyone can help me ?
    Thanks a lot!
    Best regards!
    lexian.

    Hi,
    now we have the tinyMCE editor, where you can insert and edit html-code. It works fine now for the layout,
    but there are still a few problems with the links..
    In the edit mode there are displayed all km images out of the km. But the images aren't displayed under the portal role, when i publish the page. And all the links like one to a wiki or the TBN links doesn't work, too.
    Can anybody help me further?
    Thanks in advance,
    Lydia

  • Change background of web page composer

    Hi, someone knows how change the background of the web page composer?
    I have seen that the body have "class=prtlBody urFontBaseFam urScrl", but I do not know where is possible to change that style or to change that line.
    thanks.
    regards.

    Hi,
    WPC uses the theme from the portal and his own theme. The portal theme can be controlled by the online and offline theme editor. There you can also define the background color of the whole portal. The WPC themes can be found at:
    /etc/wpceditor/css/runtime
    -> content.css
    -> sdn_apps.css
    -> sdn_general.css
    These WPC themes can be edited using a CSS editor or any text editor and will only be used by WPC.
    The actual HTML tags (class, id, divs) used by WPC are defined in the page template. In a standard WPC page:
    <table class="wpc_1c_outertable">
        <COLGROUP>
            <COL class="wpc_1c_col1" />
        </COLGROUP>
         <tr class="wpc_1c_tr_o">
    If you would change the background of the WPC content, change / define a CSS for .wpc_1c_outertable
    Of course you can create your own pages and own divs that will be used by WPC.
    br,
    Tobias

  • Web Page Composer - FAQ Web form

    Hello Everyone,
    Hello SDN community,
    This forum thread is intentionally created to collect your feedback and ideas regarding the FAQ Web form.
    With this new Web form you can easily create and manipulate FAQ documents in a structured manner.
    For more information regarding this new Web form and its features adn to download it visit this address: [https://wiki.sdn.sap.com/wiki/display/KMC/CustomizingtheWebPageComposer]
    Your constructive suggestions will help to evolve the Web form further and facilitate the community to create more sophisticated and enhanced versions of this basic reference implementation. Feel free to contribute also your version and discuss in public.
    Here are some basic questions that can guide you:
    1. Does this new Web form help in your particular scenario? How?
    2. How would you rate from 0 to 5 your satisfaction with this particular Web form?
    3. What can be improved in the Web form?
    4. Do you miss something from documentation point of view?
    Explore the new WPC wiki pages - find all the information regarding WPC at one place, download new Web forms, and feel free to contribute.
    [Web Page Composer Wiki|https://wiki.sdn.sap.com/wiki/display/KMC/WebPageComposer]
    Best Regards,
    WPC team @ SAP

    Hi Georgi,
    I was trying to create a FAQ Custom Editor using your How To Guides.
    I am facing a problem as already stated in the thread:
    https://www.sdn.sap.com/irj/scn/thread?threadID=1244125&tstart=0
    To be more specific, initializeFromPageContext function of FAQComponent.java file, @ the line
    question =(TextEdit) context.getComponentForId(Question_ + editorObject.getId());,
    +context.getComponentForId(Question_ + editorObject.getId())+ is returning Null
    Regards,
    JK

  • Embed 3D Max (.3ds) file in web page

    Can I embed 3D Max (.3ds) file in web page so that user can view the file inside IE?
    Thanks for any comments.

    hi jonathan,
    I'm not into coding - I'm on the graphic side of the fence
    But in WiFu you can add a lot of extra's trough Java and Javascript.
    I don't know if that is what you are looking for ?
    If you like you can send me your .3DS model and I will generate a html page that contains your 3D model - you can send it to [email protected]
    K.

Maybe you are looking for

  • Index Usage in 9i changed  when used rownum

    Hi List,My Application is in RBO Here is one more brain twister ? Assume following I Have table SHRI with a single column COL I have created Index on COL column say IND_COL. Now when I run Following query on 8i with AUTOTRACE ON I can see that 8i Use

  • ALV: Issue with double  click event after sorting the ALV

    Hello Experts, I have an internal table that populates an ALV grid. When the user doubleclicks a row, my method HANDLE_DOUBLE_CLICK returns the e_row-index value from the ALV Grid. I use this index value to read the internal table, then retrieve addi

  • WD (1TB) external hard drive unmounts and remounts over and over

    Never happened before but in the last week or 2 my 1 TB WD external HD keeps unmounting and remounting.  Says that the disk wasn't unmounted properly.  I then click ok, then it remounts (All 3 partitions, one being time machine).  This goes on over a

  • Error while doing FBRA

    Hi guru's the user was trying reverse the doc 258972237 g101 2009 but not able to reverse it as it has items that have already been cleared.now i need to reset the cleared items, but i am not able tor eset this doucments this are intercompan document

  • Help help help help (noob)

    hey im doing a web start app using jtwain to scan and upload images. but when i run from the server its starts up the gui but nothing happens when scan is clicked... this works in netbeans "run main project". ive been told that this is because i need