Creation of new layout templates

Hello,
in the portal there are some layout templates available for pages. They are used for the innerpage of default frameworkpage ,too. I like to change the width of first column of the narrowWide 2 columns layout. Found in online Help that you have to use the developer studio or change the *.jsp file directly to get a customized layout (template). I don`t like to change the available jsp files. Best idea would be to have a new jsp file in place on which a new template is based. I found the narrowWide.jsp in the file system where you can change easily the width of colums. But how can I get a new jsp File? Is this only possible by using the developer studio or is there another way to do that?
Thanks for every response.
Regards
Alex

Hello Ganesh,
I like to go closer to your solution.
Ok, my steps would be:
1. Searching the folder where the narrowWide.jsp and the related portalapp.xml is found (usr\sap\...).
2. Make a copy of the narrowWide.jsp, rename it to narrow35Wide65.jsp and save it in the same folder where the narrowWide were found.
3. Edit the new *.jsp file and change the width of narrow column to 35% and wide column to 65% (result should be increasing the narrow column width)
4. Rename the extension of current portalapp.xml in the same folder to portalapp.xml.bak and make a copy of the file in same folder giving the original file name.
5. Editing the portalapp.xml and paste a new component entry based to the narrowWide component entry. Here I have to change the component name and the jsp file name only like in this example, right?
</component>
- <component name="<b>narrow35Wide65</b>">
- <component-config>
  <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout" />
  <property name="ResourceBundleName" value="pagebuilder_nls" />
  <property name="SafetyLevel" value="no_safety" />
  </component-config>
- <component-profile>
  <property name="ComponentType" value="com.sapportals.portal.layout" />
  <property name="com.sap.portal.pcm.Title" value="2 Columns (Narrow:Wide)" />
  <property name="com.sap.portal.pcm.Description" value="Two-column layout displaying the narrow column on the left" />
  <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld" />
  <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld" />
  <property name="com.sap.portal.reserved.layout.TemplateFile" value="<b>narrow35Wide65.jsp</b>" />
  <property name="AuthScheme" value="anonymous" />
- <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
  <property name="plainDescription" value="Column 1" />
  <property name="orientation" value="vertical" />
  <property name="designClass" value="prtlPageConL" />
  </property>
- <property name="com.sap.portal.reserved.layout.Cont2" value="column2">
  <property name="plainDescription" value="Column 2" />
  <property name="orientation" value="vertical" />
  <property name="designClass" value="prtlPageConR" />
  </property>
  </component-profile>
All other values can stay same?
6. Is a restart of portal server necessary?
7. It should be able to create a new layout template in PCD based to narrow35Wide65.
Will this work?
Thanks and regards
Alex

Similar Messages

  • Need Help | Oracle UCM 11g | Creation of new layout

    Hi All,
    This is regarding the problem we are facing to create a new layout and skin. We followed all the steps that were needed to create a new layout/skin but still we are getting errors after deploying the component. Since there were major changes in 11g, we are not able to proceed with debugging as well. (part of the reason being code clean-up is not done properly and we are going to wrong files while debugging.)
    Having said, I need your help/advice in solving my problem. Below are the problems I am facing once I deploy the component.
    1) Even though I am mentioning that skin.css and layout.js should be published from “publish/resources…” folder, different skin.css and layout.css files were getting deployed. Not sure from where the content server is picking those files from. I am placing the skin.css and layout.css from TopMenus/Trays to continue my testing.
    <tr>
    <td>publish/resources/layouts/NBNTrays/layout.js</td>
    <td>resources/layouts/NBNTrays/layout.js</td>
    <td>TRAYS_LAYOUT_JS</td>
    <td>javascript:layout:NBNTrays</td>
    <td>60</td>
    <td><$if isLayoutEnabled("NBNTrays") and (not DisableNBNTraysPublishing)$><$doPublish = 1$><$endif$></td>
    </tr>
    2) After the component gets deployed and we publish all static files, I am able to change the layout/skin to my custom layout/skin. Top menus is working fine, but in Trays layout I am not able to see the left navigation.
    3) Though I am saying to copy all the images from resources/trays folder, component is copying only some subset of images from the corresponding folders.
    <tr>
    <td>resources/layouts/Top Menus/Oracle</td>
    <td>resources/layouts/NBNTopMenus/NBNSkin</td>
    <td>resources:layout:NBNTopMenus</td>
    <td>70</td>
    <td><$if isLayoutEnabled("NBNTopMenus") and (not DisableNBNSkinSkinPublishing) and (not DisableNBNTopMenusPublishing)$><$doPublish = 1$><$endif$></td>
    <td>1</td>
    </tr>
    Can you please tell me how can we associate new layout.js and skin.css to the new layout/skin.
    Please note that all the above problems were coming in 11g.
    Thanks in advance,
    Regards:
    Veera

    Hi All,
    This is regarding the problem we are facing to create a new layout and skin. We followed all the steps that were needed to create a new layout/skin but still we are getting errors after deploying the component. Since there were major changes in 11g, we are not able to proceed with debugging as well. (part of the reason being code clean-up is not done properly and we are going to wrong files while debugging.)
    Having said, I need your help/advice in solving my problem. Below are the problems I am facing once I deploy the component.
    1) Even though I am mentioning that skin.css and layout.js should be published from “publish/resources…” folder, different skin.css and layout.css files were getting deployed. Not sure from where the content server is picking those files from. I am placing the skin.css and layout.css from TopMenus/Trays to continue my testing.
    <tr>
    <td>publish/resources/layouts/NBNTrays/layout.js</td>
    <td>resources/layouts/NBNTrays/layout.js</td>
    <td>TRAYS_LAYOUT_JS</td>
    <td>javascript:layout:NBNTrays</td>
    <td>60</td>
    <td><$if isLayoutEnabled("NBNTrays") and (not DisableNBNTraysPublishing)$><$doPublish = 1$><$endif$></td>
    </tr>
    2) After the component gets deployed and we publish all static files, I am able to change the layout/skin to my custom layout/skin. Top menus is working fine, but in Trays layout I am not able to see the left navigation.
    3) Though I am saying to copy all the images from resources/trays folder, component is copying only some subset of images from the corresponding folders.
    <tr>
    <td>resources/layouts/Top Menus/Oracle</td>
    <td>resources/layouts/NBNTopMenus/NBNSkin</td>
    <td>resources:layout:NBNTopMenus</td>
    <td>70</td>
    <td><$if isLayoutEnabled("NBNTopMenus") and (not DisableNBNSkinSkinPublishing) and (not DisableNBNTopMenusPublishing)$><$doPublish = 1$><$endif$></td>
    <td>1</td>
    </tr>
    Can you please tell me how can we associate new layout.js and skin.css to the new layout/skin.
    Please note that all the above problems were coming in 11g.
    Thanks in advance,
    Regards:
    Veera

  • How I can create a new page layout template for EP 7.0

    Where I can found tutorial or description.
    I have already provided the par-file for new page layout but I do not know like I should integrate in the enterprise portal 7.0.
    Greeting Daniela

    when you already provided the par file then
    go to content admin->portla content
    go to your folder in pcd content and right click and navigate to new-> layout. There you can find your deployed  new page layout par file.
    Create a page layout based on the par file and in the properties make it as template.
    Later when you try to create a page then you will get the new layout as one of the option.
    Also check the below pdf links for step by step procedure
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6f959c90-0201-0010-d384-82f014cca705
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9242a890-0201-0010-32a9-8516639c5afa
    These links as well work for EP 7.0 also
    Hope that helps you.
    Raghu

  • Moved: Creation of new iViews not possible because templates missing

    Hello,
    sorry I moved this issue to "Portal Content Development"
    Creation of new iViews not possible because templates missing
    Regards
    Alex
    Message was edited by:
            Alexander Lepka

    Alex,
    I'd be curious to know what SAP says.  We have the same problem.  Not sure how/if we broke it, but we can no longer create iviews using the wizard.  I opened an OSS msg a while ago, but did not get much assistance. 
    We have recently upgraded to 2004s and it did not resolve the issue as I hoped it would. 
    If SAP provides a solution for you, please post it. 
    Thanks,
    Shelly

  • Print Quote the report is in PDF but need to be new RTF template

    We have 11.5.10 apps, the Quote screen is an OAF screen.
    When clicking Print Quote the report is in PDF, They want to include a new RTF template for printing instead of PDF.
    The new RTF template is created. But what I do not know is how the quote screen will take the new template. I can use XMLP to upload the RTF template but that may not be sufficient to make it appear in the Quote screen.
    I am looking at the profile ASO:Default Layout Template. Am I headed the right way?

    Hi,
    Please refer to the following documents, it should be helpful.
    Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
    Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
    Note: 468982.1 - How To Customize The Asoprint.Xsl
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1
    Regards,
    Hussein

  • Error while creating a new layout in a report.

    I am getting this error message:
    Failed to save data.
    Error occurred when creating xml data.
    when I try to save after I create a new layout in my report.
    Is there some common problem with templates that could cause this to happen?
    I'll continue to look around for an answer but if anyone would like to see the template and a sample set of XML data so they can help me figure out what the problem is, that would be swell.
    -Nevermind. The problem seems to have dissapeared. Apparently the appropriate order of operations is
    1: Create new layout.
    2: Upload RTF Template
    Please feel free to delete this post -.-

    i am also getting the same error here and i have followed what you laid out, i am still getting the same error.
    Thanks

  • Problem while creating a new project template

    I am trying to create a new project template under one operating unit newly created.
    I am using P A Super User responsibility for that operating unit.
    In profile setting the above responsibility has been assigned the new operating unit under Mo operating unit profile.
    Now when I go to Setup>>Projects>>Project Templates and click on New, the form to create new Project template opens up but in the field where I have to select the operating unit, it shows no values in the LOV.
    Can anyone please help me to know what setting do I have to perform so that I can select the operating unit in this new Template creation Form.
    Regards
    Hawker Hunter

    Dear Mr. Govind,
    we have followed all the Project Implementation Setup for the new operating unit except for the Implementation options which we have to fill up for each operating unit.
    In the implementation Options form in the first tab 'System' there are many fields to be filled up.
    For 'Summarization period Type' we choose 'G L Period' and based on this the fields 'Calendar Name' and 'P A Period Type' automatically gets populated.
    But in our case the 'P A Period Type' is not getting populated.
    Can you let me know where we can link the 'P A Period Type' to the chosen 'Calendar name'?
    Also there is a check box - 'Maintain common PA and GL Periods'. If we tick this check box, a message says: 'The Period Type and Calendar of the PA Period does not match the Period type and Calendar of the corresponding GL Period.'
    Can you please let me know where to create the PA Period based on the corresponding GL periods?
    Regards

  • PMS: Creation of new tabs for reference elements of ENHANCE BADis

    Dear Experts,
    I am on a PMS EHP5 implementation (for all practical purposes, it's an EHP4 implementation as we are not using the pre-defined template) and have the below problem.
    I have the ENHANCE_FIX and ENHANCE_FREE BADIs included at the VA level (as the requirement is to create immediate child objects for the template through these BADIs). I have a reference element (VB) defined for these BADIs.
    Example template (L1 = Level 1, L2 = Level 2, L3 = Level 3):
    L1 - VA
    ---- L2 - VB1
    --------- L3 VC1
    --------- L3 VC2
    ---- L2 - VB2
    ---- L2 - VB3
    In the above example template, the ENHANCE* BADIs will add VBs (example: VB4 and VB5) at the L2 level (appearing in the document below VB2 and VB3).
    The requirement is to have separate tabs for each VB at the L2 level (so I will have one tab for VA and 5 tabs for VB from the above example).
    I am unable to specify creation of new tabs for the reference element VB when I carry out my tabs and process configuration.
    I have not been able to find any information on this aspect either. Would appreciate any help that can come my way.
    Thanks.

    Thanks Maurice.
    I still feel that the product should leave that option to the designer of the solution. There are a lot of solutions which can get chaotic. If designed appropriately, I guess this chaos can be controlled.
    At the very least, I am sure that I have not left anything out in configuration. I will raise this with SAP over a CSS.
    Thank you for your input.

  • Automate Creation of new items in EBS

    Hey everyone -
    Just a question ,
    we want to automate creation of new items in our system.
    Our view is something like -
    1. user GUI to request a new item, according to predefined templates.
    2. Users fill a few fields of information.
    3. Item manager gets notified and approves item is needed.
    4. Automation to run batch and create everything relevant. (org assignment, item KFF, category assignments, BOMs etc). As much automation as possible, we can map template behaviour, variety is small.
    I was wondering if there is any product supporting such behaviour.
    I looked into Oracle's APC, and it seems like it doesnt do enough. Besides as far as I noticed it relies mostly on Item Catalog attributes which we don't. Also Im not sure if this product is "alive" coz oracle bought AGILE for PLM.
    Does anyone know of a product that supports creation of new items and is flexible to fit our needs?
    We want to make sure we're not missing something before we develop custom code for that.
    Thanks,
    Aaron

    Hi,
    This is prom PIM to Oracle
    I have done an interface which creates an item in master and child .Which assighns category set on iots level controls .It inserts item into all active subinventories.
    It notifies the end user with email any item already exits and error .
    Regarding templates.
    it assigs compatible templates at master and org leve.These are predefined and are not validated in program
    Edited by: Sankuratri on Apr 5, 2009 10:02 PM

  • WPC Problem after creation of new Site - no "Edit Page" Link available

    Hello,
    I have a problem with WebPageComposer (WPC) and Edit Page link.
    We are currently on EP 7.01 SP6.
    (I have the wpc_editor_role for my user)
    I am doing the following:
    1) I create a new site, (derived permissions for all folders is wpc_editor_role - Full Control),
    2) I Create some article within its Site Content folder
    3) I create a new web page in its Web Pages folder
    4) assign the article to the web page and publish it
    5) add web page within Site Navigation as a new node
    6) I used Publish Site Navigation
    After clicking on the web page within Web Pages folder it does a preview.
    Our older WPC content does display the Edit Page link - the new one does not.
    What step am I missing here?
    Maybe it is an upgrade issue?
    Best Regards, Thomas
    P.S.: copying one of our older WPC pages into my new site + renaming it via KM + removing old content + assigning new one does display the correct link after publishing it! Any indeas?

    Dear Thomas,
    It sounds like your are doing all the right actions, I don't think that your missing any step in the process, but please consider the following.
    Are you using a custom WPC layout template? The reason I ask is that I have developed a number of WPC custom templates and in some circumstances I have needed to remove/hide the "pageheader" section of the template. This action removed the links from displaying at the top of the page. Try creating and publishing a web page using a SAP standard WPC layout and see if the edit link appears once the page is published.
    The editing and preview page views do not display the "edit" link, they only display the other page header links that can be assigned to a page. The edit link is only visible when viewing the page via the portal, not in edit mode. Another question, was the deployment of KMCWPC successful and without error? I have experienced issues where the deployment did not fully complete, causing some subtle issues regarding publishing of WPC content and redeploying KMCWPC fixed the issue. I hope this helps.
    Best Regards,
    Chris

  • Combining word processing and page layout templates

    Does anyone know how to (or if it's possible at all) merge or combine a Pages 09 document set up on the "Pages Layout" template with one set up on "Word Processing" template properly? Can these two templates "talk to each other"?
    I'm trying to combine some of my separate class notes for my students into one file, and some were created in Page Layout, with visuals, charts, pics, etc. I also have some Word Document notes that I'd like to merge with the other notes to create one "class notes" file for my students. But I can't seem to do that, for some reason. I can copy individual pages from the Page Layout notes and paste them into my Word Document notes, but they paste as two pages (one page is blank). When I delete that page, the other one is deleted, too. I can't copy and paste from the other direction (word doc to page layout) at all, and like I said, the other way is a little off, as well.
    Any ideas, or is this just not possible in Pages 09? Thanks.

    Re: Jerry
    I'd like to stay in one or the other, but I just like features that are only in one or the other. For example, I like in WP mode that when I get to the end of a page of writing and keep going, a new page appears (with formatting and layout intact on the next). If I'm in PL mode and writing in a text box, it just goes beyond the viewable screen. I also like the ability to select and move around individual pages in PL mode, and that doesn't seem to be available in WP mode (they're all stuck together and move in clumps). But you're right, I'm just going to have to stick with one and figure out some workarounds for some things I like. Since I think I'll be more in WP mode, I'll try to move stuff over from PL.
    Re: Peter
    Thanks for the advice... it's already helped me try to come up with some ways to fix things. The whole click away thing to give me floating objects has been great! You're right, this does seem like a design flaw, but I suppose Apple can't be all things to all people. Still, I'd like a little more...
    Re: Yvan
    Hang in there! You're right, Pages is tough when trying to use created projects in other apps! Like you said, I'm working to rebuild the layout. By the way, my PL document was 16 pages, which when transferred to WP mode doubled in size! Sheesh...
    Thanks to all—I think I'm going to be able to work through this "issue" after all. I appreciate everyone's help.
    Daniel

  • Layout Template - Alignment Problem

    Hi,
    I´m using EP6 Version 6.0.2.4.6 and made some Layout-Templates for my Pages. It works fine, but the alignment of the Ivies in it doesn´t match.
    A short Example:
    <%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb" prefix="hbj" %>
    <%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>
    <lyt:template>
        <hbj:content id="myContext" >
            <hbj:page title="Portal Page">
           <hbj:gridLayout id="GridLayout1" rowSize="2" columnSize="2" debugMode="TRUE">
                    <hbj:gridLayoutCell width="50%" rowIndex="1" columnIndex="1" horizontalAlignment="LEFT" verticalAlignment="top">
                        <lyt:container id="column1" />
                    </hbj:gridLayoutCell>
                    <hbj:gridLayoutCell width="50%" rowIndex="1" columnIndex="2" horizontalAlignment="LEFT" verticalAlignment="top">
                        <lyt:container id="column2" />
                    </hbj:gridLayoutCell>          
                    <hbj:gridLayoutCell width="50%" rowIndex="2" columnIndex="1" horizontalAlignment="LEFT" verticalAlignment="top">
                        <lyt:container id="column3" />
                    </hbj:gridLayoutCell>
                    <hbj:gridLayoutCell width="50%" rowIndex="2" columnIndex="2" horizontalAlignment="LEFT" verticalAlignment="top">
                        <lyt:container id="column4" />
                    </hbj:gridLayoutCell>
                </hbj:gridLayout>
            </hbj:page>
        </hbj:content>
    </lyt:template>
    When I look to a page with this Template, all my Iviews on it have an alignment on the right bottom corner of the cells. Is there no way to correct this? I tried a normal html-table but with the same result. Does anyone have a clue for this problem?
    Regards,
    Marcus

    Hi Marcus,
    the JSP looks fine for me.
    Probably you know http://help.sap.com/saphelp_ep60sp2/helpdata/en/d5/1b083e7623445ae10000000a11405a/frameset.htm
    The only thing where differences to the original layouts could exist seems to be the layout description within portalapp.xml, especially (and only?) the designClass value (prtlPageConR (right), prtlPageConL (left), prtlPageConM (mid) and prtlPageConF (full)). These css classes are defined within the themes, for example the most used will be under irj/root/portalapps/com.sap.portal.themes.lafservice/themes/portal/sap_standard/prtl_std/prtl_std_ie6.css, but they only define the margin and padding...
    Maybe you should copy a standard layout (from irj/root/WEB-INF/portal/portalapps/com.sap.portal.layouts.default) and start with this under new names; if they behave normal, start to manipulate them...
    Hope it helps
    Detlev
    PS: For better reading you can surround code / indentions with [ code ] and [/ code ] (without spaces). So checking the syntax would be much easier.

  • Saving print layout templates

    In a future release, would it be possible to have a function whereby you can save your print layouts in a folder, as a backup precaution incase you accidentally delete or alter an original one?  At the moment, you can only back the PLD templates up via daily database backups.  I have a customer who has spent a very long time perfecting their print layout templates and he thinks this functionality would be very useful and reassuring.
    Thanks

    Hello Kate,
    Within 8.8 release, we are introducing new control of 'Report and Layout Management' which enables joint management of PLD and Crystal Reports layouts. This enhances the usability of maintenance of print layouts and should reduce a risk of accidential deletion of the print layout.
    Moreover, Crystal Reports can be also saved outside SAP Business One as a separate file (similarly like those for XL Reporter).
    Peter Dominik
    B1 Solution Management

  • Supporting drilldowns in BIP reports defined in Web Layout Template Editor

    Hi Experts,
    We have a requirement to show a table in a BIP Report defined in a web layout template editor and within this report, if there is drilldown on one of the columns, we would want to display more details in an additional column to be displayed afresh. Also, we have a requirement to display the same whenever there is a selection from a report prompt. In addition, is such a drill down feasible from within a graph? Is this achievable? We know this is feasible in OBIEE - not sure about BIP. Any pointers in this direction is appreciated!
    Regards

    Hi Sripathy, I can't thank you enough for the help !!! We looked for all kinds of documentation and was never able to find exact information.
    Also, do you mind if we email you if we run into more problems ? We are new to this. If you think it's ok, my email is [email protected] If not, thanks again, at least this will get me started.

  • InDesign CS5- where is create new from template?

    Hi,
    I was looking for creating something new from one of the default templates of CS5, like I've done in the past with CS3 and CS4.  However I find that there doesn't seem to be an option to create new from template.
    Am I completely missing where it is?  Have they called it something else?  Have they removed the default ones completely from InDesign?

    I should perhaps amend that to don't waste time with a template for multiple labels on a sheet. If you see something that works for you as far as basic layout, make a one-up lable from it (cupy the elements from a single label into a new file sized for only one label). Get a sheet full of blank labels, place that file in the upper left position on your larger sheet layout, then use Edit >Step and Repeat... to make the grid. This is much more efficient as it allows you to edit the entire sheet at one time by editing the single label file.
    If you need to d a data merge, you can do nearly the same thing -- put a single blank label layout in the upper left position, add your merge field placeholders in that one label, and run the merge. DO NOT put anything beyond the single label layout on the sheet for a Data Merge job. Also, note that there is a bug in CS5/5.5 that will give you an incorrect multiple records merge if you try to preview. If you preview you must use Undo before the merge to go back to the pre-preview state.

Maybe you are looking for