Extending user collection dynamically

hello,
I have folloving code:
CREATE TYPE T_my_row OID '4711'
IS OBJECT(field1 varchar2(10), field2 number(10));
CREATE TYPE TT_my_table OID '0815'
IS TABLE OF T_my_row;
declare
my_table TT_my_table := TT_my_table()
begin
  for my_value in (select rownum, 'a' as filed1, 2 as field2 from dual) loop
    my_table(my_value.rownum) := T_my_row(my_value.filed1,my_value.filed2);
  end loop;
end;
/but this gives me an error:
ORA-06533: Subscript beyond count.
I understand that I need to tell how many entries the table may have.
But how do I do that without providing all rows on initialisation?
Is there something like my_table TT_my_table := TT_my_table(p_max_row_count=>407) ?
bye
TPD

T.PD wrote:
I understand that I need to tell how many entries the table may have.
But how do I do that without providing all rows on initialisation?
Is there something like my_table TT_my_table := TT_my_table(p_max_row_count=>407) ?No. You can use the +.Extend()+ method to add (null) objects to the collection.
In your example's case however, it is much simpler to allow PL/SQL to do all the work for you - extending the collection and populating it using a bulk collect.
E.g.
select T_My_Row( col1, col2 ) bulk collect into my_table from table where ...
Of course, you need to be mindful of the size of the collection created. PGA memory is used - and as dedicated server memory (opposed to shared server memory), it is expensive memory. And not to be needlessly wasted.

Similar Messages

  • Extended user rights and 500 users limits on a PDF Form

    Hello,
    I read that there's 500 users limits for using extended user rights on Acrobat Pro 9.
    Here's my situation:
    - I built an application PDF form with extended user rights for Adobe Reader users to save the form. And I'm going to be hosting it on the web for users to download the PDF form to their local hard drive.
    - The form will have a button to submit to a web page with a script for processing FDF, XFDF, XML, or HTP form export.
    My question is:
    1. Would it be violating the 500 users limits if more than 500 users download the form and save the PDF after filling out fields, but not submit the data back to the server?
    2. What would happen if more than 500 responses are received through above method? Would new visitors still be able to save the PDF form for their archive purpose after downloading it from our web site?
    Thanks.

    Can Adobe's licensing department define "extract"?  I know there is a lot of confusion here and I'm trying to understand.
    Here is our scenario:  We have developed an Adobe fillable form which we will be sending to 1000 customers.  Customers can open the form (in Reader v9.5 and greater) and fill out the form, validate it and then print it.  The customers are not sending the PDF files back to us and the PDF data is not being collected so there is no data we can extract from Adobe files (we are not that advanced yet).  Customers will just print the information, then fax or send back to us by U.S. Mail. 
    When we receive the completed information (via fax/mail, not PDF), we read information off our form.  Does Adobe consider reading our information “extracting” with our eyes?  I’m not sure how they can consider that extracting?  I would think Adobe owns the mechanism (aka PDF file) for validating our content, but they wouldn’t own the content on our form if we want to physically read it, right?
    Adobe needs to clarify this more clearly and I’ve ready their interpretation of the Policy, but it doesn’t address this scenario.  http://www.adobe.com/products/eulas/pdfs/Reader_Extension_Policy_A10-5-31-2011.pdf
    George, I don't think you are an Adobe Employee.  I see you are a MVP, but you are not officiall speaking for Adobe are you?
    ---Thanks.

  • Saving Extended User Right Forms

    Hi,
    I'm attempting to bring my office up to date by using forms on computers.  Currently we still the type writer for some forms.  I fought to get Adobe Acrobat Pro and now that I have it I'm not sure it's doing what I want.  Suggestions on how to use this program better or get the 'right program are appreciated' (no disrespect to the Adobe Team).  I converted a form that was created from Word Document into a PDF.  I then Extended User rights.  I have the form made but everytime I go to save the form, I have to Save As: that is to say I just can't save the stuff I filled-in, in the same file and a new file is created.  With MS Word, even though I can't tab between forms, I don't have to make a new file.  Am I doing something wrong, is it possible to just hit Save in a fillable form and not have to create a new document or version?
    In the office, I am the only one with Adobe Pro 9 and the other people in the office mainly have Adobe Reader and not acrobat, so I want to save the forms using Adobe Reader.
    Thank you for your insights.  I've been researching this but no answer has come my way.
    Ricardo
    P.S. I am not trying to collect data from them, I just need forms to fill out and print and also save in the computer.

    You should apply the Extended User Rights as the last step in the process
    of creating the file. Once you do that, it creates a sort of signature on
    the file which prevents you from editing it further, unless you remove
    those rights. So get the file working the why you want it, apply the
    rights, and then save it under a new name. You can then publish the version
    of the file with the Reader rights, and continue working on the one without
    them.
    On Sat, Feb 11, 2012 at 2:01 AM, New at AdobeAcrobat Pro

  • Need help creating a device collection based on members of a user collection

    Hello everyone,
        I am working on developing a device collection based on the membership of a user collection. The purpose of the device collection is to provide us with the capability of deploying software to users while the users are logged off their systems.
    I would love to use AD security groups but unfortunately that isn't an available approach in this case. I have been experimenting with SQL queries to find the best way to obtain the results I want and the following query works like a champ:
    Select SYS.Name0,
    v_R_User.Unique_User_Name0
    FROM v_R_System AS SYS
    JOIN v_UserMachineRelationship ON SYS.Name0=v_UserMachineRelationship.MachineResourceName
    JOIN v_R_User ON v_UserMachineRelationship.UniqueUserName=v_R_User.Unique_User_Name0
    JOIN v_FullCollectionMembership AS FCM on FCM.ResourceID = v_R_User.ResourceID
    JOIN v_Collection AS COLMEM ON COLMEM.CollectionID = FCM.CollectionID
    Where FCM.CollectionID = 'cha0000B'
    The problem arises when I attempt this same query in SCCM 2012, I don't get any results from this query so of course it won't work to base a Device Collection from. Here is the WQL:
    Select SYS.Name,
    SMS_R_User.UniqueUserName
    FROM SMS_R_System AS SYS
    JOIN SMS_UserMachineRelationship ON SYS.Name=SMS_UserMachineRelationship.MachineResourceName
    JOIN SMS_R_User ON SMS_UserMachineRelationship.UniqueUserName=SMS_R_User.UniqueUserName
    join sms_v_FullCollectionMembership AS FCM on FCM.ResourceID = SMS_R_User.ResourceID
    join SMS_v_Collection AS COLMEM ON COLMEM.CollectionID = FCM.CollectionIDwhere FCM.CollectionID = 'cha0000B'
    I am hoping that someone will be able to look at my SQL and tell me how I can get the WQL right so I can use this query properly or provide suggestions to accomplish what I need.
    Thanks in advance for the assist,
    Chris Bolton

    Hi Torsten,
         While your suggestion of that link was close, it still went in the direction of using security groups as the basis for device queries and that isn't the direction I am pursuing. I had a colleague look at my original query and he identified
    that I had some unnecessary redundancy but that didn't resolve my SQL -> WQL inconsistency. I continued to play with the query and the following SQL also works (and actually works a bit better for my purposes)
    select distinct v_R_System.Name0,
    v_R_User.Unique_User_Name0
    FROM v_R_System
    JOIN v_R_User on v_R_User.Full_User_Name0 = v_R_System.User_Name0
    JOIN v_UserMachineRelationship ON v_R_System.Name0 = v_UserMachineRelationship.MachineResourceName
    JOIN v_FullCollectionMembership on v_R_User.Unique_User_Name0 = v_FullCollectionMembership.SMSID
    WHERE v_FullCollectionMembership.CollectionID = 'cha0000b'
    however when I translate it to WQL I still am unable to get results (here is the WQL version)
    select distinct sms_R_system.Name,
    sms_R_User.UniqueUserName
    FROM sms_R_system
    JOIN SMS_R_User on SMS_R_User.FullUserName = SMS_R_System.UserName
    JOIN SMS_UserMachineRelationship ON SMS_R_System.Name = SMS_UserMachineRelationship.MachineResourceName
    JOIN SMS_FullCollectionMembership on SMS_R_User.UniqueUserName = SMS_FullCollectionMembership.SMSID
    WHERE SMS_FullCollectionMembership.CollectionID = 'cha0000b'
    I think I am on the verge of getting this right but it sure seems to be a challenge. Is there a "WQL Workbench" that I could use that is similar to SQL Management Studio inside of which I could test these queries rather than having to use the rather clunky
    SCCM "Edit Query Statement" dialog box?
    Thanks again,
    Chris Bolton

  • I would like to be able to update my photo collection dynamically

    I have a photo album that goes through a sequence of same
    sized photos. However when I want to change the photos I always
    have to go into flash and change stuff which is time consuming. I
    would like to be able to update my photo collection dynamically by
    just changing the files in the folder in my computer called images.
    The .swf file would respond to this by showing the new sequence of
    files in this folder. This would save me much time.
    thnks very much for any advice.

    you can use an XML file to grab the images, and flash can
    parse them out and display them, then when you want to make a
    change, you could either rename the photo the same as the old one,
    or update the XML file.

  • How to read Extended user property in oracle BPM?

    Hi,
    I have tried using the XPATH expression in Data Association to read an Extended User Property defined in Oracle BPM Workspace. Actually I'm using Active Directory for authentication, and as there is limitations for modifying existing AD to accommodate custom fields required for BPM Processes, I created an Extended User  Property called Department Code and mapped it for all users who should be participating in the process. Now I want to read this Department Code and display in ADF Form (Human Task Form).
    I tried something like this using XPATH Expr. in Data Association for Human Task :
    ids:getUserProperty(bpmn:getProcessInstanceAttribute('creator'), 'departmentCode')
    But it appears that using Identity Function exposed for Xpath we can only read some pre-defined set of properties associated with internal LDAP for weblogic. So please suggest what is the approach one should follow in order to read Extended User Properties defined in Oracle BPM Workspace.
    I'm using Oracle SOA 12.1.3 and JDeveloper 11.1.17 deployed on Windows 7
    Regards,
    Shoaib R Khan

    Hi,
    I have tried using the XPATH expression in Data Association to read an Extended User Property defined in Oracle BPM Workspace. Actually I'm using Active Directory for authentication, and as there is limitations for modifying existing AD to accommodate custom fields required for BPM Processes, I created an Extended User  Property called Department Code and mapped it for all users who should be participating in the process. Now I want to read this Department Code and display in ADF Form (Human Task Form).
    I tried something like this using XPATH Expr. in Data Association for Human Task :
    ids:getUserProperty(bpmn:getProcessInstanceAttribute('creator'), 'departmentCode')
    But it appears that using Identity Function exposed for Xpath we can only read some pre-defined set of properties associated with internal LDAP for weblogic. So please suggest what is the approach one should follow in order to read Extended User Properties defined in Oracle BPM Workspace.
    I'm using Oracle SOA 12.1.3 and JDeveloper 11.1.17 deployed on Windows 7
    Regards,
    Shoaib R Khan

  • SCCM2012: Can you create a Query-based "User Collection" using an IP Subnet (or IP Address range) in the Query?

    The topic says it all (I hope).  I am new to 2012 and I have tried to accomplish this feat all day, which includes researching online, but I have had zero success in finding anything helpful.
    Obviously I can create "Device Collections" based on the IP Subnets, and I can do a "Direct Rule" in "User Collections" for the desired IP Subnet, but I do not want to do this because I need the results to update if/when
    any changes occur during a "scheduled/incremental update".
    The only thing I could find for the "User Collections" was this:
    select *  from  SMS_R_User where SMS_R_User.FullUserName = SMS_R_User.UserName and SMS_R_System.IPAddresses like "111.11.1%"
    EXAMPLE (Query for Devices):
    select *  from  SMS_R_System where SMS_R_System.IPAddresses like "111.11.1%"
    Is there a way to Query SCCM (2012) and display the Usernames of computers that login to the (sole) Domain through a specified (or desired) IP Subnet?

    Why do you want to install software by location for a user? Why do you care?
    Why would you want to create a collected of Users with software installed? PCs have the SW install not users so how would you use it?
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ
    I was asked to setup these (Device and User Collections) in this manner so we can limit future distributions/deployments of Applications (and/or Packages) and (OS) Images by these groupings.  Apparently there will be occasions where deployments will need
    to be segmented as such because the company wants to have them grouped in this manner.  If there is a better option available than this, which I would not doubt since I am new to SCCM 2012, then I would appreciate the information.
    IMO, you need to go back to the person asking and get and better understand of exactly what they want and more importantly why.  Making a collection, just in case doesn't make sense.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Create a User Collection with installed specific software

    Can someone help with Query to Create a User Collection with installed specific software.
    I have created a collection for Computer Collection with installed specific software but i need to push apps on users and for that i need to create a user collection with specific software installed.
    Thanks

    Yes. I have created device collection with
    installed specific software and used  this collection to pull report from out the box report for Primary Device users( Not sure about exact report name but similar) for
    this collection. Did some excel work to find primary device user.
    But looks like there is no straight forward solution. It would be great if i know how to import multiple users from a text/csv file into a User collection.
    Thanks

  • Client Settings for Device collections Vs Client Settings for User collections

    I noticed there are "Client Settings" set for each User and Group in SCCM. I want all my "Client Settings" configured by Device Collections not User Collections, what can I do? Can someone explain the difference between those?
    Thanks
    James A+, Network+, MCP

    One is for user settings on a client and the other is for device settings on a client. As you can imagine user settings can only be deployed to user collections and device settings can only be deployed to device collections.
    For more information about the user and device settings see:
    https://technet.microsoft.com/en-us/library/gg682067.aspx?f=255&MSPPError=-2147217396
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Login User with Dynamic Redirect

    Hi,
    I have used the "Login User with Dynamic Redirect" with asp
    VBScript. But
    now I´m going to make a PHP/MySql site.
    Does anybody know of a extension that can make dynamic
    redirection from
    logon page.??
    /mike.

    Michael wrote:
    > I have used the "Login User with Dynamic Redirect" with
    asp VBScript. But
    > now I�m going to make a PHP/MySql site.
    > Does anybody know of a extension that can make dynamic
    redirection from
    > logon page.??
    You don't need an extension. The built-in Log In User server
    behavior
    does it.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • SCCM Report Top Console User Computer by User Collection

    Trying to Get a report of where We can have a user collection then it comes back with that users computer information... I have this report working until I try to have it run by user collection.  I have commented out the last join and where  and
    the reports run.  Any help would be appreciated.
    SELECT DISTINCT B.Netbios_Name0 AS [Computer Name],
    G.SerialNumber0 AS [Service Tag],
    C.Manufacturer0 AS [Make],
    C.Model0 AS [Model],
    e.Name0 AS [Processor Name],
    E.MaxClockSpeed0 AS [Processor (GHz)],
    E.ProcessorType0 AS [Processory Type],
    D.TotalPhysicalMemory0/1024/1024 AS [Memory (GB)],
    B.User_Name0 AS [Last Logged on User],
    I.TopConsoleUser0 AS [Top User],
    H.Size0/1024 AS [Disk Space (GB)],
    J.Caption0 AS [Operating System],
    J.CSDVersion0 AS [Service Pack Level]
    FROM dbo.v_r_system B
    JOIN dbo.v_gs_computer_system C ON C.ResourceID = B.ResourceID
    JOIN dbo.v_gs_x86_pc_memory D ON D.resourceID = B.ResourceID
    JOIN dbo.v_gs_processor E ON E.resourceID = D.ResourceID
    JOIN dbo.v_gs_pc_bios F ON F.ResourceID = E.ResourceID
    JOIN dbo.v_gs_system_enclosure G ON G.ResourceID = F.ResourceID
    JOIN dbo.v_gs_logical_disk H ON H.ResourceID = G.ResourceID
    JOIN dbo.v_GS_SYSTEM_CONSOLE_USAGE I ON I.ResourceID = H.ResourceID
    JOIN dbo.v_GS_OPERATING_SYSTEM J ON J.ResourceID = I.ResourceID
    JOIN dbo.v_FullCollectionMembership K ON C.ResourceID = K.ResourceID
    WHERE K.CollectionID=@ColID
    ORDER BY C.Model0

    Was hoping for a little more meat on the bone.
    What more meat do you want? Peter suggestion is exactly what you need to do.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • User Exit/Dynamic Actions when saving Business Event

    Hi,
    In Training & Event Management, is there such a thing as a user exit/dynamic actions that will be invoked when saving a Business Event?
    Thank you.
    Regards,

    Hi
    Please check out the following Business Add in
    RHPV0001
    HRTEM00MASTERDATA 
    HRTEM00NET_ACTIVITY
    HRTEM_HANDLE_BOOKING
    Reward points, if helpful.
    regards
    waz

  • Uninstall deployment for an AppV5 application with Connection group fails if using a User Collection but works on Machine Collections.

    Hi,
    I'm having troubles to understand why my application in AppV5 that was sequenced with "MS. AppV Sequencer SP1" is somehow failing to be uninstalled properly only if this on is deployed with a
    User collection but on the other hand the same application installs & uninstalls perfectly if its deployed using a
    Machine collection? 
    Here is an extract of the Appenforce.log:
    Remove-AppvClientPackage : Operation failed because package belongs to a
    connection group on the machine. Please ensure that package does not belong to
    any connection groups.
    Operation attempted: Remove AppV Package.
    AppV Error Code: 020000050C.
    Please consult AppV Client Event Log for more details.
    Au caractŠre Ligne:1 : 106
    + import-module 'C:\Program Files\Microsoft Application
    Virtualization\Client\Appv ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidResult : (:) [Remove-AppvClientPackage], 
       ClientException
        + FullyQualifiedErrorId : RemovePackageError,Microsoft.AppV.AppvClientPowe
       rShell.RemoveAppvPackage
    I know that SCCM 2012 does not uninstalls application prerequisites unless they are targeted by their individual uninstall collection or script an uninstall procedure on the main application. But if I try using the Machine collection the error is not appearing
    and the main application is removed and the Prereq will be left behind without causing any trouble at all !! 
    So my question is: Why an APPV5 application with a connection group should be pushed in a Machine context ?
    Notice that I already tried to do the troubleshooting to remove the application manually with PowerShell.
    - set-executionpolicy unrestricted
    - Import-Module AppvClient
    - Get-AppvClientPackage -Name PackageName*
    - Unpublish-AppvClientPackage $PackageName
    - Remove-AppvClientPackage $PackageName
    And actually it was removed but the problem started again if I tried to re-install /remove the application.
    Will really appreciate your comments.
    Kind Regards.
    Joel E.G.

    Hi Paul,
    To be honest we already experienced many troubles after the SCCM console was migrated from R1 to R2, SCCM client was updated too in consequence, but our AppV5 client still remains on SP1.
    I'm afraid that any application that uses Connections Groups will have to be pushed on a Machine context and I just wanted to really understand more about this subject of why it was working that way and not by User is there something I missed with (Run Virtual)
    that for any reason is not perfectly implemented to run on a user context?
    Any way, we will be testing AppV5 Client SP2 really soon because we have no choice.
    Regards,
    Joel EG

  • Issue with WPF validation(IDataErrorInfo) and loading User control Dynamically

    I have a user control and i use (IDataErrorInfo) for validation the problem is when i load User control Dynamically the validation not appears for the first time but when i load it in design time it works what is the problem ? here is the user control
    <UserControl x:Class="WeaponLibrary.WeaponUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:WeaponLibrary"
    xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
    xmlns:ad="clr-namespace:DataAccessClassLibrary.ValidationRules;assembly=DataAccessClassLibrary"
    mc:Ignorable="d"
    d:DataContext="{d:DesignInstance local:WeaponUserControlViewModel}"
    Height="700" Width="730" FlowDirection="RightToLeft" Loaded="UserControl_Loaded" >
    <AdornerDecorator>
    <Expander IsExpanded="True" >
    <DockPanel>
    <WrapPanel DockPanel.Dock="Top" DataContext="{Binding Path=SelectedWeapon}">
    <StackPanel Width="315" Margin="20,0,10,0">
    <ComboBox x:Name="CmbWeaponType" IsReadOnly="True" IsEditable="True"
    ItemsSource="{Binding RelativeSource={RelativeSource FindAncestor,
    AncestorType={x:Type UserControl}}, Path=DataContext.WeaponTypeList,ValidatesOnNotifyDataErrors =True,ValidatesOnDataErrors=True,
    NotifyOnValidationError=True,UpdateSourceTrigger=PropertyChanged}" DisplayMemberPath="weaponTypeName" SelectedValuePath="ID" >
    <ComboBox.SelectedValue>
    <Binding Path="weaponTypeID" Mode="TwoWay"
    UpdateSourceTrigger="PropertyChanged" ValidatesOnNotifyDataErrors="True" NotifyOnValidationError="True">
    </Binding>
    </ComboBox.SelectedValue>
    </ComboBox>
    </StackPanel>
    <StackPanel Width="315" Margin="20,0,10,0" >
    <TextBox x:Name="TxtWeaponNumber" Width="315" Text="{Binding weaponNumber,UpdateSourceTrigger=PropertyChanged, NotifyOnValidationError=True ,ValidatesOnNotifyDataErrors=True,ValidatesOnDataErrors=True,NotifyOnSourceUpdated=True,NotifyOnTargetUpdated=True,ValidatesOnExceptions=True}" >
    <!--<TextBox.Text>
    <Binding Path="weaponNumber">
    <Binding.ValidationRules >
    <ad:RequiredRule ValidatesOnTargetUpdated="True" />
    </Binding.ValidationRules>
    </Binding>
    </TextBox.Text>-->
    </TextBox>
    </StackPanel>
    <StackPanel Width="315" Margin="20,0,10,0">
    <TextBox x:Name="TxtOwnership" Width="315"
    controls:TextBoxHelper.IsWaitingForData="True"
    Text="{Binding Path=ownership}" />
    </StackPanel>
    <StackPanel Width="315" Margin="20,0,10,0">
    <TextBox x:Name="TxtMagazineNumber" Width="315"
    controls:TextBoxHelper.IsWaitingForData="True"
    Text="{Binding Path=magazineNumber}" />
    </StackPanel>
    <StackPanel>
    <TextBox x:Name="TxtNotes" Margin="20,0,10,0" Width="660" Height="100"
    controls:TextBoxHelper.IsWaitingForData="True" Text="{Binding Path=note}" />
    </StackPanel>
    <StackPanel Width="660" Margin="10,10,10,0">
    <TextBlock Text="{Binding AllErrors}" Foreground="Red" >
    </TextBlock>
    </StackPanel >
    </WrapPanel>
    <DataGrid x:Name="DgvWeapons" Margin="0,10,0,10" VerticalContentAlignment="Center" ItemsSource="{Binding WeaponsList, Mode=OneWay,ValidatesOnNotifyDataErrors=False,NotifyOnValidationError=False}"
    HorizontalContentAlignment="Center" IsReadOnly="True" AlternatingRowBackground="{DynamicResource AccentColorBrush4}" SelectionMode="Single"
    CanUserDeleteRows="False" CanUserAddRows="False" AutoGenerateColumns="False" Width="657" SelectedItem="{Binding SelectedWeapon,ValidatesOnNotifyDataErrors=False,NotifyOnValidationError=False}" MouseLeftButtonDown="DgvWeapons_MouseLeftButtonDown">
    <DataGrid.Columns>
    <DataGridTextColumn Width="100" Binding="{Binding Path=WeaponTypeName}" />
    <DataGridTextColumn Width="100" Binding="{Binding Path=weaponNumber}"/>
    <DataGridTextColumn Width="100" Binding="{Binding Path=ownership}"/>
    <DataGridTextColumn Width="100" Binding="{Binding Path=magazineNumber}"/>
    <DataGridTextColumn Width="100" Binding="{Binding Path=note}"/>
    </DataGrid.Columns>
    </DataGrid>
    </DockPanel>
    </Expander>
    </AdornerDecorator>
    </UserControl>
    here is the code:
    var tabItem = new TabItem { Header = item.FormName };
    var adornerDecorator = new AdornerDecorator();
    var stackPanel = new StackPanel();
    stackPanel.Children.Add(item.MainForm);
    adornerDecorator.Child = stackPanel;
    tabItem.Content = adornerDecorator;
    tabItem.SetValue(ControlsHelper.HeaderFontSizeProperty, 18.0);
    MainTabControl.Items.Add(tabItem);

    hi
    i tried your way to know if there is an error
    the result is yes
    for the implementation of IDataErrorInfo
    here is the code :
    public string Error
                get
                    if (string.IsNullOrEmpty(weaponNumber))
                        return "error 1";
                    if (weaponTypeID == null || weaponTypeID == new Guid())
                        return "error2";
                    return string.Empty;
            public string this[string columnName]
                get
                    if (columnName == "weaponNumber")
                        bool valid = !string.IsNullOrEmpty(weaponNumber);
                        if (!valid)
                            return "error1";
                    if (columnName == "weaponTypeID")
                        bool valid = weaponTypeID != null && weaponTypeID != new Guid();
                        if (!valid)
                            return "error2";
                    return null;

  • Sun IDM 7.0, creating a new extended user object in the repository.

    I have tested a change to an existing UserForm used in Anonymous User Registration TaskDefinition. The customer would like to capture a new field of data from the user during the registration, and have it stored in the repository so that it may be used as a differentiators between groups for billing.
    Caveat:  I am not the guy that originally installed and originally configured the IDM server, nor am I a programmer.
    Having said that, I have poked around enough to me able to modify the UserForm to include the drop-down select code, but once saved during the registration process, it is lost once the account is approved.
    Is there a rather explicit procedure to create a new extended user attribute within the repository? Someplace where my data can be saved?
    Thank you in advance for any assistance you may offer.
    Edited by: Jonathan.Hawes on Oct 29, 2010 3:58 PM to correct some spelling

    In 7.X user extended attributes shall be first described in the UserUIConfig Configuration object.

Maybe you are looking for