Extending Role Object with additional attributes

All,
I understand that there are 5 attributes available for the Object type as displayed in the 'object' table in the Sun IdM DB repository. As such, i would like to add to the Role object a couple of primitive type attributes. I would appreciate if anyone who has done this or has the knowledge do this would tell me how and where i can go about configuring the role object to have additional attributes besides the 'name' attribute. Thank you.

Wilfred,
we are trying out IDM 8.0 and release notes and administration guide for that version says that you can
extend attributes for Roles in IDM Schema Configuration Object.
But, documentation only specifies how to add a User extended attrbute, we tried adding
an attribute called escalators in the following way:
<IDMObjectClassConfiguration name='Role' extends='Object' displayName='UI_OBJECTCLASS_ROLE' description='Role description'>
<IDMObjectClassAttributeConfiguration name='escalators' queryable='true' summary='true'/>
</IDMObjectClassConfiguration>
we then modified Role Form.xml object and added the following for testing purposes:
<Field name='escalators'>
<Display class='MultiSelect'>
<Property name='title' value='Escalators'/>
<Property name='availableTitle' value='UI_ROLES_XML_AVAILABLE_OWNERS_LABEL'/>
<Property name='selectedTitle' value='UI_ROLES_XML_CURRENT_OWNERS_LABEL'/>
<Property name='allowedValues'>
<List>
<String>roleapprover</String>
<String>approver1</String>
</List>
</Property>
</Display>
</Field>
but the value in the Multiselect just goes to /dev/null....
Can you help us with describing how to add an extended role attribute for IDM 8.0
Thank you in advance

Similar Messages

  • Inserting a new row in a BC4J View Object with an attribute of type BFileDomain

    Hi all,
    I've to insert a row in a View Object with an attribute of type oracle.jbo.domain.BFileDomain.
    I do this within an Application Module's method, which has an input parameter of type byte[]. This parameter will be the content of the BFILE.
    What's the right way for doing that?
    I've tried with the following code, but I've got an exception in committing the transaction:
    public int serializeDocument(int codDomanda, int codSorgente, byte[] content, String est, int type, int cost, String title, String arg) throws JboException {
    int code = 0;
    //File f;
    DocumentiTwoView = getDocumentiTwoView();
    java.sql.Statement stmt = ((DBTransaction) getTransaction()).createStatement(1);
    try {
    Row docRow = DocumentiTwoView.createRow();
    SequenceImpl seq = new SequenceImpl("documenti_seq", getDBTransaction());
    Integer next = (Integer) seq.getData();
    code = next.intValue();
    docRow.setAttribute("Coddocumento", new Number(code));
    docRow.setAttribute("Titolo", (String) title);
    docRow.setAttribute("Argomento", (String) arg);
    docRow.setAttribute("Costo", new Number(cost));
    docRow.setAttribute("Tipo", new Number(type));
    docRow.setAttribute("Coddomanda", new Number(codDomanda));
    docRow.setAttribute("Codsorgente", new Number(codSorgente));
    //f = new File("Doc" + code + "." + est)
    BFILE src_lob = null;
    ResultSet rset = null;
    rset = stmt.executeQuery ("SELECT BFILENAME('DOC_DIR', 'Doc" + code + "." + est + "') FROM DUAL");
    if (rset.next()) {
    src_lob = ((OracleResultSet)rset).getBFILE(1);
    BFileDomain bfd = new BFileDomain(src_lob);
    bfd.setBytes(content);
    bfd.saveToDatabase(getTransaction());
    docRow.setAttribute("Contenuto", (BFileDomain) bfd);
    catch (Exception ex) {
    getTransaction().rollback();
    throw new oracle.jbo.JboException("Impossibile creare il nuovo documento:\n" + ex.getMessage());
    finally {
    try {
    stmt.close();
    catch (Exception nex) {
    try {
    // Commit the whole transaction
    getTransaction().commit();
    catch (Exception e) {
    e.printStackTrace();
    getTransaction().rollback();
    throw new JboException("Impossibile eseguire il commit della transazione:\n" + e.getMessage());
    return code;
    Thanks a lot in advance!
    Christian
    null

    Odd, have you disabled caching and indirection? (NoIdentityMap, dontUseIndirection, or alwaysRefresh/disableCacheHits). If so, then this could be the issue.
    Otherwise please include the sample code you use to perform this, and verify that you do not have any unusual code in your set/get methods or in descriptor events. Also turn TopLink logging on and include a sample. Also ensure that you do not modify your objects until after registering them in the unit of work, and only modify the unit of work clones.

  • Problem extending a VO with transient attributes

    I am trying to extend a VO that is based on a query with a Binding Style of Oracle Positional.
    The Attributes that are listed for the original VO are the attributes from the Query Statement plus some transient attributes.
    I extended the VO by modifying the query. Added my two columns at the END of the Select statement.
    Successfully substituted the VO but I am getting a runtime error when saving a record.
    Reviewed the extended VO and noticed that the new columns are listed as attributes AFTER the transient attributes.
    This could be the cause of the runtime error since one of the transient attributes listed after the query attributes is RowChanged.
    How can I force my new attributes to be positioned BEFORE the transient attributes?
    Is this the problem or is it something else?
    Thanks for any suggestions.

    Runtime error:
    java.lang.NullPointerException
         at oracle.apps.pos.supplier.server.ByrSuppAMImpl.validateDffVo(ByrSuppAMImpl.java:3575)
    Yes, I have checked the attributes (Updateable Always, etc.) and the attribute mappings and they all seem fine.
    My two new attributes are at the end of the original attributes. I think my new attributes should NOT be at the end of the original attributes because the original VO.xml has attributes from the query and then transient attributes that are not from the query. My extended VO now has the attributes from the original query, the transient attributes, and then my new attributes from the query.
    The first two transient attributes are RowChanged and RenderFlex and it seems like OAF is confusing it with my new attributes because:
    (1) the runtime error I get when saving (RowChanged attribute)
    (2) the Flex field icon grays out after my VO extension was deployed (RenderFlex attribute)
    To test out my theory, I would like to move my new attributes to be listed BEFORE the transient attributes.
    I tried editing the VO.xml file by moving my new attributes (query-related) to the end of the other query-related attributes and before the transient attributes (that are not query-related). When I try to view my changes inside JDeveloper, the attributes are shown in the new order (on the left) but the query mappings are still listed in the old order.
    Where can I re-order the query mappings? Tried using the up/down arrows on the right but it's grayed out.
    If I re-order the attributes in the VO.xml file and save it, is that all the change I need to do?
    Thanks.

  • Objects with no attributes

    Any idea why an object must have attributes? Is there any good reason or is it just something Oracle did?
    I can see why an instantiable object has to have attributes - otherwise what use is it - but a non-instantiable object seems like it often shouldn't need any - it's just there to be a generic place holder in an object hierarchy.
    I'm getting kind of fed up with creating objects with a single attribute called "DUMMY".

    Hi,
    At least one attribute is mandatory for a TYPE Object.
    Attributes like a data structure and Methods like a legal operation on Attributes.
    An object type is the closest thing to a class.
    It is also very similar to an abstract data type (ADT).
    Regards,
    Sailaja

  • Open browser window function with additional attributes/behaviors

    Just let me say, writing JavaScript is not my forte. Having said that I am comfortable using JavaScript functions.
    I have a need for a single JavaScript function that does several things. The script will be called from within a Captivate project. (If you are familiar with Captivate, you know that the JavaScript call needs to be a single string with no spaces or breaks.)
    The script will be used as a Captivate “click box” behavior to open a URL in a window on top of the main (Captivate) project. There may be multiple click boxes present at the same time (in the Captivate Project).
    Here is what the script needs to do:
    1)    Open a new browser window of a specific size with specific browser attributes. (This is the easy part, like MM_openBrWindow().)
    2)    The (new) window (focus) needs to always stay on top of the parent window until it is closed. (The new window will always be smaller than the parent window that spawned it and will always float in front of it.)
    3)    If other (different) URLs are called, they replace the contents of the new window. (There shouldn’t be multiple windows floating above the main, parent window.)
    I don’t like having to take this kind of control of the browser away from the user, but this content is part of a e-Learning course and needs to restrict the user while they are in the lesson.
    If anyone has any pointers to tutorials or have already worked with this type of script, I'd like to hear from you. I have had some success doing this using a standard HTML page using separate functions, but combining the functionality in a single script has eluded me.
    Thank you for your time,
    TPK

    Thank you David,
    This is very close to what I need. When I test this on a standard HTML page it works flawlessly. It is an excellent bit of work.
    When I try in integrate it into a Captivate 3 project using a "click box behavior" to call the JavaScript, it runs into a little trouble. The main part of the script works just fine: It is the “return document.MM_returnValue” piece that Captivate has problems.
    For example:
    When I use the JavaScript in a standard HTML page the URL string looks like this:
    <a href="http://www.mywebsite.com" title="MyTest Window" onclick="dpSmartLink(this.href,'newWin',800,600,'z:z','sc');return document.MM_returnValue">Test link</a>
    In Captivate I have to structure the call a little different. I can't use the href= piece, so I that part into the first parameter.
    My Steps:
    I embed the actual function in the HTML page used as a shell for the swf file.
    In the Captivate Project file, on the slide where I want to call this function, I:
    Create a click box.
    For action I select “JavaScript”. (When the user clicks the "click box", execute javascript.)
    The script call is written like this:
    javascript:dpSmartLink('http://www.mywebsite.com','newWin',800,600,'z:z','sc');return document.MM_returnValue;
    What I get is a script error that refers to:
    Error: ‘return’ statement outside of function
    Code: 0
    I seem to be missing a means to close the cunction so that the script appears to be one iten rather than two separate items. (I'll be 'fiddling' with it to see if I am missing something simple and am just not seeing it.)
    I realize that this script was not created with Captivate in mind, and that Captivate imposes rather severe restrictions on what can be called using Javascript.
    Do you have any ideas as to how I might script the return statement so that it is within the parentheses given what I have described (above)?
    On another note, I think this will be a very nice addition to LMS courseware that I develop using standard HTML and Javascript. Thank you again for this fine script.
    TPK

  • Getting error when trying to extend standard VO with transient attributes

    Hello,
    I am trying to extend the standard VO ReqSummaryVO in iprocurement module and getting the error "Each Row in the Query Result Columns must be mapped to a unique Query Attribute in the mapped entity columns" at step 4. This VO has a lot of transient attributes. I have gone through solutions from other threads related to this error but none of them worked for me. Can someone help me on this please?
    Thanks,
    Girish.

    Hello,
    I am trying to extend the standard VO ReqSummaryVO in iprocurement module and getting the error "Each Row in the Query Result Columns must be mapped to a unique Query Attribute in the mapped entity columns" at step 4. This VO has a lot of transient attributes. I have gone through solutions from other threads related to this error but none of them worked for me. Can someone help me on this please?
    Thanks,
    Girish.

  • Reference field while extending Order Object with custom fields using EEWB

    Hi,
      I am using EEWB to extend Order. i have to add Quantity fields, while generation it gives the following error:
    Diagnosis:
    You must specify reference tables and reference fields for fields containing amount or quantity data. You have specified either only the reference field or the reference table and have not maintenance either ready.
    Procedure:
    Add the missing entry. You can do this with the single field maintenance function of the table.
    Can someone explain what will I need to do? Is its a something outside EEWB which I would need to do.
    Thanks,
    SG.

    Hi
    check the item category table CRMD_ORDERADM_I (Item data) for necessary fields there u can find that
    Item No
    Item Number in Document
    NUMBER_INT
    Product ID
    Product Name Entered
    ORDERED_PROD
    Quantity
    Unit of Measure
    PROCESS_QTY_UNIT
    Unit
    CRM Schedule Line Quantity
    QUANTITY
    Hope it helps u
    Regards
    Manohar

  • Additional attributes for APO data objects

    Hi,
    In order to provide some be-spoke functionality I have a need to extend some APO data objects with additional attributes. This includes: resource, PPM, Order. For all I have identified that I cannot use exisiting fields, therefore my aim would be to add new attributes (either directly or via reference Z-table).
    I have two questions:
    1. What's the easiest way to extended above objects with additional attributes?
    2. Is there a ways to have those additional fields visible for edition from a standard transactions, eg.: /SAPAPO/SCC03, /SAPAPO/RES01, /SAPAPO/RRP5?
    Note: I'm interfacing with non-SAP ERP therefore CIF is not in use, while I see set of BAdis for master data inbound processing. Is this something I could use?
    Thanks,
    Mrx

    Hi,
    As you mentioned, the add. att. are time dependent, it is good to enhance the
    0EMPLOYEE structure to handle not only the Master data attribs but also the
    time dependent add. attributes..which would be executed along with the Master data chain even after the imp.
    Hope this helps..
    assign points if useful..
    Cheers,
    Pattan.

  • Problem extending standard ViewReceiptsSearchVO view object with logic on get method

    Hi All,
    EBS 12.1.3
    Database 11.2.0.3
    I am trying to extend the 3 VOs related to ViewReceiptsSearch.  I extended a seeded ViewReceiptsSearchVO view object.  I haven't made any changes yet, no columns added, nothing altered.  When I run this substitution, the "Received" column is null.  This column in the view used for the view object only selects NULL and uses the getter method for the attribute to populate the value.  The generated extension getter calls getAttributeInternal and skips the logic in the standard getter and the substituted view object is displaying the null in the screen.  The below discussion explains the problem very well except that the original posted had the issue in 11.5.10.2.  I am having this issue with 12.1.3.
    Problem extending standard view object with logic on get method
    The 3 VOs that I am having the problem are:
    ViewReceiptsSearchVO
    ViewReceiptsSearchReqVO
    ViewReceiptsSearchSupplierVO
    What do I need to do to get the "Received" column populated?  Please let me know any additional information you want to troubleshoot the issue.
    Thanks.

    Hi,
    Can you Please Share Extended ViewReceiptsSearchVO.xml and .jpx File?
    Thanks,
    Dilip

  • How to extend the WebUI product search results with customer attributes

    Hello,
    We are using CRM 7.0. We want to extend the WebUI product (Object) searches with customer attributes and to display customer attributes in the search results. We found the note 1026956 that explains how to extend the WebUI product (Object) searches with customer attributes. We want to know if there is also some note that explains how to display customer attributes in the search results for products/Objects.
    Thanks in advance,
    Sergey Kozyrev

    Sergey,
    I doubt whether there exists such note. The note 1026956 which you mentioned is for enhancing the Search for Custom attributes. For Enhancing the Result list you need to do custom development.
    Regards,
    Harshit

  • Custom Auth. Object with Profile and role assignment not working

    Hi,
    I have created custom Authorization Object with field ACTVT with allowed values - 01,02, 03. Now test it with custom program using AUTHORITY-CHECK OBJECT 'Z_AUTHORIZ' it is working fine and returning sy-subrc 12. At this point i have not created any role using this Auth Object.
    Now I have created custom role ZPM_**** and assigned above Auth object to it with value ACTVT 03. Assigned this role to user.
    When I try to test the above custom program with any ACTVT value it is giving sy-subrc as 0. Used below custom code in program.
    AUTHORITY-CHECK OBJECT 'Z_AUTHORIZ'
                ID 'ACTVT'  FIELD '01'.
    Am I missing anything? The profiles are generated correctly. 
    Best Regards,
    Nilesh

    Below are the screen shots for PFCG:

  • It seems you cannot clone objects with attributes using lazy loading in JPA

    I have an entity with an attribute using lazy loading:
    @Entity
    public class B {
    @ManyToOne(fetch=FetchType.LAZY)
    private A a;
    @Entity
    public class A {
    Assume the following code:
    A a1 = new A();
    A a2 = new A();
    B b1 = EntityManager.find(B.class, ...);
    b1.setA(a1);
    B b2 = b1.clone();
    b2.setA(a2);
    Now with lazy loading enabled I get b1.getA() == a2 instead of b1.getA() == a1. Moreover, the debugger displays the same value holder in b1 and b2 for the attribute a. It appears as if cloning does not make a (deep) copy of the value holder managing the attribute a.
    How can I create a copy b2 of b1, such that the value holder managing a in b1 is a different object as the value holder managing a in b2?
    Thanks, Thomas.

    I have filed a bug to have this addressed in Oracle TopLink 11gR1. I would recommend you file a bug against TopLink Essentials in GlassFish or if you have a support contract report the issue to metalink to have the issue resolved.
    If this is urgent I did try fixing the issue with a small helper method using some reflection. This method is simplified through its throwing of Exception. If you wish to use something like this I would recommend proper error handling.
         * Helper method for cloning an entity and fixing the woven value-holders to
         * complete a proper shallow cloning.
        public static Employee clone(Employee entity) throws Exception {
           Employee clone = entity.clone();
           // Now fix the cloned ValueHolder references
           Field[] fields = entity.getClass().getDeclaredFields();
           for (int index = 0; index < fields.length; index++) {
               Field field = fields[index];
               if (field.getName().startsWith("_toplink_")) {
                   field.setAccessible(true);
                   ValueHolderInterface vhi = (ValueHolderInterface)field.get(entity);
                   Object value = vhi.isInstantiated() ? vhi.getValue() : null;
                   field.set(clone, new ValueHolder(value));
           return clone;
        }Doug

  • Sort view object rows with transient attributes

    Hi ,
    Is it possible to sort the results of a view object based on the populated transient attributes ?
    Best regards
    K

    K,
    Have you had a look at section 27.5 of the ADF Developer's Guide for Forms/4GL Developers ("Performing In-Memory Sorting and Filtering of Row Sets") - I've not tried it with transient attributes, but it does describe how to do in-memory sorting, as opposed to the normal way of sorting which is to send an ORDER BY to the database.
    Hope this helps,
    John

  • Problem with optional attribute caching on a custom tag

    Hello,
    I've created a tag by extending TagSupport. I have one attribute that is optional. I'm having a problem with this attribute since the tag is cached. If the value is not specified in the tag, it is always using the previous value from the past request.
    I understand why this is happening, but I wonder if there is anyway to reset this value besides doing it at the end of the doStartTag or in the doEndTag methods? I simply want it to be an empty string if it is not in the request.
    Thanks,
    Tim

    Thats abit overkill in my opinion.Probably yes, but its a cleaner option. In case your doEndTag handles custom exceptions, you would anyhow need to put this code in a finally block, right ?
    public int doEndTag() throws JspException {
    try {
    call some methods that throws other checked exceptions;
    }catch(Exception1 e){
    throw JspException(e);
    }catch(Exception2 e){
    //log and ignore
    }finally{
    //clean up here
    return an int;
    Having said that, different containers implement the spec a bit differently. For example, in our project, we use weblogic and for wl, we put our clean up code in the release() method which according to the spec, needs to be called only before gc. Weblogic implementation is a bit different - its called after doEnd() for every use of the tag.
    This is from jsp spec regarding tag life cycle especially with reuse
    Some setters may be called again before a tag handler is reused. For
    instance, setParent() is called if it�s reused within the same page but at a dif-ferent
    level, setPageContext() is called if it�s used in another page, and
    attribute setters are called if the values differ or are expressed as request-time
    attribute values.
    �Check the TryCatchFinally interface for additional details related to exception handling and resource management.
    cheers,
    ram.
    }

  • Internet Sales Order - Additional attributes

    Hi,
    I have a requirement to enable Certification Requirements for products being sold.  Process goes like this -
    Customer places a Sales Order on Internet via Internet Sales Solution.  While placing the order, customer would select the types of certifications required for the product for example: certificate on country of origin, Quality certificate etc.  User should be able to select multiple such certificates as required, while creating the Sales Order.  Is there any way I can achieve this?  I am thinking about using additional attributes (via Set Types and attributes) assigned to the product master.  But, by assigning these to the product master, can I see the same attirbutes in the Sales Order in Internet Sales?  Secondly, can these attributes (with values) be transferred back to R/3 Sales Order? Any suggestions will be appreciated and properly rewarded for good answers.
    Thanks in advance

    Hi Gopala,
    Yes. You can use additional products attributes to display the required certification parameters.
    But these attributes can't be transfered onto the sales order by default. You need to some java development / abap development to extend the sales order.
    If you want to transfer the same attributes to R/3 order then you have enhance the BAPIMATICS strucuture so that the middleware transfers them.
    Also you need to extend R/3 sales order to hold these attributes. This is a complex scenario and you need to design a good functional specification document before even attempting the design
    Let me know, if you need any further info.
    <b>
    Do not forget to reward if it helps,</b>
    Regards,
    Paul Kondaveeti

Maybe you are looking for

  • I need a copy of the warranty for a 2009 Mac Book Pro?

    For the purpose of getting my cc company to pay for the replacement of the optical drive on my macbook pro which is out of warranty, I need a copy of the original warranty please.

  • R6031 attempt to initialize the crt more than once

    I am getting this runtime error frequently in my Windows 10 test environment. I am running it on a Xenserver 6.4 environment, so it may be something with the drivers there, but wanted to see if anyone else has this issue. So far I have seen it with c

  • Completed To do's search

    Since iCal doesn't have smart folders. How can I search for completed to do's for like the last month. Also, when I set a to do date, but complete the to do maybe 2 days later, how do I know what day I completed it. Or does it default to the date I s

  • Help! ORA 01012 WHEN execute SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER

    I encounter ORA 01012 WHEN execute "SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER FROM DUAL;" in my ProC program, but under SQLPLUS it is ok. The whole scenarios are: 1. My platform is Solaris 10, Oracle 10.2g / 64bit 2. "alter system archive log cu

  • Two Items Displayed For Single Task In Inbox

    Employees are entering time and there managers are getting the tasks in the UWL inbox, but there are always two items for each one.  When the manager approves one of the items the other one disappears.  What can cause this? Thanks, Redding