Request Template LookupQuery Option

Has anyone tried using the lookupQuery option in a request template? I tried adding it for a country field and instead of getting a drop-down box I simply got a textbox. I primarily want to use the query option so that I can sort the list of countries instead of leaving it up to the random map sequence that you currently get.
Thanks,
Pete

Dude
Here are the answers for your query:
<AttributeReference name="Country of Origin" attr-ref="Country of Origin" available-in-bulk="false" type="String" length="50" widget="dropdown" required="false">
<lookupQuery lookup-query="select lkv.lkv_decoded as CODE, lkv.lkv_encoded as COUNTRY from lku, lkv where lku.LKU_TYPE_STRING_KEY = 'Lookup.Locations.Country' and >lku.LKU_KEY = lkv.LKU_KEY order by COUNTRY ASC" display-field="COUNTRY" save-field="CODE"/>
</AttributeReference>+In addition if I then delete the "Country of Origin" attribute from the User Configuration then the Self-Register template fails to load because it can't find the attribute.+
Answer: You are using "*attr-ref="Country of Origin*" in your dataset. If you delete that field from OIM then how will it load ?
Regardless of what I put in the query, even **** data, the form still displays the contents of the "Country of Origin" based on the User Configuration settings
order by COUNTRY ASC
Most of the things don't work in Request Dataset. here you are using order by. I am not sure whether it works properly or not. Use some other query and test that.

Similar Messages

  • Feature Request: Add Skype option to user name field in contacts

    Feature Request: Add Skype option to user name field in contacts
    I know skype maintains it's own names but this is so you don't lose everrything when you move from one place to another. Or need to skype someone from an internet cafe with your iphone.

    Why not simply add the field by modifying the template?

  • Error while creating Contractors using Request Template

    Hi,
    Logged in as "xelsysadm". I have created "Contractor Request Template".
    Logged in as "ContractorAdministrator" for him "ContractorRole"(Request Administrators) and "Contractor Authorization Policy"(create user) assigned.
    When Contractor Administrator tries to create a contractor using "Contractor Request Template" getting the below errors...
    oracle.iam.request.exception.AccessDeniedException: IAM-2050059:User OIMINTERNAL does not have access to create the request using Contractor Create User request template.
         at oracle.iam.request.repository.RequestTemplateManager.checkRoleAuthorization(RequestTemplateManager.java:165)
         at oracle.iam.request.repository.RequestTemplateManager.getTemplateForRequestCreation(RequestTemplateManager.java:218)
    oracle.iam.request.exception.InvalidRequestDataException: IAM-2040049:UserManager Access Denied.:
         at oracle.iam.requestactions.plugins.datavalidator.CreateUserDataValidator.validate(CreateUserDataValidator.java:651)
         at oracle.iam.request.impl.RequestEngine.validateRequest(RequestEngine.java:1695)
    Please help me..
    Thanks,
    Madhavi

    If you are not using Template level approval you must associate approval policy( for Request level and operational level). I suggest, you change it to Template level .
    To verify this follow below link
    http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/request.htm#OMDEV2873
    create request template
    http://docs.oracle.com/cd/E14571_01/doc.1111/e14316/req.htm

  • Error when creating a request Template In OIM

    Hello all,
    I have a very strange issue with OIM, it is when I try to create a request template, and put a restriction in Organization field, it creates the template and everything is fine. Suddenly, when I try to edit this template, the OIM shows a window with the next error:
    ADF_FACES-60096:Server Exception during PPR, #5 oracle.iam.platform.utils.MinLimitException: size < minimum limit
    I have found in other posts the "solution", It is to change in the database -> RequestTemplate Table -> Template Data Column, the restriction Organization from "the name of the organization" to "the Id of the organization", and restart the OIM, so after that, I can edit the template.
    Here is the issue that I don't understand,... few hours after, I want to edit the same template, and the OIM again shows the same error:
    ADF_FACES-60096:Server Exception during PPR, #5 oracle.iam.platform.utils.MinLimitException: size < minimum limit
    And if I review in the database the table, in the Template Data Column, the restriction of Organization has AGAIN the "Name of the organization".
    And I can again change that to the "Id of the organization", but it's time lost restarting the OIM. Time that I don't have, because Its more than one template.
    Please somebody could help me with this issue.

    Hello,
    I already found the solution to this issue.
    I had to restart the OIM server but also the DataBase and after that, this problem was solved.
    Thanks anyway.

  • OIM 11g R1 Request Template issue

    Hi All,
    We are facing an issue with implementing the Request Management of OIM 11g R1 11.1.1.5 for Create User.
    OIM already provides OOTB CreateUserDataSet.xml and a ‘Create User’ Request Template.
    We have changed(customized) the OOTB CreateUserDataSet.xml at the same location in MDS and have created one our own Request Template – ‘Create Custom’.
    We have also added Attribute Restrictions in the ‘Create Custom’  request template for mandatory fields like – ‘Organization’, ‘User Type’ & ’Design Console Access’.
    The issue we are facing is –“After some time(not immediately) the Request Template gets corrupt and does not open thus rendering the Request Process for Create User inoperable.”
    Below is the the log error of the OIM Web console error after we are trying to open ‘Create Custom’ by clicking on the Request Template.
    <ADF_FACES-60096:Server Exception during PPR, #8
    oracle.iam.platform.utils.MinLimitException: size < minimum limit
                    at oracle.iam.platform.canonic.model.Values.setMinLimit(Values.java:187)
                    at oracle.iam.requesttemplate.agentry.operations.OpenActor.renderAttributeRestrictionsTab(OpenActor.java:829)
                    at oracle.iam.requesttemplate.agentry.operations.OpenActor.prepare(OpenActor.java:198)
                    at oracle.iam.consoles.faces.utils.CanonicUtils.prepareOperation(CanonicUtils.java:169)
                    at oracle.iam.consoles.faces.utils.CanonicUtils.prepareOperation(CanonicUtils.java:179)
                    at oracle.iam.consoles.faces.render.canonic.UICursor$TableActionListener.processAction(UICursor.java:855)
                    at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
    Any help in solving above issue, workarounds or knowing that is it an OIM bug will be greatly helpful.
    Note* I have noticed(through Export) that in a corrupted Request Template the Organization Name that I have restricted to a Constant, has the- Organization Name's Text as value in exported xml. If I change it back to ACT KEY and import it back in OIM the Template is again restored until next corruption
    Thanks already
    Regards,
    Nitin Tewari

    Excellent! Thank you very much!
    Edited by: 958794 on May 22, 2013 10:37 AM

  • After Mavericks OS upgrade, can no longer make any HTTP requests with the OPTIONS verb

    My machine can no longer make any HTTP requests with the OPTIONS verb. This happens whether I try it curl, postman, or ajax.
    curl -i -X OPTIONS http://www.google.com returns curl: (52) Empty reply from server
    It should return a long string containing a 405 error code.
    I suspect that this is related to the Mavericks upgrade I did earlier this week. I only have one mac (my dev machine) with Mavericks. Other macs are Mountain Lion and they don't have this problem.
    Can anyone else with Mavericks confirm whether or not they have this problem too?
    If this is Mavericks related, anyone know of a fix or workaround?

    Turns out that it wasn't Mavericks related at all. Cisco AnyConnect has a security module running behind the scenes even when you're not VPNed into anything. It was blocking my OPTIONS verb requests. I was able to make these calls after uninstalling.
    Re-installing with Web Security turned off should prevent it from happening. While I was uninstalling I did notice that there was a web security uninstall script in /opt/cisco/vpn/bin but I already committed to taking the whole app off my machine. Simply running that script could have done it too.
    I must give credit to Ben Nadel. It was his blog post that helped me fix this issue.
    http://www.bennadel.com/blog/2559-Cisco-AnyConnect-VPN-Client-May-Block-CORS-AJA X-OPTIONS-Requests.htm?&_=0.10495476494543254#comments_44093

  • How to assign approvaal policy for a request template in OIM 11g

    When I request for resource in OIM 11g, It's always going for Default approval of xelsysadm.
    I want this Request level approval must go to "Beneficiary Manager approval". While requesting I am selecting request template (which I created) for Provision resource as Request type.I have already set "Beneficiary Manager approval" as request level approval for this request template.
    I have created one approval policy, How can I assign this approval Policy to request template so that When i submit this request , it should go to my Manager approval.
    Regards,
    J

    Hi Rajiv,
    I do not need approval of Operational level. I want to stop the approval process after request level approval.
    Here you are saying to create a new approval policy and set as AUTO Approval as true. There are some default approval policies which comes with OIM 11g and one of the approval policy is trigeering the Operaional level approval. So I think I do not need to create new approval policy and I can use exsting approval policy and modify as you suggested selecting AUTO APPROVAL and create approval rule as request template=="XYZ".
    I am not sure which default approval policy trigeering the Operational approval now. Can you pls tell me that?
    Can you pls confirm that, there is only way to restrict Opertional Approval by selecting "AUTO APPROVAL" true and put the approval rule as request template=="XYZ"
    Thanks Rajiv for your help all the time.

  • Service Account Management through Request Templates

    Hi,
    I am trying to implement Service Account lifecycle use cases (Create, Modify, Delete) on 2 resources(AD User, iPlanet User) through Request templates. In this case OOTB tasks - Service Account Alert, Service Account Changed, Service Account Moved with resource specific Process definitions are not get triggered as I am initiating process through Request Templates.
    I want to trigger post process EventHandler upon triggering any of these events. so, I created metadata xml file as the following and imported it into MDS.
    -----------------EventHandler Metadata file------------------------
    <?xml version='1.0' encoding='utf-8'?>
    <eventhandlers>
    <action-handler class="com.wipro.sdf.iam.oim.plugin.ServiceAccountCreationEventHandler" entity-type="Resource" operation="PROVISION" name="ServiceAccountCreateEventHandler" stage="postprocess" order="1021" sync="TRUE"/>
    </eventhandlers>
    ----------------------------XXX----------------------------------------------
    When I trigger create event of SA on any of the resources, the EventHandler is being invoked and from execute() method, Orchestration is giving the following data
    {UD_IPNT_USR_LAST_NAME=TestTwo, BENEFICIARYKEY=798, UD_IPNT_USR_COMMON_NAME=SA Test Two, *ResourceKey*=12, serviceaccount=true, UD_IPNT_USR_SA_ADMIN=USER16TE, UD_IPNT_USR_USERID=SATEST2, UD_IPNT_USR_FIRST_NAME=SAccount}
    My EventHandler has to do some actions on target resource(AD / iPlanet),so I would like to get resource connection details like IP, port , admin login details etc.
    To fetch those details, I am using ResourceKey that is coming from Orchestration.
    When I use the following code to find Resource details based on Key, its throwing resource not found exception.
    -----------------------Code from execute() of EventHandler----------------------
    String resKey = getParamaterValue(parameters, "ResourceKey");
    tcITResourceInstanceOperationsIntf resInsObj = Platform.getService(tcITResourceInstanceOperationsIntf.class);
    //Get Resource Details based on Resource Key
    HashMap searchMap= new HashMap();
    searchMap.put(Constants.IT_RESOURCE_KEY, resKey);
    logger.debug(methodName+" - IT Resouece Search Map is : "+searchMap);
    tcResultSet resultSet = resInsObj.findITResourceInstances(searchMap);
    -------------------------------End of code ------------------------------------------------
    I tried finding for the table which stores all IT Resource connection details. But no luck.
    Now my questions are:
    1. Which table stores all IT Resource Information that can be seen from Design Console -> Resource Management -> IT Resource Type Definition - > Resource?
    2. Which table stores Resource Key and Name details?
    3. When we do query for records from any form in Design Console, where exactly would logs get recorded? (as it queries DB to fetch information there should some file like DB Tracer Log etc)
    Could somebody please answer these questions and give some hint to implement SA management through Req Templates?
    Thank you in advance,
    Mounika

    Hi kevin,
    thanks for reply.
    i am thinking that, Even though OIM11G is developed in ADF,some parts of the code is in struts only,like xlWebApp.war .
    i have seen source code of xlWebApp.war folder that is there in OIM11g.
    it seems to be developed in struts only.
    is there any ADF interaction in that?
    i have written helloworld program in struts,that is working fine.
    i have done that,for ADUser resource popup i added button "serviceaccount for this resource".when i click that one jsp page will come.
    so i am thinking that,some other reason is there for not working.
    can u please tell me the reason?

  • Activity Templates inside Service Request Templates

    I have run into a problem and I was hoping there is an easy solution.
    I have built Activity Templates for Access Requests, one template per application.
    Then I have Service Requests for per Job Code, which include up to 20 of those Activity Templates.
    I did it this way specifically so if an Application Access process changed, I could just edit the Activity Template for that Application, and all the Service Requests that use that template would update as well.... or so you would think.
    I just had to change some, and my service request is still showing the old templates, not the esits I did. I waited over an hour. Is this a workflow problem, or a functionality problem? If the Service Request Template saves when created instead of pullign
    the activity templates each time its opened, it defeats my purpose of trying to do this modularly. This also makes absolutely no sense to me either, if that is in effect how it works.
    What that will mean is I will have to edit every service request that uses a specific activity, instead of just that activity template.

    Activity templates do not cascade. When you add an activity template to a Service Request, SCSM creates a copy of the activity template _inside_ the SR template. That's where they diverge.
    Any further changes to the original activity template will not be replicated to any SRs that contain that activity.
    I'm sorry to say that's the way SCSM's template management was implemented.

  • Exception while trying to add new roles into Request template - OIM 11g R1

    When I try to edit 'Allowed Roles' tab in the Request template, I am facing an exception saying *'oracle.iam.platform.utils.MaxLimitException'*. What is the maximum number of roles that can be added to a request template? Also, which OIM table contains data related to the roles attached to request template?

    Hi Rajiv,
    Thanks for the information. It did resolve the issue.
    However, I have another query. Was their any reason for setting the max limit of roles in request template to 300? Will their be any issues(like system unstability, system performance drop) if the limit is increased?

  • AD RMS 2012 Templates/Permissions [Option] is not visible at Outlook 2013 in Nokia Windows 8 Mobile Device

    I have AD RMS 2012 Server, its working fine by applying restricted Templates/Permissions on OWA, Outlook & other MS Office Tools (Word Excel, PowerPoint). But the AD RMS Templates/Permissions [Option] is not visible at Outlook 2013 in Nokia Windows
    8 Mobile Device.
    Actually I would like to protect email with RMS templates (defined by me on AD RMS 2012 Server) but the [Permission] tab is not visible at Outlook 2013 in Nokia Windows 8 Mobile Device.
    But I can do same with Android OS in Samsung Galaxy Mobile Device & I can see [Permission] tab as well to protect an email messages.
    Any idea??
    Regards,
    M.Daud Soomro

    Currently, you can't use WP 8 to protect docs/emails with ADRMS templates. YOu can however use transport rules on Exchange server side to configure automatic ADRMS protection.
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Damir

  • On value request in select-options in a repot URGENT

    Hi all,
       my requirement is to provide on value request in select-options
    in selection screen Gsdpr user one select-option is there
    For GSDPR User field, provide F4 help. Users list can be selected from ZWF_UPI table where WF_UPI_TYPE is ‘HR’. From the table, select UPI Number and employee full name fields
    in ZWF_UPI  table the key fields are UPI and WF_UPI_TYPE
    non key  field is emp_full_name.
    please send me the code .
    regards
    Nagendra

    Hi,
    I do not have sample code , But you have to use the function module
    F4IF_INT_TABLE_VALUE_REQUEST on the AT-SELECTION-SCREEN ON VALUE REUQEST FOR S_OPTION-LOW event
    Select Data as per the requirement into Value table of the Function module
    Return the Data fro the Return table of the function module.
    The good choice will be Go to SE37-> Type this FM F4IF_INT_TABLE_VALUE_REQUEST  and look for Where used list-> Programs . There u will get the list of programs used this FM
    Regards
    Pavan

  • Unable to Create Service Request Template in CRM

    Hello,
    I need to create a service request template in crm web ui,
    Following are the steps followed.
    I have identified the transaction type as SRQT screen shot attached below
    However when I click on on the work center link groups of the service pro role, I am not able to find the same for the service request template
    As per the post below it says that you need to go navigation bar profile and add the SM-SUPPORT work center and the work center link group as SM-SRQT-CR
    How to customize service request templates
    The error appears when I try to add the logical link id,
    Because of the above error I am not able to create service request template in sap crm, please advice which logical link ID, I need to use so that the service request template can be created in the system.
    Kind Regards
    Atul

    Hi Atul,
    1. Screen shot 1 is correct
    2. Screen shot 2 - You are at end of all work centers in your custom role which you might have copied from standard or Z role. If you look in standard role SERVICEPRO, navigation bar profile SRV-PRO, work center - SRV-ORD, you will find service request template
    In Cases work Center in standard SERVICEPRO role you can create service request template.
    Try copying this to your custom role in your required work center. It should work.
    Regards,
    Niraj

  • How to add dynamically a role in a Request Template

    Hi all,
    We have created a job that reads roles from a custom table and creates them in IDM. We have also a request template of type Assign Roles that has all the allowed roles that can be assigned to a user. We have a requirement to add a role from the custom table in the IDM and also add it in allowed roles of the Request Template so that it will be available. Our problem is that we cannot find an API that we can call in order to add the roles in the request template. Does anyone know how we can do this?
    Thanks in advance,
    Kostas

    Did you look at RequestTemplateService? I believe you can use this to modify your template pragmatically. Thus the step would be to read the custom table, create role in IDM and the modify the template pragmatically to add the newly created role in the available role which can be requested.
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e17334/oracle/iam/request/api/RequestTemplateService.html
    HTH,
    BB

  • UDF of request template of create user

    Hi I have created a user defined field in the user management. How can i make this field visible in the request template of create user.

    Hi Varma,
    Follow this doc:
    http://docs.oracle.com/cd/E17904_01/doc.1111/e14309/request.htm
    Or you can also try to change the type of data in dataset than you can export the datasets from MDS. After that change the xml and import it back.
    I hope this helps,
    Thiago Leoncio

Maybe you are looking for

  • Looking for App for books owned (not ebooks)

    Looking for a simple app to keep tracks of books I own. The only one I have been able to find is Clz books (collectorz.com). It looks okay but something simpler would be better. And you need the app on your computer to add/edit anything.

  • "can't find remote speaker"

    AirPort works fine for an hour or two, but then the audio dies and iTunes says (something like) "can't find remote speaker". I have to disconnect from the network and connect again. "repairing wireless connection" also works. Do you know of any way a

  • How to hide XML Form Label with Hyperlink set to Display?

    XML Forms Builder:  Currently I have a label with the Hyperlink set to Display (on the RenderListItem and when clicked it will open the Show form).  -  I want the label (caption is Read More..) to be hidden if there is no text in a HTML editor on the

  • UML modeling by reverse-engineering a JAVA project

    I can't seem to get over a basic hurdle to get started with UML modeling. I open an existing JAVA project. I then start a new project and choose "UML" and "-Platform model by reverse-engineering a JAVA project". Next I give the UML project a name and

  • Error while interpe

    I have set SET CLASSPATH=.;C:\progra~1\j2sdk1.4.0\lib\tools.jar to my autoexec.bat When i am interpretering the class file i recieve the error below Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp/class What is the problem?