Pre-populating numeric AD attribute
Hi,
Maybe I've missed something really obvious, but I can't figure out how to pre-populate a numeric attribute in AD. Text attributes work fine. I've got a numeric UDF that I want to push in the UniqueID AD attribute. I've added a new field in the UD_ADUSER form and created a new adapter by using the adapter factory. This adapter has an integer parameter and uses it as the return value. I've finally added a pre-populate adapter that uses my new adapter to populate my new UD_ADUSER form field with the value contained in my UDF. I far as I know, that's the standard way of dealing with pre-populate adapters and it works fine with all my other text fields. However, for some reason, it does not work with this numeric field. I've also tried configuring my adapter so it returns an hard-coded value, but it still doesn't work. Since assigning a default value to the new UD_ADUSER form field or manually modifying it with the web interface does work, I know that my form field is properly mapped with the AD field.
Any ideas?
Thanks,
--jtellier
It helps a bit, but does not solve my problem. I've changed my adapter's variable type to long. Now, if I map it to a literal long value, it works. However, if I resolve the value at runtime and pass it the value of my numeric UDF, I get this exception:
[2013-07-19T09:56:37.465-04:00] [oim_server2] [ERROR] [] [XELLERATE.SERVER] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 7cb409e4451203b6:-5d5e999b:13ff72b73a7:-8000-0000000000000528,0] [APP: oim#11.1.2.0.0] Class/Method: tcBaseRuleGenerator/run encounter some problems: java.lang.String[[
java.lang.ClassCastException: java.lang.String
at com.thortech.xl.dataobj.rulegenerators.adpADIDCPOPULATEINTFORMFIELD.implementation(adpADIDCPOPULATEINTFORMFIELD.java:51)
at com.thortech.xl.dataobj.rulegenerators.tcBaseRuleGenerator.run(tcBaseRuleGenerator.java:177)
at com.thortech.xl.dataobj.rulegenerators.tcAdapterExecuter.executeRuleGenerators(tcAdapterExecuter.java:266)
at com.thortech.xl.dataobj.util.tcPrePopulateUtility.setDataFromAdapter(tcPrePopulateUtility.java:1077)
at com.thortech.xl.dataobj.util.tcPrePopulateUtility.prePopulate(tcPrePopulateUtility.java:377)
at com.thortech.xl.dataobj.util.tcOrderPackages.computeProcessFormData(tcOrderPackages.java:865)
at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(tcOrderPackages.java:428)
at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(tcOrderPackages.java:180)
at com.thortech.xl.dataobj.tcOIU.provision(tcOIU.java:639)
[2013-07-19T09:56:37.467-04:00] [oim_server2] [ERROR] [] [XELLERATE.SERVER] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 7cb409e4451203b6:-5d5e999b:13ff72b73a7:-8000-0000000000000528,0] [APP: oim#11.1.2.0.0] Class/Method: tcAdapterExecuter/executeRuleGenerators encounter some problems: java.lang.ClassCastException: java.lang.String[[
java.lang.Exception: java.lang.ClassCastException: java.lang.String
at com.thortech.xl.dataobj.rulegenerators.tcAdapterExecuter.executeRuleGenerators(tcAdapterExecuter.java:280)
at com.thortech.xl.dataobj.util.tcPrePopulateUtility.setDataFromAdapter(tcPrePopulateUtility.java:1077)
at com.thortech.xl.dataobj.util.tcPrePopulateUtility.prePopulate(tcPrePopulateUtility.java:377)
at com.thortech.xl.dataobj.util.tcOrderPackages.computeProcessFormData(tcOrderPackages.java:865)
at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(tcOrderPackages.java:428)
at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(tcOrderPackages.java:180)
at com.thortech.xl.dataobj.tcOIU.provision(tcOIU.java:639)
at com.thortech.xl.dataobj.tcOIU.eventPostInsert(tcOIU.java:360)
I don't understand what string it's tryiing to cast. In the DB, my UDF is declared as NUMBER(10,0) and has a value of "1".
Thanks,
--jtellier
Similar Messages
-
How to get the pre-population on modify account page?
Hi,
I am working on OIM 11g R2 PS1 and have a following requirement :
User has to modify his existing email id through a request. User goes to modify account page, where all other fields from process form is hidden and only 'Email Address' field is displayed to the user to modify.
I have to pre-populate the 'Email Address' attribute with some system generated logic on this modify account page. How to achieve that? (either a system generated dynamic label or system generated logic on the email address attribute itself)
Any idea? As per my knowledge we cannot have pre-population on modify page, like we have on create page.
Kindly suggest how to achieve this requirement.
Thanks,
Neha GuptaHi,
Let me explain in this way:
1) User got some default email address first time, this is not through any request.[e.g [email protected]]
2) Now the user got married and she wants to change her email address as per her new lastname(through a request).[First name: Neha , Last Name : pqr]
3) So she will go to the modify account of the resource and will change her email id, here we have to display an oim suggested email address which is available, on modify page, this logic we will generate through java code.
[oim suggested email address: [email protected]]
That's why we want only on modify page not on create page, as creation of email address is not requestable.
Thanks,
Neha -
IM following Validtaion.xml for my field level validations
The problem is...i have a comboBox...and that combo box shoudl get prepopulated on the load ..
When i click a link..for example : from the menu...the call will actually fire the actionTag that is coupled with the struts-config file and will fire a action class.
Now once the execute method is called...i have to populate that combo from the same class which will set the attribute in teh request.
So for the first time...my combo box is getting populated using that atttribute values...but when i click on any button , the populated values are getting lost due to the validation.xml gets activated, and the request attributes are lost ...
Since i have a Validtaion frame work...as when i click the submit button ,the control invokes the validation frame work and looses all the pre populated values..
Is thr any one to guide me why this is happening and how to come out of thios pain full situvation.
Any luck..pls mail me to [email protected]
Thanks in ADVANCE
GaneshHave you declared the backing beans where the values of the combo box are stored at session scope ?
-
I have read through the numerous pre population posts but none of them addresses the requirement I have.
I need to prepopulate a fillable PDF form with some information that will tie the person who downloaded this PDF.
I understand I can use XDP to specify the data and within this specify the URI to the PDF template. That way when the user downloads and open the XDP it will launch the PDF and fill in the data.
What I need is also the requirement that the user cannot update these prepopulated fields. The prepop fields/data is to be read only.
Is there a way I can achieve this?
Thanks
JimJim,
This isn't the right forum group for talking about PDF Forms. This group is
for dicussion of the LiveCycle Data Services server which supports Remoting,
Messaging and Data Management from Flex applications.
Sorry we can't help.
Tom -
Problem pre-populating a combo box
Hello,
I am having problems pre-populating a combo box from a process.
This combo box field exists in the OIM User Form and in another process form.
Both combo box fields are populated from the same Lookup Definition: Lookup.Jazztel.TipoDeDocumento which looks like this:
Code Key Decode
1 DNI (NIF)
2 Pasaporte
4 Visado
6 Nº Identificación de Extranjero
9 C.I.F.
I've tried these methods to pre-populate the combo box:
* Using an adapter with a SET VARIABLE Logic Task (this adapter returns the code key that is selected in the OIM User form).
* Using an adapter that returns the decode field from the code key and pass it to the Process combo box.
In these cases, the process form combo box is not pre-populated correctly. It always shows C.I.F.
I tried modifying the combo box in the following way:
Code Key Decode
DNI (NIF) DNI (NIF)
Pasaporte Pasaporte
Visado Visado
Nº Identificación de Extranjero Nº Identificación de Extranjero
C.I.F. C.I.F.
and it get pre-populated correctly.
I need the code keys to be numbers. Does anyone know how can a combo like this be pre-populated?
Moreover and curiously, the process form combo box appears ordered alphabetically (according to the decode fields):
Code Key Decode
9 C.I.F.
1 DNI (NIF)
6 Nº Identificación de Extranjero
2 Pasaporte
4 Visado
and the OIM User Form Combo box, appears ordered numerically (according to the code key numerical order):
Code Key Decode
1 DNI (NIF)
2 Pasaporte
4 Visado
6 Nº Identificación de Extranjero
9 C.I.F.
Does anyone know why?
Thank you very muchTry prepopulate combobox by lookup code.
But it must displayed as decode. -
Schema, pre-populated data and submit
Hello guys,
I'd like a help here.
I've designed a form with a schema defined, a XML data file sample and now it is pre-populating a dropdownlist with the data from XML properly (let's say 50 items). But when I submit the form as XML, is submitting the whole list of 50 items plus the selected one.
Is it possible to submit only the selected item?
To be more specific, how can I choose which fields I need to be submitted?
ThanksHi Diego,
As far as I understood your problem , You need to update certain fields based on the selections made in the DropDown ? Am i correct ?
If yes, you have to remove the data binding, unless it will export all the XML data that you are embedding to it, no matter what you do.
You need to directly read the values of the attributes through the node of the XML you are embedding. It needs a bit of scripting.
Otherwise you can use XSLT to transform the data in which I have no expertise You need to know about the data mapping while doing this.
So, out of the above choices, what you need to do ? It would be great if you can share your form.
Thanks.
Bibhu. -
Webpart opening a pre populated email?
Is it possible for a webpart in sharepoint to then open a new email with pre populated information? if so how could we go about it?
You can do it by having the web part generate JavaScript that uses the mailto: attribute to trigger a new e-mail. It will allow you to specify a subject and a body, see:
http://stackoverflow.com/questions/19422331/how-to-create-an-email-button-with-javascript
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com -
Trying to d/l Kindle and Amazon aps to new iPad w/Retina Display. User ID is pre-populated with the incorrect email address for my Apple account. How can I change this to my correct Apple User ID?
You should setup as new.
Settings>General>Reset>Erase all content and settings -
Populating CRM marketing attributes using the APD
Hi Experts
We are having problems with populating CRM marketing attributes using the APD. When we run our process we get the error message:
CRMBW_ATTR_WRITE005: Error when processing function module CRMBW_UPDATE_BPMKT_5. Message no. RSAN_MDL024
As you can see, we are using the new function module CRMBW_UPDATE_BPMKT_5 since the old CRMBW_UPDATE_BPMKT did not work either.
Do we have to add a reference to a infoobject in transaction CRMBWTARGETS? We have not done this because the marketing attribute in CRM doesnt have decimals and all the objects in BI have. Could this be the cause of the error?
Kind regards
ErikHi Ramesh,
Thanks for quick reply.
I have already followed the procedure you have described. Since there is not common objects between ODS and Bpatner infoobject, i am not able to do mapping.
for eg. my ZBPARTNER infoobject has attributes like zfooty, ztennis and zrugby but my ODS has char name , char value, counter for multiple values infoobjects.
I am following the example in the demo content to work out the process but could not understand how the data is getting uploaded from ODS to Business partner.
http://help.sap.com/saphelp_nw70/helpdata/en/bf/5df63bf9deaf09e10000000a114084/frameset.htm
Thanks,
Sandeep Jogde -
How to show shuttle component pre-populated with SelectedItems
Well i am trying to get this thing working and literally failed many times.. once the user selects some items in a shuttle... i want to get the selected values and store it somewhere.. Next time when the user logs in for second time the Shuttle should be
pre - populated with the previously selected items .Can anybody suggest me and guide me about how to get this thing working...
Please if anyone from oracle Jdeveloper team can show some light on it ...Hi,
assuming the code hasn't changed between 10.1.3 and 11, you can have a look at these examples
http://thepeninsulasedge.com/frank_nimphius/2007/07/15/adf-faces-adf-faces-shuttle-with-pre-selected-values-from-a-selectoncechoice/
Let me know in case the code has changed
Frank -
Excel import to create forms with pre-populated fileds
Can/how do I create forms with pre-populated fields from an external data source like Excel? Example: I would like to create 100 forms with pre-populated name fields from an Excel document containing 100 names.
Hi,
Sorry, we don't currently support creating forms with pre-filled data.
Regards,
Brian -
Pre-Populating the header data in the survey attached to an activity in CRM
Hello Gurus,
I have a question regarding Pre-Populating the header data in the survey attached to an activity in CRM Mobile 4.0. That in can we define a Functional module for a PBO (Process Before Output) for a survey u201CZ_SVY_Templateu201D in CRM 4.0.
So that when a Sales rep opens the Survey in CRM Mobile 4.0 the Organizationu2019s Header data should automatically be displayed in the u201CZ_SVY_Templateu201D, so that he just needs to fill out only the remaining additional blank fields in the survey.
<< Moderator message - Please do not offer points >>
Thanks,
Siddhu
Edited by: Rob Burbank on Oct 8, 2010 2:16 PMModerator message - Cross post locked
Rob -
Problem in creating pre populated adapter in oim
HI ,
I have created one adapter with type "*Pre-Populate Rule Generator*", as per the link i follow::
http://idmrockstar.com/blog/2009/08/how-to-create-a-prepopulate-adapter-in-oim/
in this i want to pre populate the email id with firstname.lastname. i have successfully done the all the steps and mapping as per the link,but the emailid fileds in db tables has not reflected any changes with lastname.firstname.
i found that the note mention that " *To make the field be auto-populated, the Auto-populate*
*checkbox for the iPlanet Resource must be checked. Otherwise the*
*Prepopulate button on the form has to be clicked for the field to update.*
*To test the adapter, provision someone to iPlane"* but i'm not able to find such check box anywhere.please help as i'm new in oim.where exactly this check box is present.
thanx in advance .No, my user has got provisioned, but my pre populate adapter is not in effect.
I have created this pre populated adapter for concatinating the firstname and lastname and get populated in email.
i have created one form using Generic Technology connectors that is provisioned with DB.
here are steps which i have followed:
1) create gtc for provisioning .
2)created it resources with type : database.
3)i created sandbox
4)create application instatnce
5)publish sandbox
6) thenn i run the schedular catlog synchronization job.
7) then i create the users
8) then i add that user to the application instatnce by adding to cart.
9) then get appear with a process form.
then by submiting the state is converted to provisioned.
then this form table i map with that adapter but still not refled any changes..
is there any mistake in the above sequence or something wrong.please help.it is very urgent.
thanks -
Problem in pre populated adapter in OIM 11 g R2
hii i have followed following steps regarding the pre populated adapter ,but no luck.
java code :
package com.oracle.demo.iam.prepop.plugin;
import java.io.Serializable;
import oracle.iam.request.plugins.PrePopulationAdapter;
import oracle.iam.request.vo.RequestData;
public class Userfname implements PrePopulationAdapter {
public Serializable prepopulate(RequestData requestData){
String fname = "xyz";
System.out.println("Returning fname ==== " + fname );
return fname ;
2)i have create a jar for this code and paste it into lib folder.
3) i have create a plugin.xml
<?xml version="1.0" encoding="UTF-8" ?>
<oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<*plugins pluginpoint="oracle.iam.request.plugins.PrePopulationAdapter">*
*<plugin pluginclass= "com.oracle.demo.iam.prepop.plugin.Userfname" version="1.0" name="Userfname">*
*<metadata name="PrePopulationAdapater">*
*<value>register::LAST_NAME</value>*
*</metadata>*
*</plugin>*
*</plugins>*
*</oimplugins>*
4)i register the plugin using ant -f pluginregistration.xml register
5)i have restartthe oim server and then i create a user using the same app instatnce in which i have create the form(ie.register),and
request acount-->select app instance ---> add to cart
but the last name xyz as per the java code is not reflected in the dadbase table.
please help
tushar palekarHii,
I found that there is exception during registraion of plugin.xml in oim.
-**register-to-wls-server:**
**[java] Java Result: 1**
**[delete] Deleting: c:\yash\Oracle\Middleware\Oracle_IDM1\server\plugin_utility\20130417160129.tmp**
**[echo] Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jrf/PortabilityLayerException**
+*[echo] at oracle.iam.platformservice.utils.PluginUtility.main(PluginUtility.java:210)*+*
+*[echo] Caused by: java.lang.ClassNotFoundException: oracle.jrf.PortabilityLayerException*+*
**[echo] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)**
**[echo] at java.security.AccessController.doPrivileged(Native Method)**
**[echo] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)**
**[echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)**
**[echo] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)**
**[echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)**
**[echo] ... 1 more**
**[echo] classpath=C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\spring.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\jakarta-commons\commons-logging.jar;C**
**\iam-platform-context.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform\iam-platform-utils.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform\iam-platfor**
**DM1\server\platform\iam-platform-pluginframework.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\client\oimclient.jar;C:\yash\Oracle\Middleware\wlserver_10.3\server\li**
**[echo]**
**[echo]**
**[echo] was_home=null**
**[echo]**
**[echo]**
**[echo] client_home=null**
**[echo]**
**[echo]**
**[echo] xl_home=null**
**[echo]**
**[echo]**
**[echo] mw_home=null**
**[echo]**
**[echo]**
**[echo] newClasspath=C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\spring.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\jakarta-commons\commons-logging.ja**
**orm\iam-platform-context.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform\iam-platform-utils.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform\iam-plat**
**e_IDM1\server\platform\iam-platform-pluginframework.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\client\oimclient.jar;C:\yash\Oracle\Middleware\wlserver_10.3\server**
**null/ext/ucp.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:null/lib/oimclient.jar:null/server/lib/wlfullclient.jar:null/ext/jakarta-commons/commons-loggin**
**ar:null/ext/spring.jar:null/server/lib/webserviceclient+ssl.jar:null/platform/iam-platform-utils.jar:null/server/lib/wlclient.jar:null/server/lib/weblogic.jar:null/plat**
**features-system-configuration.zip:null/features/iam-features-identity.zip:null/features/iam-features-platformservice.zip:null/ext/log4j-1.2.8.jar:null/lib/XellerateClie**
**/lib/xlVO.jar:null/lib/xlUtils.jar:null/lib/xlCrypto.jar:null/lib/xlAuthentication.jar:null/lib/xlDataObjectBeans.jar:null/ext/oscache.jar:null/ext/javagroups-all.jar:n**
**jrf-api.jar:null/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar:null/ext/jrf-api.jar:null/oracle_common/webservices/wsclient_extended.jar:null/oracle_common/module**
**on/modules/oracle.jmx_11.1.1/jmxspi.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar**
**BUILD SUCCESSFUL**
**Total time: 1 minute 21 seconds**
please help as it is very urgent
Thnks ,
Tu$har
Exception: -
Pre-populated PDF forms and form submission
Ok, I must be blind or something, I've searched for answers to this question, and see unanswered posts around the web, and if there are answers, they don't help. Perhaps if someone can answer this, it will help many others as well:
I've read about how FDF/XFDF (the older method) can be sent to the client side, which will open the specified PDF file (as specified using the "/F" flag in the FDF) and load the fields values also specified in the FDF (using the /FIELDS and /T flags, etc.). I was recently told that XFA is the new format, but reading the docs is not clear to me.
QUESTION: What is the proper method to pre-populate the FIELDS of a PDF form (created using LiveCycle Designer, or Acrobat, or whatever) that gets sent to a client browser? Changes to this pre-populated data gets re-submited via an HTTP post button (or whatever) back to the server.
Note: At the server backend, say using C# in Visual Studio 2005, I can simply read the posted HTML form and store the fields values into a database; However, I need to be able to pre-populate these PDF forms with selected patient names, etc., so that healthcare officials can complete them more easily BEFORE they get posted back to the server. These pre-populated fields (some of them anyhow) must STILL be editable (not flatten to static text or something).
Thanks.From your description, is doesn't sound like it has anything to do with the virtual enviroment. It does sound like the forms simply need to be Reader-enabled. This allows Reader to save filled-in forms, which is necessary when you want to email them. If all of your users can use Reader 11, the forms do not need to be Reader-enabled since it is capable of saving non-enabled form. To enable a form in Acrobat 10, select: File > Save As > Reader Extended PDF > Enable Additional Features
Maybe you are looking for
-
Hello, Error Created while moving audit data from existing runtime repository to Control Center using OWB Control Center Upgrade Assistant. Here OWBRTR2TST is Runtime repository in Control Center. Error as follows: Exception: Failed to Migrate Audit
-
Hi We made a recovery database but the jobs in DB13 are not running, i will scheduled the jobs but i get the next error in the CHECKDB job and in the UPDATESTATS job: ======================================== Job started
-
ID and Password info rejected on iCloud
This also applies to my iTunes account. I recently changed my Apple ID and password but when I go to iCloud my old ID is displayed and any password I try is rejected. So I try to reset the password. As is normal I was told an email had been sent to r
-
kindly guide me how to upload audit questions in sap system my query is sap also provide one temple in that templet what is contents to be filled i cont understood any body work that temple kindly guide me in that templet we have filed like
-
I have a long form (with many input TextFields etc) that is too long to fit into the confines of the swf. What's the best approach to use, a ScrollPane? Or is there some way by setting the Publish Settings? Thanks.