Help needed in creating user defined attribute

Hi all,
I want to create user defined attributes and make it available for all users in sun LDAP5.2,I have followed the below mentioned steps,
1.Under configuration-schema i have created attribute named "ldapproducts"
2.I have created new object class "userproducts" and made the parent to be "inetorgperson" and added my "ldapproducts" attribute in required attribute.
Now,in directory tab,Iam trying to add the "ldapproduct" attribute for each user but my defined attribute i.e,"ldapproducts"is not available in the "Add Attribute"list
please let me know do i need to do some steps or do i need to do any changes in DS files..
waiting for ur replies...
thanks in advance.

Hi,
I dont know the solution for this, but heres a work arround
//create new label some where else in the excel sheet as shown below
Label lblcmbdata;
for(int i=0; i<1000; i++)
             lblcmbdata = new Label(75, i, (i+1)+" satish", format);
             sheet1.addCell(lblcmbdata);
}//set the validation range as shown below
writableCellFeature.setDataValidationRange(75,0,75,1000);
Label cmb = null;
cmb = new Label(0, 1, "Select",format);
cmb.setCellFeatures(writableCellFeature);
sheet.addCell(cmb);this will create a combo list with 1000 values
also you can keep the data to be populated in the different sheet in same workbook by creating a named range as below
workbook.addNameArea("cmbdata", sheet1, 0, 0, 0, 1000);
// then fill the data in sheet1
Label lblcmbdata;
for(int i=0; i<1000; i++)
                lblcmbdata = new Label(0, i, (i+1)+" satish", format);
                sheet1.addCell(lblcmbdata);
//set the validation named range as below
writableCellFeature.setDataValidationRange("cmbdata");
Label cmb = null;
cmb = new Label(0, 1, "Select",format);
cmb.setCellFeatures(writableCellFeature);
sheet.addCell(cmb);Thanks and Regards
Satish

Similar Messages

  • Is it possible to create user defined control in labview

    in .net we can create user defined contol in which i can put more then one control and,, can use it as single control when needed,, but,, how this possible in labview,,
    actually in my program i have a tab control and,, in that tab control there are 8 pages,, now there are 5 different kind option selection for each page lets say "a" "b" "c" "d" "e",,,,,.,. so,, when i select "a" configuration for tabpage 1 should show.. "a"(control collection)  on tabpage1....and,, same should b possible for all 8 pages............................. this can possible if its possible to create user defined contorl in labview
    while in .net its very easy task i m confused here,..,.
    i put these controls in another 5 different  VI,,,, and tried to call in subpanel but,, i dont find the solution,,,
    Attachments:
    tabcontrol.vi ‏1 KB

    Hi,
    I've tried to open you attachment but LabVIEW tells me it's not a vi... could you check it and repost please ?
    I'm not really sure of what you need but you CAN customize you control in LabVIEW, it is not hard, you just have to know how it works
    Sometimes being good at another programation language confuse you more than it helps because you try to do as you are used to... the difficulty it to "translate" functions from a language to another.
    I do know how frustrating it can be when you think "Damned, it would take me only 5 minutes to do that with language a and after 10 hours with language b it is still not working "
    You have to get in LabVIEW way of thinking, I wish you good luck !
    A quick exemple... this might not do exactly what you need but it may help you anyway.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    exemple.vi ‏55 KB

  • How to retrieve user defined attributes in Prepopulating a request dataset

    Hi,
    I have created couple of user defined attributes in user profile.
    And I am tryting to develop a prepopulate adapter in a request dataset for a resource. I need to prepopulate request dataset based on the values of above said user defined attributes.
    I tried to use tcResultSet result=UserOppsIntf.getSelfProfile(); in my pre-populate adapter but it is giving me only the following attributes and it is not giving any of my user defined attributes.
    Users.Manager Key
    Users.Manager Login
    Users.Manager First Name
    Users.Manager Last Name
    Users.Password Warning Date
    usr_locale
    Users.Key
    Users.Password Expired
    Users.Middle Name
    Users.User ID
    Users.Password Expiration Date
    Users.Status
    Users.Password Warned
    Users.Email
    Telephone Number
    Users.Display Name
    usr_timezone
    Users.Lock User
    Users.Last Name
    Users.First Name
    MEMBERTYPE
    If I use the code userData = usrService.getDetails("User Login", RequesterID, null); then I am getting only the following.
    Display Name:
    act_key:
    Full Name:
    usr_key:
    User Login:
    Last Name:
    First Name:
    Please let me know how to retrieve all of user defined attribute values in prepopulate adapter for a request dataset.

    Use below code to get all attributes in user profile including UDF.
    OIMInternalClient objOimInternalClient = null;
    User user = null;
              UserManager usrService = null;
    objOimInternalClient = new OIMInternalClient();
              if (objOimInternalClient != null) {
                        try {
                             objOimInternalClient.loginAsAdmin();
                             usrService = objOimInternalClient
                                       .getService(UserManager.class);
                             user = usrService.getDetails("usr_key", strUserKey, null);
                             endDate = (Date) user.getAttribute("End Date");
                        } catch (Exception e) {
                             e.printStackTrace();
                        } finally {
                             if (objOimInternalClient != null)
                                  objOimInternalClient.logout();
                             if (user != null)
                                  user = null;
                             if (usrService != null)
                                  usrService = null;
    In order to see all UDF's in User profile, please create Authorization Policy.

  • LDAP search cannot find entry by user "defined attribute"  or  "sounds like

    Hi, I have an JSP program that searches an LDAP Sun One Directory Server.
    All of my search filters ( by givenname,sn,mail and phone #) work fine with the search base set at the very top (root ) of my DIT tree.
    However with the same search base, searching by an "User Defined Attribute" fails to return anything (and note that my search filter includes the objectclass that goes with this user defined attribute)?
    Yet, if I change the search base so it points all the way down the DIT tree (maybe near RDN?), the "User Defined Attribute" search works fine ?
    Additionally, "sounds like" search filter (givenname~=) fails to find anything at
    the upper root search base of DIT. If I change the search base to point down in the DIT tree as I did above, the "sounds like" filter will work?
    I've tried everything I know?

    Hi Dora9,
    Thanks for your reply.
    I am glad that you have solved the problem and thanks for your share us the solution
    here, so it would be helpful for other members who get the same issue
    and we will close this case.
    In addition, I suggest you could try to get
    the issue confirmed and diagnose by product team. Would you please create connect report for it? You will get email notification for update from the product team experts:
    http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx,
    if you submit it, you could share us the link here, so we could know the latest information from the Product team expert. And I will help you to vote it.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • User Defined Attributes

    Hi All,
    I wanted few information on User defined attributes in Projects. It would be of great help if I get few suggestions.
    I wanted to add few fields to the Update task progress screen. How can I add these field as there is no specific page layout exist for this page. Do I need to use OA Framework to achieve the same? If Yes, how can we modify these seeded pages?
    Please guide me.
    Thanks in Advance,
    Srini.

    UDA can be added to project/task/classification. We can not modify the Update Task Progress form using UDA. If the changes are minimal then you can go for personalization or modify the sources as per OAF standards.

  • BP User Defined Attributes -- Error

    Hi experts!!
    The customer i am working on needed some extra fields on the Accounts screen page, so i defined all User Defiened Attributes from 1 to 10 and added them from the Node MARKETING of the component BP_HEAD.
    When i try to save the Account (after filling one of the attributes) I get the following error msg: Classification data is already maintained for business partner.
    The Account can be saved and replicated to the ERP if the attributes remain empty.
    What am i missing here???
    Is there a connection between the attributes and account classification ??
    Thank you in advance

    The error was fixed with Note 1271004.
    BUT .. now when i Save the Account with User Defined Attributes filled the replication to ERP does not happen..
    If the attributes are empty it gets replicated.
    Any ideas???
    Please help!!

  • Need to call user defined table in Report

    Hi there,
    In my report, need to call user defined database table. This table contains 2 columns one for checkbox. After calling this table, user has to check required rows and save changes. can we create transaction code for this table and call from within report? anybody pls suggest how to implement this requirement.
    Regards,
    Zakir.

    Zakir,
    U can do it in both the ways (TXN or rept).
    If rept, use an itab to check and insert rows to the DB tab.
    If mod pol, use a table control and update db tab...
    Reward if helpful,
    Karthik

  • Not able to create user defined field

    hi experts
    i am not able to create a user defined field through, 'user defined field management ' window,
    when i am selecting this window SAP B1 is hanging ,later i need to close the application .what should be the problem ,
    please help me to solve this issue
    thanks in advance
    ajith

    hi
    thanks for reply
    following is the my sap b1 version and PL
    SAP Business One 2007 B (8.60.035)  SP: 00  PL: 08  2007B_CORE_080709_0214
    yes i created user defined fields in employee  master records
    kind regards
    ajith

  • How to assign a item to User Defined Attribute group?

    I have created a new User Defined Attribute(UDA) using PIM- setup responsiblity.
    But i don't know how to assign one newly created item to the UDA.
    Please help me out.
    Thanks in advance.

    hai Naren and Ganesh,
    i have few queries in wad can u help me in resolving the problems?
    i have generated a query using variables ,but when i am executing that query in web ,i am not getting any pop up asking fr variable.so wht might b the error.
    first i have selected the table in wad and assigned the dataprovider ie is query,
    in tht query a variable is also existed but i am not getting any pop up
    is there any radio button / check boexes to select and assign the variable
    so plz help me in this aspect..
    if u r working on wad can plz send me u r contact mail id so tht i can interact easily...my mailid is [email protected] ok
    regards
    Suri../

  • Error creating user defined tables: Ref count (-1120)

    Hi all !
    I have to create user defined tables per code, so I wrote <b>2 main functions</b>, first <i>to create a table</i> (with TableName,TableType and TableDescription properties)and  and <i>second to add fields</i> (to a certain table which is sent as parameter).
    I call these functions to create multiple tables. For the first 6 tables it works totally ok. But beginning from the 7th table it gives that "<b>Ref count for this object is higher then 0.</b> " (-1120) error. All parameters are ok just as the first 6 tables.
    Found such an explanation like below in help files.
    <i>The DI API allows only one instance of a meta data object at a time. This maintains data integrity by preventing any manipulation of a business object while modifying the object's user fields. Therefore, verify that no other DI object is active except the meta data object.</i>
    But why do I get such an error after sixth call of the function (but not beginning from the second table )?

    Gül,
    Have you tried doing some grbage collection?
    Search for a topic: "Add Usertables and Fields while having a recordset"
    HTH
    Juha

  • Limitations of User Defined attributes in USR.

    11.1.1.3
    I added a notes field to the user defined fields of a user, customer wanted a textarea to makes notes in reagarding the user in question.
    Can someone tell me where the limitations of these fields are listed?
    I added a large textfield and the system happily accepted the size and made a clob in the db.
    I have added the permissions in the policy to make it visible in create as well as in view and modify, all that works fine.
    However, when I modify the field by simply writing a small note in it....
    I save the change, no exceptions, no error whatsoever
    the correct data gets into the clob field in the USR table
    but the text area in the user view show the entity object name and reference/instance instead...
    i.e.
    i add the text "test" into the text area, press save
    the fields then shows me...
    weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB@65e1
    So, I am looking for where this limitation is mentioned in the manuals or trying to find out if its a bug.
    Reason I am wondering is because there is a field (USR.USR_NOTE) in the DB which is a CLOB but I cant
    find any reference to that in the User Configuration, i.e. what does the system use it for?
    So, if there is a limitation on the size of fields in the User Configuration, where can I see them?
    I looked in the System and developer manuals and I see nothing on that there.
    What is the maximum and where can I see that defined?

    Hello Antilles.
    The user defined attributes that you refer to it´s used to specify additional attributes.
    You can find more useful information about this topic in this link: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/nav.htm
    Regards Pedro

  • What the best way to create User defined table with ADDON purpose

    Hi folks, how are you ?
    I´m beginner in development to business one, and I m studying to develop ISV addons.
    But, during my exercises and analisys, I learned that have two ways to create tables and fields in business one. One way is throght by wizard in business one using Tools Menu > Configuration Tools > User Defined Tables >
    Obs: I ´m using Business One Patch Level 9.
    Other way, is create the tables and fields using DI API
    But, my question is. When I develop one addon, or one UDO form that uses one set of user defined tables or used defined fields that where created by the first way (by wizard in B1), how I deploy this in other business one installation ? The package process will ensure the creation of this tables in another enviroment or I must implement the creation of user defined tables using DI API so that this code is called during the installation?
    If in cases of addon develop I must use DI API to create user defined tables, How can I use my classes with this responsibility in package process ?
    Thanks my friends.

    Hi Renan,
    You just need to put your logic in to the startup of your application, after you've established your connection to the UI API and DI API. All this will be triggered in the constructor of your main class.
    namespace MyNamespace
    public class MyAddon
      bool runAddon = true;
      bool initialised = false;
      const string ADDON_NAME = "My Addon";
      public static void Main()
            MyAddon addOn = new MyAddon();
            if(runAddon)
                  System.Windows.Forms.Application.Run();
            else
             Application.Exit();
      public MyAddon()
            // Connect to SBO session for UI
            if(!SetApplication()) runAddon = false;
      private bool SetApplication()
            // Code goes in here to establish UI API and DI API connections
            // See SDK samples for examples
            // You should also define and filter the UI API events your addon will trap at this stage and create any menus
            // Call your routine to check if the required UDFs/UDTs exist on this company
            initialised = CheckInitialisation();
            if (!initialised)
               //  AddOn not yet intialised on this company so prompt the user to run the intialisation process
              int iResponse = app.MessageBox("The " + ADDON_NAME + " addon will now create all required fields and tables."
                                             + System.Environment.NewLine + System.Environment.NewLine
                                             + "WARNING: It is strongly recommended that all other users are logged out of this company "
                                             + "before running this process. Are you sure you wish to continue?", 2, "Yes", "No", "");
              if (iResponse == 1) initialised = InitialiseAddOn(); // Call your routine to create the objects
            return true;
    Kind Regards,
    Owen

  • User defined attributes - usages

    Hi,
    I would like to hear how other OA developers have used user defined attributes for an item, if they have used it. I would appreciate if you could share that information.
    As for me, I used it for items (messagetextinput, choice etc) in my custom search region to assign attribute names to these items to know what the values given by the user should be associated with and searched for. I had to create a custom search region since query region from oaf didn't allow to associate more than on VO to it.
    I just want to see what other purposes others have used the user defined attributes to get a better understanding of it.
    Thank you,
    Arun

    Hello Antilles.
    The user defined attributes that you refer to it´s used to specify additional attributes.
    You can find more useful information about this topic in this link: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/nav.htm
    Regards Pedro

  • How to create User Defined Variables in Procurement Contract 12.1.3

    Hi,
    We are using Procurement Contract 12.1.3. As per our business requirement while creating contract template we need to use many variables which are not available in 'System Defined' variable list. Please guide us with some samples (step by step) how to create the 'User defined' variables.
    Regards,
    Prabhu

    Hi Prabhu,
    Did you get the setps how to create user defined variables in Procurement contracts? if so please share me the setp by step flow.
    Prakash

  • How to create user defined transactioncode in bw

    hi,
    How to create user defined transactioncode in bw.My user want this
    regards,
    Abhishek

    hi 
    by using the t code SE93 u can create.
    after that it will ask u for what ur going create
    1.Program and screen
    2.Program and selection screen
    3.method of class
    4.transaction with variant
    5.transaction with parameter
    here u have to select appropriate option based on ur requirement
    and enter the options as per ur needs save and activate

Maybe you are looking for

  • What I want from BT, and what they've done wrong (...

    I've recently come back to BT from different phone and broadband providers because I wanted BT Infinity. My experience so far has been pretty bad. I'll explain later, but firstly here's what I want from BT. Most importantly I want a 24 hour helpdesk,

  • IW32 - ERROR_READING_LST_BY_INDEX

    Hi there,                We are on ECC6, i have noticed that there is SAP note 424437 to fix the issue  in IW32 when you ERROR_READING_LST_BY_INDEX. According to the solution, they say; The program correction of this note is not required and is remov

  • PSE 13 recognizes printer but will only "print" as .xps

    I am trying to print photos using PSE 13 and it shows my printer as an option but after I click "print" it goes straight to the "Save file as" menu and I can save it as an .xps like my printer isn't there. I have tried uninstalling and reinstalling a

  • Saving PDF for Web?

    Hello! I recently designed a 6-page annual report, meant to be disseminated as a PDF via web and e-mail.  I am having trouble getting the PDF small enough and streamlined enough for this purpose.  The file is under 4MB, but even on my system it is di

  • Config error

    Hi experts, i have intalled sql server and essbase in one machine. its working fine.but i was install planning and FDM in one machine, those are installation is fine. when i am trying to config those, it is not working. problem is when we trying to c