Displaying Session Owner Attributes on Tabbed User Form

How i can get an attribute from a session's owner inside the form?
For example, I want to display the email address of the admin who logged in and I want to display this on the Tabbed User Form.
I know, that :display.session is a session descriptor, but I can't work out how to display anything other than account ID.
Thanks in advance,
Darren.

Have a look at the javadocs for the com.waveset.ui.FormUtil class. There's some methods in there for getting user information from the repository based on the context you've got and the user ID you provide.
Something like this might work for you:
<invoke name="getObject" class="com.waveset.ui.FormUtil">
    <select>
      <ref>context</ref>
      <ref>:display.session</ref>
      <invoke name='getLighthouseContext'>
          <ref>WF_CONTEXT</ref>
      </invoke>
    </select>
    <s>User</s>
    <ref>your accountid</ref>
</invoke>That will get you back the user from the repository as a WSUser object. You should be able to extract the email attribute using the WSUser object's getAttribute method. If you need to construct a full view then there's more work to be done but that should get you the email address. (Assuming of course that you're saving it in the IDM repository.)

Similar Messages

  • Modifying default tabbed user form

    I want to prevent a particular attribute from showing up in the default tabbed user form. I still want the attribute to exist and I do not want it to be secret, I just don't want to see it show up at all. Any ideas on how to do this? I am using IDM 7.1.
    Thanks!

    Here is a sample code, which I have used in some of my codings
    <Field name='Email'>
       <Display class='Text'/>
          <Property name='title' value='Email'/>
       </Display>
       <Disable>
          <not>
             <neq>
                <ref>accounts[Lighthouse].emp_type</ref>
                <s>Contract</s>
             </neq>
          </not>
       </Disable>
    </Field> If the emp_type is other than Contract, then only the email shows up for that employee.
    You can also try for multiple conditions in the Disable
    null

  • Tabbed User Form

    Hi All,
    I have added a select field under the identity tab of the 'Tabbed User Form'. Once a value is selected i want that value to be displayed under the 'attributes' tab.
    I added the field (xxx) in 'Default user library' and referenced it in 'User Library' just after the accountId field.
    I also referenced it in 'attributes' section of the tabbed user form.
    The field is shwoing up in all the tas of the tabbed user form. I dont know how to get rid of this and just show a label for 'xxxx' in attributes tab.
    Any help is appreciated
    Thanks,

    Hello sungirl,
    Could you please tell me the exact details as to how can we modify Tabbed User Form??
    I neeed to provide custom fields in Tabbed User Form apart from the existing.
    I understand there is referencing happening in Default User Libraray Form and User Library Form. But as you have mentiond, you were able to implement without modiying these.
    Could you please give me the exact forms and places where this can be done?
    I need to get this working ASAP. Please Help.
    Thanks
    Divya

  • Tabbed User Form Problem

    I am having a problem with the Tabbed User Form. I have Active Directory resource adapter with firstname and lastname mapped to the IDM attributes. I have a user that exists in AD and IDM and he has been linked through a reconcile. Whenever I open his account in the Admin interface I see in real-time what is on AD. If I change his firstname or lastname on AD it changes in the Admin interface. If i change the mapping from firstname to firstname2 it stops showing the real-time value. How could this be happening and is it supposed to be working this way?? I have another server that does not act like this. It doesn't pull real time data from AD unless it's for the the attributes tab.

    Hi,
    The Form should show the real time data what ever in AD.
    I guess, after u have changed the mapping from firstname to firstname2, u might have forgot to update the 'First Name' field's name.
    The 'First Name' fields name should be like 'accounts[AD].firstname2' instead of 'accounts[AD].firstname'.
    I guess this would solve ur problem.

  • Change user's OU in Active Directory (AD) from Tabbed User Form

    Hi all,
    In Tabbed User Form, when I create a user or assign AD as a new resource for the user, I can choose the OU where to create the user in AD by modifying +accounts[AD].accountId+ in cn=Lastname Firstname,ou=xxx,ou=yyy,dc=zzz,dc=ttt
    So creation is not an issue.
    But I would like to be able to move the user to another OU in Tabbed User Form.
    Does anybody know how to do it ?
    Thanks in advance,
    Ben

    Hi,
    You can follow the following approach
    1) Save OU as extended attribute in IDM
    2) Modify Update user workflow to check if the ou vale has changed from old to new.
    3) If No, follow normal path.
    4) If yes, follow move user sub process.
    5) Move user sub process needs account ID and New Ou value for moving the user to new ou.
    please send your email address so that i can send you sample workflow.
    Regards,
    Ajay.

  • Adding custom action to Tabbed User Form

    I am trying to view and delete user tasks (such as deferred task) from a user view (tabbed user form). I am able to list the tasks in a separate tab, however, I would like to be able to delete the task using a manual action. I added a button, however, the clicking on the button refreshes the page, and does not get into the Update User workflow.
    Wanted to check with the forum members if anyone has added any custom action via the TabbedUserForm where the button (or something) will submit the form for change of user view to the Update User workflow.
    Or, if someone has a simpler way - manual action to cancel/delete a deferred task for a user.
    Thanks in advance for any insight.
    Indrajit
    Edited by: indrajitg on Sep 14, 2007 12:43 PM

    It seems I was initially too focused on the VCS API itself, as I was under the impression that the context menu would be exposed through a manager (similar to the Editor API). But it turns out that the view API provides very nice access to the relevant bits and I was able to achieve the desired result by simple listening to view activation and access the context menu from there. It's not ideal as I have to deal with view ids directly, but it works - good enough.

  • Tabbed User Form Fields

    Hi,
    I modified Tabbed User Form and Assigned it to an ADmin who is under Configurator, with limited capabilities. This admin has to be able to create an organization, so i assigned him Organization Admin capability. However, this assignment also shows up New Directory Junction in the drop down, which i do not need. I tried creating a new capability, but looks like nothing related to org is specified, where i can pick and choose.
    Is there any other way i can make this field "New Directory Junction" disappear only for this adminsitrator.
    Any help is appreciated.
    Thanks,

    Hi,
    What I understand from what you write here is you're trying to develop a "custom LDAP" form rather than a fields iterator. A good starting point to look at will be to check the /sample/ directory located in your idm instance. There are several sample forms namely "Dynamic Tabbed User Form" and "Dynamic Reosurce Form". The latter has a genereic field iterator logic (if the resource is not among the predefined resources it siply iterates schema fields. You can add your own logic in there. Also there are custom forms. There's one "LDAP User Form". All there forms are in XML format you shoud read them in using the lh config. then save in the repository.
    I hope it helps.
    Cheers,
    Kerem ERSOY

  • Adding/Deleting Deferred task thru Tabbed User Form

    I am trying to find a way to add/deleted deferred tasks thru the Tabbed User Form. Does anyone have any ideas?

    I am trying to find a way to add/deleted deferred tasks thru the Tabbed User Form. Does anyone have any ideas?

  • Mandatory Attributes in Create User Form

    Hi All
    i want to make the mandatory fields in create user form (ie Organization name) as optional.
    For this i edited the FormMetada.xml file by making optional as true. (in the attribute reference for Organization field in User management section), as mentioned in the docs.
    Now when i try creating user, it shows me 'You do not have permissions to perform this operation' error.
    while when i give some value in the organization field, then it creates the user.
    please provide some pointers in this regard.
    Thanks.

    You MUST provide an organizatation name. There is a system entity adapter on the Users data object. You cannot avoid populating this.
    -Kevin

  • Updating AD Attributes via OIM user forms

    Hi,
    I have configured an AD connector. Firstly, I did a trusted recon to create the OIM. Next, I did a user recon to link the AD user to the OIM user. After that I have configured to pre-populate to show the AD attributes onto the OIM user form.
    Now, what I want to do is to update the AD attributes (eg. Mobile) in the OIM web interface, and has it reflect back to AD.
    Appreciate a detail description as I am very new to OIM.
    Cheers, SK

    You may want to try this:
    a. Add an entry in Lookup.USR_PROCESS_TRIGGERS
    b. Add a Process Form field and a Process task in each Process where you want to push the value.
    The task should have a name "<UDF label> Updated"
    c. Create another one called "Change <UDF label>"
    d. Make the tasks conditional, "allow multiple instances"
    e. Wire the "Change <UDF label>" to copy values from the user profile to the process form
    f. Wire the "<UDF Label> Updated" to the connector adapter.
    --Deepak                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Custom Attribute in OIM user Form is not populated.

    Hi Friends,
    I am new to this Identity Manager Technology. I really all ur support.
    I am using oracle Identity Manager 9.1.0.2 version with JBoss server. The Target System is Sun One directory.
    1. I added the custom field street in Resource Object--Object Reconciliation Tab for Xellerate User and also for Iplanet Users objects.
    2. In Process definition, for iplanet user provisioning Process and Xellerate Users provisioning process, in Reconciliation Field Mappings. I mapped the street field to the UDF(street) and also for UD_iplanet_Street .
    3. When I run the task schedular for Iplanet User Recon, the string associated with the field in Iplanet is reflecting in resource profile of the user view/Edit. However, it is not populated in OIM User Form Field.
    Can you please help me in resolving the issue. I will provide any further needed information.
    Thanks and Regards,
    Manjula

    Thank you for your prompt reply.
    Yes. I tested it.. I can see the street field in the process form is populated with the string. However, I cannot see the same in the OIM User Profile Form. That Means, When I go to User folder in Admin and User Console, Manage Users and then select the user associated with the street field, the street field for the user is not populating and is empty without any string.
    Please clarify me.
    Thanks and Regards,
    Manjula.

  • OIM 11gR2 - custom attribute with illegal binding on Create User form in published sandbox

    Hi,
    I think I have managed to paint myself into a corner!
    In OIM 11gR2 I have added a number of custom attributes to the "User Form" - some Text-, some Lookup-type attributes.
    While customizing the "Create User" page within a sandbox and adding a SelectOneChoice item and fiddling around with its binding, I was distracted by a phone call and the browser timed out.
    The binding property on the new item is now not correct and the sandbox has unfortunately been published, and I am now unable to enter the "Create User" page - when I try, I get the following:
    <Sep 23, 2013 2:39:11 PM CEST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <ADF_FACES-00009> <Error processing viewId: /user/createView URI: /oracle/iam/ui/runtime/form/view/pages/userCreateForm.jsff actual-URI: /oracle/iam/ui/runtime/form/view/pages/userCreateForm.jsff.
    javax.el.PropertyNotFoundException: Target Unreachable, 'ekstraresource1__c' returned null
            at com.sun.el.parser.AstValue.getTarget(AstValue.java:108)
            at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:149)
            at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:248)
            at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
            at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
            at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:128)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:340)
    <Sep 23, 2013 2:39:11 PM CEST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <ADF_FACES-00009> <Error processing viewId: /catalog-tf/cart-details URI: /oracle/iam/ui/catalog/pages/cart-details.jsff actual-URI: /oracle/iam/ui/catalog/pages/cart-details.jsff.
    javax.el.PropertyNotFoundException: Target Unreachable, 'ekstraresource1__c' returned null
            at com.sun.el.parser.AstValue.getTarget(AstValue.java:108)
            at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:149)
            at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:248)
            at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
            at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
            at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:128)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:340)
    Caused By: java.io.IOException: javax.el.PropertyNotFoundException: Target Unreachable, 'ekstraresource1__c' returned null
            at oracle.adfinternal.view.page.editor.renderkit.PageCustomizableRenderer.encodeAll(PageCustomizableRenderer.java:764)
            at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
            at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
    etc.
    Of course the sandbox should not have been published - but it is - and I am stuck trying to figure out how to somehow undo this mess.
    Is it possible to clean up this mess by diving to the database and removing some rows from the right tables - or perform some other operations undo my mistake?
    Thanks in advance,
    - Tom

    oim version is oim 11gR2 with BP4

  • Adding 'Middle Name' extended attribute to an user

    Hi all,
    I am very new to SUN IdM. I have a seemingly simple thing to do:
    1. Add a middle name attribute to user
    2. Make it visible in 'Tabbed User Form' so that it can be set at the time of user creation.
    3.Giving option to end-user so that he can change it himself later.
    for that I :
    1. Added <String>middlename</String> in the XMLs USER_sp_EXTENDED_sp_ATTRIBUTES and USERUICONFIG under configuration folder.
    2. Added a middle name field in 'Tabbed User Form' through BPE and set its name property to 'global.middlename'.
    Now the middle name field is getting displayed in the 'Tabbed User Form', but the value entered in this field is not getting saved. So when some one again opens the tabbed user form the middle name is showing blank.
    Can anyone plz help?

    Did you restart the appserver? Changes to UserUIConfig can require this to become effective.

  • Help Pls: how to assign a user form to a non active sync resource adapter

    I need to implement a non active sync resource adapter, such as oracle database or RACF. When a user is assigned a resource by IdM, an account is created on that resource. I want to transform some attributes during the creation, such as pre-padding the accountId with a letter and zeros. My questions are:
    1) I think attribute transformation should be accomplished by user form. is it correct? How do I assign the user form to the non active sync resource?
    2) What workflow/userform should I change to accomplish that?
    Thanks a lot.

    A cleaner option would be to
    1. Create a custom form, which could be derived from the Tabbed User Form.
    2. Create a delegated admin, with account administrator capabilities at the minimum, and required controlled organization, and assign the above form to this delegated admin -- this is on the same page.
    3. Use this form to create IDs on the specific resource.
    Now in this custom form you could have the logic on how to create the ID in the specific resource. In fact you could have different logic for different resource. Check the tech deployment guide for the exact syntax, but the field might be:
    account[Res_Name].identity
    Note that this setting would override the 'Identity Template' setting as defined in the RA configuration.
    And BTW, it would really help if you readup the 'Forms' section in the guide.
    Regards,
    Suveer Chainani

  • Logical flow between User forms and workflows

    Hi,
    I want to know the logical flow among jsps,UserForms and workflows in IDM.
    This may appear as a silly quest. But I want to know how exctly the workflows are getting excuted when we click the buttons on the forms....
    For eg While creating the user after gving the user details in Tabbed User form when we click on save how it is calling Create User Workflow....
    where is the link and how its happening.....
    If any one know this please reply me....this a quest remaining in my mind since so many days....
    Thanks in advance....

    I dont think, there is any xml codes in any of the forms for calling workflow. One needs to render a form for any workflow. Whenever you hit new User , the create user workflow gets initiated and the form and the default form for create user is Tabbed User Form. activities and forms are mapped according to the authorisation level. If you create any Admin role, then we need to specify a form for the admin's capabilities. I guess for configurator , to create a a new user, the form has to be Tabbed User Form by default. For a custom Lanch user process, one needs to include a form along with the workflow. We can do that. Thats what I know till date.
    Thanks,
    Manila

Maybe you are looking for

  • Multicore on a Java application on solaris 8, JVM 1.4.2_12 64bits ?

    Hello, We have a solaris 8 server with eight Ultrasparc-III+ processors (8 cores/threads), so normally 64 logical cpu's. We have a java application multithreaded ( actually NLWP is reporting 46 threads ). What Solaris 8 command could I use to see if

  • Case sensitive Usernames and deleting users

    I created a user in a new database and did not get the case correct.  It needed to match a username in another database, since it was, in fact, the same user and I did not want to unnecessarily burn another license.  Since this newly created user had

  • Unlockable file and 'Get Info' doesn't work

    Hello I have a file from an existing external hard drive that I brought over to my new Mac Mini. I can not delete or unlock this file. When I do a Command I (get info) the finder/desktop just flashes and no menu comes up. Therefore I can't uncheck th

  • BC4J Hotel Sample Works on CORBA/EJB ??

    HI, JDev Folks, I am debugging the BC4J with CORBA and EJB. And I download the BC4J Hotel Sample from the OTN web under the Jdeveloper/Sample Codes folder. I got the error in the client file BC4JHotelSample.java at public ApplicationModule createRoot

  • How to calculate RFC table columns in to another table column.

    Hi, I am doing a scenario, where in my Wendynpro UI table has been populated with a Function module output. Now three of the output columns needs to processed on each row. For ex: 1. I have to add two cloumn values on each row in to third column whic