Creating lists -  wwsec_api.create_list - what priviliges do I need?

I am trying to create a new list through the wwsec_api.create_list, as a custom db-user (not portal30), but I get some unhandled exceptions:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 849
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 669
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "PORTAL30.WWCTX_SSO", line 935
ORA-06512: at "PORTAL30.WWCTX_API", line 170
ORA-06512: at "PORTAL30.WWSEC_API", line 540
If I run my code as PORTAL30 it works just fine.
I have run the provsyns-script for my DB-user. What more priviliges do I have to grant that user?
Thanks
Torstein

I don't have any specific references, but according to metalink (see Note:164066.1) I beleive you can only do it as portal30 (sso owner). As far as I am aware add_user is the only one that works outside of portal30.
In my case, and only after beating my head to a blood pulp, I gave up and no one is in a group because they self register. They automatically becomne authenticated users after they log in so I use it. Probably a security issue, but it is a low security site. If anyone else has a better solution, I'll kiss you!
Brice

Similar Messages

  • The Create List Item workflow action does not work in document library with document template

    My end goal is more complex but below is a basic example of the issue I’m having that just simply does not work.
    I'm trying to use a site workflow to create an item in a document library that has a document template applied to it but the file that gets created by the workflow is corrupt and cannot be opened.
    I created a document library and edited the document template by adding some text to the header and changing it to a Word docx file instead of a Word dotx file. I tested the document template by clicking the files tab in the ribbon and then clicking new
    document which opens the document template in Word and allows me to edit and save the document back to SharePoint. Then I created a SharePoint 2013 site workflow in SharePoint Designer that contains a single Create List Item action, and that action creates
    an item in the document library with the name field statically defined. I published the workflow and then manually start it on the site. The workflow completes successfully and when I navigate to the document library the document has been created by the workflow.
    When I click on the document to open it in the Word Web App it throws the error pictured below and if I open it in the Word client application it just opens a blank document and not the correct document template.
    I also tried using a SharePoint 2010 workflow with pretty much the same results. Opening the document in Word Web App gives the same error as above and opening the document in the Word client application gives the error pictured below.
    Come on Microsoft creating a Word Document in a SharePoint Document Library from a SharePoint Workflow should just work! Is this a bug or does anyone have any ideas on what is causing the this issue?

    I had the same problem with corrupted document - this worked for me:
    1. Create a 2010 Workflow which creates the list element in a document library
    (you may start this workflow from your 2013 workflow if applicable)
    2. In the Create New List Item properties - make sure to set ContentTypeId to your content type
    ("Id for indholdstype" is Danish for "Contenttype ID")
    3. Your Content Type template should be a ".docx" file - NOT a ".dotx" file...!
    (I have always created my templates for content types as .dotx files - seems Microsoft wants us to use ordinary .docx files as template files for content types)
    Hope this helps you!

  • How to create list items with multiple attachment files using rest api javascript

    In one of user form I am using javascript rest api to create a list item with multiple attachment files. So far I am able to create list item and once created uploading an attachment file. But this is two step process first create an item and then upload
    a file.
    It create an additional version of the item which is not desired. Also I am not able find a way to attach multiple files in a go. Following is the code I am using.
    createitem.executeAsync({
                    url: "/_api/web/lists/GetByTitle('UserForm')/items(1)/AttachmentFiles/add(FileName='" + aFile.name + "')",
                    method: "POST",
                    contentType: "application/json;odata=verbose",
                    headers: {
                        "Accept": "application/json;odata=verbose",
                        "X-RequestDigest": $("#__REQUESTDIGEST").val()
                    binaryStringRequestBody: true,
                    body: fileContent,
                    success: fnsuccess,
                    error: fnerror
    So somehow I need to combine item attributes along with attachment files in body: param. I visited https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListItem but no success.
    Appreciate any help.

    Thanks Mahesh for the reply and post you share it was useful.
    But this does not solve the core of the issue. You are uploading attachments after creation of item and multiple files are being attached in loop. This is kind of iterative update to an existing item with attachments. This will end up creating multiple versions. 
    What I am trying to achieve is to create an item along with multiple attachments in a go. No item updates further to attach a file.
    Please suggest how this can be done in one go. SharePoint does it when one creates an item with multiple attachment.
    Thanks for your reply.

  • Creating Lists and Other Formatting Issues

    I'm trying to convert from Entourage right now as I prefer the the Mac address book and calendar to those of MS however, I'm finding that the one application that seems to be lacking is Mail.
    Does anyone have any suggestions as to how I can: create lists, set mail priority, permanently adjust formatting (for composing emails), etc?
    So far, I'm pretty much at a loss; thanks.

    Cran,
    Mail is somewhat limited in that respect. The only options you have for default format are what you can set in Preferences / Fonts&Colors.
    Bullets and numbers as a style setting are not possible. When you receive a bulleted mail and try to respond to that with the original mail now as template text, you will find Mail behaving very strangely indeed.
    as for the priority setting, when you make a new mail, you will find a small boxed icon in front of the account settings, click on that, select customize and you can choose priority, Bcc, etc (not that there is much etc.)

  • How to create queries on multiproviders& what are steps to be taken.

    Hi all,
    How to create queries on multiproviders& what are steps has to be take care.
    Thanks,
    cheta.

    Hi,
    Following scenario for  sample for slow moving items for multiproviders.
    Slow Moving Item Scenario
    You want to define a query that displays all products that have been purchased only
    infrequently or not at all. In other words, the query is also display characteristic values for
    which no transaction data or only low values exist for the selected period.
    Procedure
    In the Administrator Workbench;
    1. Create a MultiProvider consisting of a revenue InfoCube, containing the InfoObject
    Material (0MATERIAL), and the InfoObject 0MATERIAL. The InfoObject must be set as
    an InfoProvider in InfoObject maintenance. In other words, you need to have assigned
    the InfoObject to an InfoArea. (also refer to Tab Page: Master Data/texts [Ext.]).
    In the BEx Analyzer:
    2. Select your MultiProvider in the Query Designer.
    3. Define a query that contains the InfoObject 1ROWCOUNT in the columns.
    The InfoObject 1ROWCOUNT is contained in all “flat” InfoProviders, that is, in all
    InfoObjects and ODS objects. It counts the number of records in the InfoProvider.
    In this scenario, you can see from the row number display whether or nor values
    from the InfoProvider InfoObject are really displayed.
    4. Save the query and execute it. All values are now displayed, including those for materials
    that were not purchased.
    If you filter by time (0CALYEAR, for example), values from the InfoProvider
    InfoObjects are not displayed since 0CALYEAR is not an attribute of
    0MATERIAL. You can see this from the absence of values in the 1ROWCOUNT
    column in the query. If you want to restrict by time, you need to proceed as
    follows:
    Constant Selection for the InfoObject
    You need to set the constant selection for the 1ROWCOUNT key figure in order to be able to
    set a filter by time in this query.
    1. In the Query Designer, via the context menu for 1ROWCOUNT, choose Edit.
    2. On the left hand half of the screen, under the data package dimension, select the
    characteristic InfoProvider (0INFOPROV) and drag it into the right-hand screen area.
    3. From the context menu for the InfoProvider, choose Restrict, and restrict across the
    InfoProvider InfoObject.
    4. Also from the context menu for the InfoProvider, choose the function Constant Selection.
    5. Save the query and execute it. You can now also set a filter for a time characteristic, the
    materials display remains as it was.
    Displaying Slow Moving Items
    If you want to display a list of slow moving items, excluding products that are selling well, you
    need to proceed as follows:
    1. In the Query Designer, via the context menu for 1ROWCOUNT, choose Edit.
    2. Via the context menu for InfoProvider, choose the function Display Empty Values. Also
    select Constant Selection.
    3. Save the query and execute it. The result is that the system displays the materials for
    which there was no revenue.
    Displaying Products with Small Revenues
    If you want to display a list of products that have not been sold or have only been selling
    badly, you need to proceed as follows:
    1. Set constant selection as described above, but do not select the display empty values
    function.
    2. In the Query Designer, define a condition for the 0MATERIAL InfoObject. Specify a value
    that is to be the upper limit for a bad sale.
    3. Save the query and execute it. The result is that the system displays all materials that
    have not been sold or have been selling badly.
    Thanks,
    Sankar M

  • Creating list of files from a directory

    Hi,
    poked around on the internet, and wanted to be able to create an ArrayList of all files in a directory. This code compiles, but doesn't work:
    import java.io.*;
    import java.util.*;
    public class TestDir {
         public static void main(String[] args){
         File folder = new File("testdir");
         System.out.println("does the folder exist? " + folder.exists());
         System.out.println("is folder a directory? " + folder.isDirectory());
         System.out.println("path: " + folder.getAbsolutePath());
         // create list of files
         try{
         ArrayList<File> files = TestDir.getFileList(folder);
         Iterator i = files.iterator();
         while (i.hasNext()){
         File temp = (File) i.next();
         System.out.println("file: " + temp.getName());
         } catch (IOException e){
         System.err.println("problem creating file list:");
         e.printStackTrace();
         } // end main
         public static ArrayList<File> getFileList(File dir) throws FileNotFoundException{
         ArrayList<File> result = new ArrayList<File>();
         File[] files = dir.listFiles();
         List<File> tempfiles = Arrays.asList(files);
              for(File file : files){
              result.add(file);
         return result;
    } // end classthis compiles fine, but doesn't give me the list of files.
    Any idea what I'm doing wrong?
    bp

    console output:
    C:\jason\java\domPractice>java TestDir
    does the folder exist? true
    is folder a directory? true
    path: C:\jason\java\domPractice\testdir

  • How to create list entries using ADM ?

    Hi All,
    I  want to create list box using ADM.
    Thanks

    Thanks for the reply.
    Sorry for the simple question.
    What is the theme used in Adobe Illustrator CS6?
    And then I started programming in Flash Builder 4.6 and the panel is obtained with the other buttons.
    Or how to move the theme Adobe Illustrator CS6 in my project?
    Thanks

  • Create List Definition Programmatically using Feature Receiver

    I am using a Feature Receiver to create a custom content type in the FeatureActivated event.  I know know to create a list instance through code to use my content type.
    What I would like to do is create a custom list definition (list template) to use my custom content type in the FeatureActiviated event.  I would like to do this entirely through C# code only (no xml files). I have been unable to find
    any examples of creating a list definition through code on MSDN.

    I hope below sample will be helpful for you to create a custom list and fields using code.
    In below code block, I have used different field types which include Text , Date, Boolean, choice & lookup filed.
    public override void FeatureActivated(SPFeatureReceiverProperties properties)
    SPSecurity.RunWithElevatedPrivileges(delegate()
    SPSite site = new SPSite(SPContext.Current.Site.ID);
    SPWeb web = site.OpenWeb(SPContext.Current.Web.ID);
    SPList listExistCheck = web.Lists.TryGetList("My List");
    SPList customList;
    if (listExistCheck == null)
    // Create list and record returned guid
    Guid customPagesListGuid = web.Lists.Add("My List",
    "My List", SPListTemplateType.GenericList);
    //Get list from stored guid
    customList = web.Lists[customPagesListGuid];
    // Set list properties and add required content types
    customList.Title = "My List";
    customList.OnQuickLaunch = true; // Set to true to display on the quick launch
    customList.ContentTypesEnabled = true;
    customList.EnableFolderCreation = true;
    customList.EnableSyndication = false; // Turn off rss
    customList.Update();
    customList.Fields.Add("First Name", SPFieldType.Text, true);
    customList.Fields.Add("Last Name", SPFieldType.Text, true);
    customList.Fields.Add("Company Name", SPFieldType.Text, false);
    customList.Fields.Add("Contact Number", SPFieldType.Text, true);
    customList.Fields.Add("Email", SPFieldType.Text, false);
    customList.Fields.Add("Post Code", SPFieldType.Text, true);
    customList.Fields.Add("Interest", SPFieldType.Choice, false);
    //For adding lookup coumn
    SPList targetList = web.Lists.TryGetList("Pages");
    if (targetList != null)
    customList.Fields.AddLookup("News", targetList.ID, false);
    SPFieldLookup lookup = (SPFieldLookup)customList.Fields["News"];
    lookup.LookupField = targetList.Fields["Title"].InternalName;
    lookup.AllowMultipleValues = false; lookup.Update();
    //for using choice field
    SPFieldChoice fieldStatus = (SPFieldChoice)customList.Fields.GetFieldByInternalName("Interest");
    string[] activityTypes = { "Interest 1", "Interest 2" };
    fieldStatus.Choices.AddRange(activityTypes);
    fieldStatus.DefaultValue = "Interest 1";
    fieldStatus.Update();
    //using multiline field
    customList.Fields.Add("Response", SPFieldType.Note, true);
    web.AllowUnsafeUpdates = true;
    customList.Update();
    //adding fields to default view
    SPView dView = customList.DefaultView;
    dView.ViewFields.Add("News");
    dView.ViewFields.Add("First Name");
    dView.ViewFields.Add("Last Name");
    dView.ViewFields.Add("Company Name");
    dView.ViewFields.Add("Contact Number");
    dView.ViewFields.Add("Email");
    dView.ViewFields.Add("Interest");
    dView.ViewFields.Add("Response");
    dView.Update();
    customList.Update();
    web.Update();
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • Creating list or any alternative is there?

    Here i am having 6 two dimensional double array  with the structure array[6,8]  this is for example i have given
    So at the run time i am  creating 36 sortedlist this  which i am using as weight for generating random value.
    But not every time i need all 36 list as some time i need only 10 or 5. The values will not be changing.
    What can i do ?which is the best approach?
    Thanks

    Hi Joel. I'm afraid you can't create Lists of Lists that way. You are setting the Capacity property of the Lists, e.g.
    wl = new List<List<int>>(6);
    but that doesn't add any items to the list, so
    wl[i] = new List<int>(8);
    will get an exception because there are no items in wl.
    If you want to make sure that each new WeightedList has 6 items each of which is a List of 8 integers, then I would code the class like this
    public class WeightedList
    public List<List<int>> wl {get; set;}
    public WeightedList()
    wl = new List<List<int>>();
    for (int i = 0; i <= 5; i++)
    wl.Add(new List<int>() {0, 1, 2, 3, 4, 5, 6, 7});

  • How to create list partition  Where value not equal

    Hi ,
    How to crate partition where i want to store all data what is not equal to ,priview values,(A,B,C,D,E) ?
    PARTITION PN001 VALUES (*is all values !=A,B,C,D,E*) TABLESPACE test_1Thanks !
    ID

    >
    In partition
    <partition_name> values (default) ? will be stored data where value is null too ?
    >
    See the VLDB partitioning guide
    http://docs.oracle.com/cd/E18283_01/server.112/e16541/part_admin001.htm#sthref247
    >
    Creating List-Partitioned Tables
    The semantics for creating list partitions are very similar to those for creating range partitions. However, to create list partitions, you specify a PARTITION BY LIST clause in the CREATE TABLE statement, and the PARTITION clauses specify lists of literal values, which are the discrete values of the partitioning columns that qualify rows to be included in the partition. For list partitioning, the partitioning key can only be a single column name from the table.
    Available only with list partitioning, you can use the keyword DEFAULT to describe the value list for a partition. This identifies a partition that accommodates rows that do not map into any of the other partitions.
    >
    Note the last two sentences above. The DEFAULT partition will contain data for values (including NULL) that do not map to other partitions.

  • How do people in Designers group provide permissions after creating list/libraries?

    We've always kept our SharePoint intranet pretty locked down, such that only those in an Owner's group can create lists and libraries.  We decided to utilize the Designer group to allow a select handful of people to be able to create lists and libraries
    (without making them owners of the site).  How do these "designers" apply permissions?  It doesn't appear that they can under the library settings.
    There are no mistakes; every result tells you something of value about what you are trying to accomplish.

    Oh I see. But if a user create a Library then user is the own of library and can assign the permission. when you click on the List / library settings on that page under the "Permissions and Management " can
    you see the link "Permissions for this document library".
    could you please share the screen print.
    Also check the permission of the user on that Library.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How does sharepoint designer create list item work ?.

    I'am using office 365, and sharepoint-designer (not the pro designer).
    There is a workflow rule that allows for creating items in another list.
    What i need to do is that if someone creates an entry in List A
    That List B gets an update too, based upon List A, and also a 4th list entry of list C (ea string containing "life cycle start").
    The workflow with the "rule create item in list", i've set to "start automatically when a new item is created".
    So far i've not been able to make it work, and the workflow Always suspends with vague errors, and since it is hosted i cannt do much with the errors.
    Could therefore anyone point me to a good youtube explaining this  function.
    Or might possible point out what often goes wrong when people use this.
    Maybe give some examples

    Yeeha !!!
    I got the first part working now; recap of howto:
    First of all, before you create lists and columns write it down on paper, so you will be sure about what names you will give them, as renaming these kinds of things later,  will only rename their view but not their old internal name, and as a result you
    will get lost if you want to automate stuff later on.
    So have you design ready (or in my case; delete current wrong site and start over clean).
    Recap :
    Using SharePoint designer:
    Create List A, use titles as the field to enter product names (or whatever item you like to registrate).
    Use the web browser:
    Goto List A you just made and set the title column to contain (required) unique index names.
    You can do this as Admin through list setting in the list top ribbon.
    Create List B using Sharepoint designer (simple list)
    In List B create a Lookup list to List A
    And select it so that you would like to see the title column in it.
    Using the web brouwser, make this column a required field (will become a (*) mark later).
    Using SharePoint designer, select list A.
    Select properties of List A, create a new (basic) workflow for it.
    Here you would assume that you need to get the title in List B, but that's wrong
    What one needs to get in List B a new to the current added Item in List A is the following:
    Note that the workflow will run under the context of new Items who are added to List A
    Create an action rule "Create list item" in the following list, and here select List B
    The pop will show you some fields marked with a (*) as required fields.
    Now the tricky thing is that is a reference to List A, and not a string.
    So you might think its a GUID then or so, but no wrong again.
    To get the link to the current List item A inside B.
    You will have to link it to  "Current Item"   (remember the workflow started from list A )
    And from the Current Item, you have to select the "ID" property.
    Apparently ID is internally used as a reference.
    Now whenever you create an Item in list A, it will be created in List B as well as a linked reference.
    So for example in A you could add more columns, like serial ID or creation time of article A.
    Then you don't have to add these into List B, as when people click on the hyperlink in List B they will be shown the details from list A.

  • I have files that may have been created in various versions of Illustrator. We need to be able to open them, but all we have is CS6 suite. I have called and been told that "technicians at adobe" could perform a paid service to find out what the files were

    I have files that may have been created in various versions of Illustrator. We need to be able to open them, but all we have is CS6 suite. I have called and been told that "technicians at adobe" could perform a paid service to find out what the files were created in and get them to be useable in InDesign 6, but I'd need an email address that was registered to our software to give the help desk person. After finding the correct email address, different adobe help number people told me to come here to ask as there is no phone support. Can anyone get me to an adobe technician that can provide a price quote for finding out what created these files and for getting them converted? Thanks.

    Sorry, I understood you to say you had the whole CS6 suite, which includes Illustrator.
    As far as finding out what the files are, sometimes you can look at them in a text editor to figure this out. See below; the, Creator Tool line. Not every software package makes it this easy, though.

  • How to use bind variale to create list of values? show date range?

    Hi,
    Dose anybode have a way to get around "bind variables are not allowed in Select statement" when create list of values from select? I have to create this based on who the user (one parameter passed into report) is.
    Another Question:
    I like to current date and current date-30 days on my report, how to achieve this?
    Any help wil be greately appreciated.
    Thanks

    Hi LC...
    Your approach is good...
    but i said to change the column formula not in criteria...
    but i wanted to done this change in fx of Dashboard prompt (presentation variable) column...
    Of course i appreciate your approach... it was simple ...
    Thanks & Regards
    Kishore Guggilla
    KUSHALINC

  • How do I get a new iTunes account to create a backup of what's on my wifes iPhone without deleting all the photos and stuff?

    How do I get a new iTunes account to create a backup of what's on my wifes iPhone without deleting all the photos and stuff?

    Well, I believe I found it.....
    When I connect the IPhone the device name pops up under devices in the selection column. Right click on the device name and select "Back-up".....
    If this is incorrect please let others know as I won't be able to because my wife will have destroyed all computers in the house for losing her data.

Maybe you are looking for

  • Rearranging apps no longer working

    Hi, My wife complained today that some of her apps were missing on her iPad. Sure enough, they were gone and searching for them confirmed this. When I attached the iPad to my Mac and opened iTunes, the configuration of the apps in the Apps tab screen

  • After falling red led for 3 seconds then dead

    Hi, after falling on the floor my blackberry 8800 will not start anymore.. When I insert battery or charger cable the red led lights up for 3 seconds then turns back off but the device is dead...it the anything I can do? Iv found other topic's talkin

  • Color laserjet 2605 DN

    I am running Windows 7 (64) and have a CLJ 2605 DN printer. I can not get the printer to print in color. I have tried via usb and over the network. I tried the HP universal printing PCL 5 driver from the website, with no luck. I also allowed windows

  • Deletion of record from z table

    Hi, How can I delete or update a record directly from Z table. Are there any implications in deleting the record directly. Thanks, Waqas Rashid

  • Discoverer plus drill down looses workbook formatting

    Hi, I am having a strange issue with my discoverer workbook. I have created a report with drill down for example here is the hierarchy i am trying: [http://img709.imageshack.us/img709/6787/hierarchy.png] now on the net sales level I have grouped the