How do I create portal groups dynamically?

Has anyone written code to use the
WWSEC_APP_GROUP_MGR.CREATE_GROUP procedure to create portal
groups programmatically? I understand alot of what I'm supposed
to pass, but some of these parameters are pretty obscure and
obfuscated.
I'm not sure this can be called like a normal (non-htp) stored
procedure at all. I now understand nearly all of the
parameters. Looking at the page source behind the Create Groups
page, I see that many of these parameters are involved in the
page generation itself, for example p_back_url being a variable
that is probably attached to the action of "Previous" buttons
that appear as you go through the process of creating a group.
Here is my call:
wwsec_app_group_mgr.create_group(p_groupname => 'X',
p_description => 'TEST GROUP',
p_db_role => 'DBA',
p_hide_group => 'N',
p_styleid => 6,
p_group_id => y,
p_siteid => 0,
p_site_id => 1);
where "y" is the nextval of the group sequence.
Inserting SQLERRM into a table, I end up with this:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.OWA_UTIL", line 323
ORA-06512: at "SYS.HTP", line 860
ORA-06512: at "SYS.HTP", line 975
ORA-06512: at "SYS.HTP", line 993
ORA-06512: at "PORTAL30.WWUTL_HTP", line 25
ORA-06512: at "PORTAL30.WWERR_API_ERROR_UI", line 182
ORA-06512: at "PORTAL30.WWSEC_APP_GROUP_MGR", line 2891
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWSEC_APP_GROUP_MGR", line 255
ORA-01403: no data found
I know that this procedure is responsible for generating the
subsequent pages in the "create group" wizard. There's just no
possible way to figure out how to use this procedure
dynamically. I repeat we WILL NOT BE TYPING IN OVER 3500 GROUPS
and 7000 USERS USING THE WIZARD. There must be a way.
I don't want to just arbitrarily insert groups into tables
behind the scenes without knowing what I'm doing. If this is as
simple as inserting a row into wwsec_group$, wwsec_member$,
etc., then great, but there's no way of knowing.
Maybe an Oracle person can help me. Is there another API I can
use, or is there a way to use this API as a stored procedure
where I can just loop through a driving table to create a bunch
of users and groups?
I appreciate any help. I need to create over 3000 groups based
on my client's organization. We REFUSE to do this by hand using
portal's interface. Not that it's bad, it is just impractical
in this instance.
Adrian Klingel

Never mind.

Similar Messages

  • How do I create a group distribution email list with my contacts?

    I have many contacts and need to create email distribution lists with my contacts. It is too difficult to choose each contact with every email. How do I create a group contact list with my contacts on iCloud?

    Hello there, swcoxdpm.
    The following Knowledge Base article provides information on creating Group Contacts in Mavericks on your Macbook Air:
    Mail (Mavericks): Address messages
    http://support.apple.com/kb/PH14922
    Use a group address
    If you regularly send messages to the same group of people, you can save them as a group in Contacts, then use the group address to email them.
    Group contacts
    The steps to do that, are found here:
    Contacts (Mavericks): Group contacts
    http://support.apple.com/kb/PH15075
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How can I create a group Calendar in iCal, Mountain Lion

    How can I create a group Calendar in iCal, Mountain Lion?

    How can I create a group Calendar in iCal, Mountain Lion?

  • HOW CAN I CREATE A GROUP WITH MY CONTACTS FOR TEXTING

    HOW CAN I CREATE A GROUP WITH MY CONTACTS FOR TEXTING

    Olga, this is not a default feature in iPhone. You need a 3rd party application. I have created a free one, Easy Group, for group texting and group emailing.
    http://itunes.apple.com/fr/app/easy-group/id461469079?mt=8
    Rémi
    Note: I may receive some form of compensation, financial or otherwise,from my recommendation or link.

  • How do I create a group in contacts for texting?

    How do I create a group in contacts for texting to several people?

    Create your group on your computer, and sync it on your iPhone. But you cannot use this group for texting. You need an application for this. Easy Group is a free one I have developped.
    http://itunes.apple.com/fr/app/easy-group/id461469079?mt=8
    Remi
    Note: I may receive some form of compensation, financial or otherwise,from my recommendation or link.

  • How do I create a group of e-mail contacts for my iPhone, iPad

    How do you create contact groups for e-mail for iPhone 3GS AND IPAD 2  ?

    GContacts is for both the iPhone and iPad. It can be found in the US App Store. Don't know what country you're in so I can't say for sure you can find it in your App Store. If you do a search on "contacts" in your App Store you should be able to find some contact manager apps.
    There is a way to create a contact with a group of email addresses.
    1. In Notes app create a list of email addresses separated by a comma.  Example [email protected],[email protected] Highlight the list and copy.
    2. In Contacts create a new contact and give it the name of the group you want.
    3. In the email field paste the list of email addresses.
    Note: you are probably wondering why you have to copy and paste the addresses into the email field. If you try to type the list into the email field, you will find that there is no way to type a comma in this field.
    4. Save the contact.
    5. When you create an email, select the group entry from contacts.
    You may get a message that the email address is invalid, but ignore the error, because the email should still be sent to all addresses.

  • How do I create a group list for email contacts with the I pad ?

    How do I create a group contacts with the iPad ?

    If you set up groups in iCloud, a contact can also belong to multiple groups. And no work around or mispurposing of a field needed. You can also filter a group without using the search function. Plus, your contacts are backed and available via another avenue if needed.
    Not questioning your solution - I'm sure it works - but the functionality exists within the design.

  • How do I create a group contact list for emails?

    I can open an new email contact for a single person, but how do I create a group contact list?

    http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Create_Mailing_List
    In Address Book, File/New/Mailing List, name the list and close it, then add contacts to the list by dragging them from an address book and dropping onto the list icon in the directory (left) pane.

  • How do I create a group of channels for input to a AI multi point

    Hi,
        How do I create a group of channels for input to a AI multi point, so that I can output it to 3 different graphs.I figured out the graphs but I am not able to figure out how to create the group of channels for the input.I saw many examples where a group of channels is given as an input.

    hello
    You have to put Daq Mx Create virtual channel.vi in a For loop. out side that u should give an array of virtual channel which ever you need to acquire. i am sending the vi in 7.0 too.
    Attachments:
    read_channel.vi ‏40 KB

  • How do I create a group in Contacts on my Iphone 5S

    How do I create a group in Contacts on my Iphone 5S?

    You cannot create them directly on the iPhone. You can do it via iCloud:
    iCloud: Create a group and add contacts to it
    or you can look in the App Store to find a compatible app to help you create groups on your iOS device.
    Cheers,
    GB

  • How do i create a group email?

    How can I create a group email?

    The native mail app in iOS does not support group emailing directly. You have a couple of options:
    Search the app store for an app that does. there are a few.
    Create a contact with multiple email addresses in the same email field (separate with semicolons). There is a limit on the number of characters the field will contain, and how many addresses this will work on don't recall exactly what that limit is, however). #1 is probably your best bet.

  • How do i create a group contact on iphone4

    Hi, how do I create a group contact on the iPhone 4 when sending group text and group emails? 

    Hi
    600 for my work
    Note that many email providers place limits on how many people you can address with a single email. 100 contacts is a typical limit (for iCloud.com, Gmail.com etc.) In that case no app will let you send a single email to that many contacts at once, and you should consider an online service such as mailchimp.com
    If your groups are less than 100, or your provider does not impose a limit, I'd like to suggest our "MailShot Pro" app, which has been one of the top-selling group email apps for over a year. Unlike most other group email apps, it creates special contacts for your groups which you can then use directly from Mail, and tens of thousands of other compatible apps. Over 250,000 people are now using it, and it is always ranked highly in search results for group email apps.
    You can find it on the App Store here:MailShot Pro
    A free version is also available, for creating a few small groups. MailShot (Note that certain other apps marketed as "free" will similarly only let you send to small groups without an upgrade)
    Peter
    Soluble Apps
    Disclosure: As the developer of MailShot I may receive compensation for sales on the App Store.

  • How do i create a group email address

    how do i create a group email address

    Use your Mac's Contacts application to create the group.  Then you can access the group name in Mail to send messages to.
    Here's some material from Contacts' Help:
    Organize contacts using groups or folders
    Use groups and folders (for Exchange accounts) to organize your contacts by categories, or to easily send email to several people at once.
    If you want a group that adds or deletes contacts automatically based on rules you define, instead of creating a group, create a smart group. For more information, see this help topic:
    Use Smart Groups
    Open Contacts
    HideCreate a group or folder
    In Contacts, choose View > Groups, and then select an account.
    Choose File > New Group, and then name the group or folder.
    You can also select the contacts you want to group, and then choose File > New Group From Selection.
    HideAdd contacts to a group or folder
    Select one or more contacts and drag them to a group or folder.
    Contacts in an Exchange account can belong to only one folder at a time. When you use folders, any contacts that aren’t in a folder you create are in the default Exchange Contacts folder.
    You can create subgroups or subfolders by dragging a group or folder to another group or folder.

  • How do i create a group

    How do I create a group?  I would like to a create for my wife's contacts and a group for my contacts so that I can tell iTunes to only synch her contacts to her phone and only my contacts to my phone.

    You create the groups on your computer in Outlook or Address Book, then synch with the iPhone.

  • How do I create a group on my iPhone

    How do I create a "group"in my contacts on my iPhone.

    You'll have to do this using the contact app on your computer, it can't be done from the phone side.
    Message was edited by: Ingo2711

Maybe you are looking for

  • Error -200429 DAQmx read (counter u32 1ch 1samp).vi -append- Edge count in for loop

    I am receiving error -200429 DAQmx read (counter u32 1ch 1 samp).vi <append>. This is occuring on the second loop of a for loop. I have a sequence inside the for loop that is using four DAQmx assistant vi's for edge count at various times in the sequ

  • Help viewer is weird to display topics

    Hi, When I try to get help with the help viewer, I enter a word in the little window for a keyword search and Help always display that He can't find anything (Aucune rubrique d'aide correspondante n'a pu être trouvée in french) Per exemple : if I ent

  • Archive Error file in PI

    Hi frnds, I have a requirement which says we need to archive a file when it is in error in PI. How can we acheive this as we need to move error file into a specific folder. Any Suggestions. Thanks, Prabhas

  • How did I get a 16 GB iPod touch 4g

    I ordered an iPod touch 4G on Amazon for just under $200 and it was listed as an 8GB white. However, I recieved it in the mail yesterday and it said 16GB on the plastic box. I was confused. So I oped it up and noticed on the back of the iPod itself i

  • HP Compaq 4000 Desktop - New e1000e Driver

    We just received a large shipment of HP Compaq 4000 SFF desktops. The Intel e1000e network cards in them were not recognized by the PXE boot (even after we used the March 2011 Imaging Drivers update.) We did some checking and found that the "newid" p