Create new page using wwsbr_api.add_folder.

Hi,
When i try and create a new page and assign values to custom parameters using the API mentioned above i receive the following error:
ORA-20100:
ORA-06512: at "PORTAL.WWSBR_STDERR", line 45
ORA-06512: at "PORTAL.WWPOB_API_PAGE", line 5818
ORA-01403: no data found.
This is the code that i am using:
Pass in the following parameters to procedure:
p_site_id in number,
     p_parent_id in number,
     p_f_type_id in number,
     p_f_type_caid in number,
     p_name in varchar2,
     p_title in varchar2
declare
folder_id NUMBER;
l_attributes_ids Portal.wwsbr_type.array;
l_attribute_caids Portal.wwsbr_type.array;
l_attributes_data_type Portal.wwsbr_type.array;
l_attributes_values Portal.wwsbr_type.array;
BEGIN
--build up the custom attributes arrays to assign to the page
l_attributes_ids(1) := 1222;
l_attribute_caids(1) := 36;
l_attributes_data_type(1) := 'boolean';
l_attributes_values(1) := '1';          
l_attributes_ids(2) := 1031;
l_attribute_caids(2) := 36;
l_attributes_data_type(2) := 'text';
l_attributes_values(2) := 'test';
folder_id := wwsbr_api.add_folder(
          p_caid => p_site_id,
          p_parent_id => p_parent_id,
          p_name => p_name,
          p_display_name => p_title,
          p_type_id => p_f_type_id,
          p_type_caid => p_f_type_caid,
          p_attribute_id => l_attributes_ids,
          p_attribute_caid => l_attribute_caids,
          p_attribute_data_type => l_attributes_data_type,
          p_attribute_value => l_attributes_values
RETURN folder_id;
EXCEPTION
WHEN NO_DATA_FOUND THEN
     dbms_output.put_line(substr(sqlerrm,1,500));
return -1;
     when wwsbr_api.INVALID_NAME then
     dbms_output.put_line('INVALID_NAME');
     return -1;
     when wwsbr_api.DUPLICATE_NAME then
     dbms_output.put_line('duplicate name');
     return -1;
     when wwsbr_api.MISSING_NAME then
     dbms_output.put_line('MISSING_NAME');
     return -1;
     when wwsbr_api.MISSING_DISPLAY_NAME then
     dbms_output.put_line('MISSING_DISPLAY_NAME');
     return -1;
     when wwsbr_api.NAME_TOO_LONG then
     dbms_output.put_line('NAME_TOO_LONG');
     return -1;
     when wwsbr_api.URL_REQUIRED then
     dbms_output.put_line('URL_REQUIRED');
     return -1;
     when wwsbr_api.PLSQL_REQUIRED then
     dbms_output.put_line('PLSQL_REQUIRED');
     return -1;
     when wwsbr_api.INVALID_PLSQL_EXECUTE_USER then
     dbms_output.put_line('INVALID_PLSQL_EXECUTE_USER');
     return -1;
     when wwsbr_api.MISSING_PLSQL_EXECUTE_USER then
     dbms_output.put_line('MISSING_PLSQL_EXECUTE_USER');
     return -1;
     when wwsbr_api.INVALID_FOLDER then
     dbms_output.put_line('INVALID_FOLDER');
     return -1;
     WHEN OTHERS THEN
     dbms_output.put_line(substr(sqlerrm,1,500));
     return -1;
Any help would be appriciated.

Did you ever figure out your issue? I'm having the same issue after I try to set attributes.

Similar Messages

  • Use a Custom Page Layout When Creating [[new pages]] in Enterprise Wiki

    I have followed a few different blogs and I've been able to create a custom wiki content type and create a new page layout based off of that content type. I've also set my site so that my new layout is the default page layout. This works when creating
    new pages on the site but when i try to create a new wiki page --> [[new page]], I'm still getting the typical blank wiki template. How on earth do i get my page layout to sync with creating a new wiki page?

    Hi,
    For your issue, go to Site Actions > Site Settings > Page layouts and site templates (Under Look and Feel).
    Pages in this site can only use the following layouts: add custom wiki template.
    Select default page layout: choose custom wiki template.
    Besides, here is a blog, you can use as a reference:
    http://blog.henryong.com/2010/06/08/how-to-create-custom-sharepoint-2010-page-layouts-using-sharepoint-designer-2010/
    Best Regards,
    Lisa Chen

  • I am trying to create mobile pages using the steps file new new document page from sample mobile starters jquery mobile (cdn).  When "page from sample" is selected, the subsequent options are not available.  This seems like a silly question, but how do I

    I am trying to create mobile pages using the steps file>new>new document>page from sample>mobile starters>jquery mobile (cdn).  When "page from sample" is selected, the subsequent options are not available.  This seems like a silly question, but how do I acquire these options?

    You can get the latest jQuery Mobile Themes directly from jQuery Mobile's web site.
    https://demos.jquerymobile.com/1.1.0/docs/api/themes.html
    Or roll your own with ThemeRoller
    http://themeroller.jquerymobile.com/
    Nancy O.

  • Infinite loop creating new page due to column header overflow.

    i am getting an error and some pages "Infinite loop creating new page due to column header overflow. " --
    using report builder 9, i have a fairly simple report - that contains 4 subreports.
    for some pages i get the error - it seems if there is more data than would fit on 1 page.
    smaller pages work fine.
    the subreports are all simple queries and dumps....
    containing page header, column header, detail sections.
    page header has just a text bar of the name of the section.
    column header has the field names
    detail section has the data - 1 row for each row in the recordset.
    nothing i do seems to change getting "Infinite loop creating new page due to column header overflow. " on a page with more than 15-20 records returned.
    any ideas would be appreciated.

    Try these links if you are still having the issue:
    http://community.jaspersoft.com/questions/543302/receive-infinite-loop-creating-new-page-d ue-column-header-overflow-exception
    http://community.jaspersoft.com/questions/500177/infinite-loop-due-page-header-overflow

  • How do I make it so my client can edit Links in business catalyst when they create new pages?

    Okay so essentially I have built a site in Muse uploaded to business catalyst and I've setup a site template so that the client can create new pages as each new course arrives, but how do I get the link from the homepage to link to the new page? basically I need the link to be editable.
    What would be ideal is a kind of portfolio layout where there is a thumbnail and a new page but for my client to be able to add a new project adn it would create a thumbnail on the homepage and a new page that he can edit. Does anyone know of something like that possible in Business catalyst?

    Hi
    Editing with Business Catalyst only works with image or text editing , we cannot add new page or page items using in browser editing.
    However, you can manage the site from BC end when your client and login to admin and add pages, modify etc, but if you re-publish the site from Muse then then changes will be overwritten.
    Thanks,
    Sanjit

  • Clicking "page from template" does not allow me create new pages

    I stared designing a site with the trial version of CS4. Of course it involved a lot of trial and error, creating a page and canceling it again etc. At last I was able to design the index page and a few other pages, but suddenly just about 7 days into the trial period, the template started looking different; not displaying the images and displaying the home page article in an improper way. I also discovered that I could not create new pages by selecting file\new. When the new document dialogue page opens and I select "page from template" and then select a site I am working on, nothing shows in the items list. I only see the message "no items". Moreover, the "create" (new page) button is no more a click-able area.
    I even tried it by proceeding as if I wanted to design a new site. I click file\new\page from template\the site, but when it comes to the stage where I should select "2 column liquid, left sidebar, header and footer" after clicking “page from template” I don't see anything in the items column. It only tells me "no item."
    I thought this problem was due to the fact that I was using the trial version and that the trial version was limited in the number of new pages I could create. So I bought the full version. Alas! I discovered that changed nothing. Right now am stuck. Do you have any suggestion?

    I think you're are confusing DW Templates with CSS Page Designs and Starter Pages.
    Templates are a DW proprietary device.  They permit you to have sitewide elements such as common menus, headers and footers on all your pages along with Editable Regions for page specific content (i.e. the stuff that changes on every page).
    DW Templates looks like this (notice the Template Editable Comments):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body>
    <!-- TemplateBeginEditable name="Content" -->My Page Specific Content Goes here
    <!-- TemplateEndEditable -->
    </body>
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • How to create new Page Format

    Hello
    i want to create new page format in sap script
    can any body guide to crate this & how to assign this
    thnks in advance

    Hi Nitin,
    You can create a new page format by transaction code SPAD. Here you will have to create a cutomised page format for ex: 'ZPAGE'.
    After this you will have to create a format type 'ZPAGE'. Assign the page format 'ZPAGE' to format type 'ZPAGE'. Pls make sure that both the names are identical.
    Once you do that you will have to assign the format type ZPAGE to the printer which you want to use.
    Now you can use this page format in your script.
    Hope this helps.
    Sushil

  • Creating new pages in iWeb

    Could someone assist please with creating new pages within a page - that is if I need to follow from
    a previous page with in context stuff, but I don't want a NEW page with a NEW page heading at the top.
    I just want to put more stuff up under an existing page heading and using an arrow to go to new page
    all in the same section. Rather than filling the top with new page headings. Sorry if I cant explain it better! Thanks - Gareth

    This works for your site because it is mostly photos and you have used the Photo Page, fine. However, what you need to remember is that many people just have ordinary websites without photos who might still want to use sub pages and this method will not work for them because there are not forward and back links.
    I have sub pages on my own website and basically, I created an About Us page. I have some text there, but then I have something that says find out more about these people. I did not want these other pages displayed in the main nav bar, so I took them all out and what I have done on the About Us page is use a shape with the name of the person in it and created a hyperlink to that page. You click on the relevant shape and this takes you to the page for that person - on this page I have then created a shape with Back and Forward in it - the Back hyperlink if clicked on takes you back to the About Us page and the Forward hyperlink takes you to the page for the next person etc.
    If you want to create sub pages on an ordinary web site, then this is how you need to do it - you need the links on the pages that are not in the main nav bar to be able to get around the site.
    You don't have those links on your site, but as it is mainly photos then this does not matter and works for you, as you go from gallery to gallery. This will not work for everyone though - horses for courses! What works for one might not work for another.

  • I can't delete, move or create new pages.

    Hello,
    I have catalogue (390 pages)
    Today i cant delete, move or create new pages.
    When i delete, move or create new pages - my Indesign CS5.5 program "freezes"
    Only with CTR: + ALT + SHIFT i can stopped my program.
    Аfter reopening everything was as before!
    I try to export like a  *.idml file, but my program crashes! Every time!
    My OS is: Windows 7
    Indesign CS5.5
    Please help me
    Thank you!
    With kind regards,
    Botev Plovdiv

    Is there anything at all related to this freeze in the Windows Event Viewer?
    Are you able to add, remove, or move pages in a new document? Are you able to export a new document to .idml?
    Yes, it is able!
    It sounds like there may be a corrupt bit of text, or an image in the file. It may be possible to isolate a page, and then an object, using "Divide and Conquer."
    Start with a copy of the file, for safety. Try to export the front half and the back half separately. If either half crashes, divide it in half aand try to export those halves. Repeat the process until you have isolated a page that crashes. Now remove half the objects from that page and try to export. If it works, put those back and remove the other half and try again. Repeat as above until you isolate an object.
    Thank you, I will try!
    After that i will back to you with my comments!
    Thank you again, Peter!

  • How to create new page in adobe form.

    how to create new page in adobe form.

    Hi
    First Go To Layout.
    On Hicherchy Platte , rightclick on Subform and select option new body page.
    This way you can create body page for the particular subform.
    if you want to create master page , right click on page 1 and select New master page.
    Hope this will helpful to you.
    Rewards if useful.
    With Regards
    Nikunj Shah

  • Can not create new page from template

    I have been working on a new site for the last couple of
    weeks and have created several pages using a basic template.
    All of the child pages of this template still update when
    changes are made to it, however I can no long create new children
    from this template.
    Any ideas as to what the problem might be.
    THanks
    Clint

    > It is basically just creating a copy of my template, and
    not linking to it in
    > any way.
    > This allows me to change any section of the html.
    my guess is that you are opening the .dwt template file and
    doing a "Save
    As". That page is not a "child" page of the template.
    >
    > I want to be able to create new pages off this template
    and have it work like
    > all of the first pages I created.
    dw menu-->File-->New
    in the new files dialog box, click the Templates tab
    from list in left, click This Site Name
    from list in right, pick This Template
    make sure x is in box to Update if template changes
    click okay
    save file with filename you want to within this local site
    folder.
    add content to within the editable areas
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    To make a new document, go to File > New From Template chooser and choose the type of document you wish to create.
    To add a new page to an existing document go to Insert > Sections > Blank.

  • Java script will not work after creating new page

    I am using dreamweaver cs3 and have a java script to rotate a banner in a template.  This script has worked fine in the past when I created pages in Dreamwever.  Now the  script works fine only when I test it in a template but when I try to upload to my ISP the script will no longer work.  At first I thought it was the ISP made changes but the person who sits next to me running the same version of Dreamweaver can create a page and the java works.  The java is placed in a template, tested by viewing in a brower and it works, however once I try to create a new page using the template the scriipt will not work.  To get around this I have the person sitting next to me save my template and then I can create pages.  Also if I save the template with my pc and it updates the pages created by the template the java will no longer work.
    This is very frustrating as I cannot create or modify my template on this pc.  What would prevent this from working?

    OK - now we are on to something ..... the script on the template only contains:
    function randomImages(){
      if(counter == (imgs.length)){
        counter = 0;
    MM_swapImage('rotator', '', imgs[counter++]);
      setTimeout('randomImages()', delay);
    However when I create a new page from the template with this javascript in it the code changes to:
    function randomImages(){
      if(counter == (imgs.length)){
        counter = 0;
    MM_swapImage('rotator', '', imgs[counter++]imgs[i]);
    function randomImages(){
      if(counter == (imgs.length)){
        counter = 0;
    MM_swapImage('rotator', '', imgs[counter++]);
      setTimeout('randomImages()', delay);

  • I created new responsability using seeded menu 'Manager Self Service'it give me that'select action' no selected action

    i created new responsability using seeded menu 'Manager Self Service'  which is assigned to seded responsability  'Manager Self-Service', when i try  to open any  function like 'change job' it give me that there are no  selected actions although it works with the seeded responsability.

    Hi Steven,
    Please create a quota template named "Personal site" and apply in self service site creation page, then check again.
    http://blogs.msdn.com/b/jimmiet/archive/2012/07/22/10332361.aspx
    http://danmyhre.wordpress.com/2010/03/16/my-sites-do-not-have-a-quota-when-they-are-created/
    Thanks
    Daniel Yang
    TechNet Community Support

  • Creating new file using report generation express vi

    Hello,
    In my application, I need to write certain data in excel sheet. For that I created an excel template and I used the express vi in report generation toolkit to save the appropriate data in appropritate columns. I need a new file created everyday by that day's name and write the data to it rest of the day. I am having problems creating new file using this express vi. I tried using the low level vi's but not been able to it properly.
    Attaching my code and excel template.
    Please help.
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    excel write2.vi ‏119 KB
    Book2111.xltx ‏8 KB

    r_te wrote:
    The thing is everyday there cannot be a file provided.
    Sure there can.  Don't you see the input on the Express VI for a file? "Path To Save Report" is the name of the input you want.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • Why do I get an error when clicking on "view in browser" in my newsletter?

    Hello. I am trying to get the URL for my email campaigns so I can show some of them on my webpage. When I tried to get the URL by clicking on the email I sended in the tag that says "view in browser": I get the following URL: http://www.coscatl.com/C

  • Zire72 and garmin mobile xt

    Gentlemen: I am trying to install the program Garmin Mobile XT in my PalmZire 72. I have a Adapt AD-350+ Bluetooth GPS receiver. The program initiates the installation, however, I receive the following message: "FATAL ALERT - Emul68KMain.c, line: 438

  • System Updates, Now Won't Boot

    I did four recommended system updates yesterday, two being Security and ITunes. Now my MacBook won't boot, even in Safe Boot mode or from the disk. Just the blue screen and the circle. I have it connected to another computer so I can see and get into

  • How to create database in solaris to create a RAID

    Hello, I have created the following partition c0t8d0s2 size: 68.35GB c0t8d0s3 size: 68.00GB C0t9d0s2 size: 68.35GB so I can create a RAID 5 By running metainit d0-r c0t8d0s2 c0t8d0s3 c0t9d0s2 => metainit: dwhM: no existing database Pleas help me Than

  • Arrang items in a region order by create date

    Hello, I'm using Portal 9.0.2.3 I want to arrange my items order by the created date (desc) because actually the order seems to be asc. In the region properties I don't find the options to make this. The availaible options are " default, size, title"