OIM: Commas in a field in a GTC

I have done a lot of GTCs in the past but I am stuck on this one.
I have a field that includes a comma and the delimiter is a comma (,).
I have to use a delimiter as a comma because a limitation on the system that is generating the feed.
My header line looks like this:
EMPLOYEEID,FIRSTNAME,LASTNAME,FULLNAME,JOBCODE,JOBTITLE
The FULLNAME is the lastname, firstname.
If I save the file as a csv in Excel, the field shows up as "Smith, Joe"
The funny thing is I do not even care about this field and will not bring it into OIM.
I have run the file and I can't figure out how to deal with a , in the middle of a field so it does not throw off the rest of the fields.
Any thoughts?

Well you can do anything from developer's perspective but asking client to put same value twice can make you look unprofessional.
Here's what I did for many house listing websites.
1. Client puts price in pure number format ( e.g. 500000 )
2. wrap the price value with a tag in List/Detail template e.g.   <span class="house-price">{tag_price}</span>
3. then at the end of the page put a jQuery snippet which would globally format the prices ( e.g. $('.house-price').formatCurrency(); )
   Here's one I use
  https://code.google.com/p/jquery-formatcurrency/
   even if you're not familiar with jQuery it's pretty easy to follow
No more complain from client

Similar Messages

  • OIM 11g r1 custom field in simple user search result

    Good morning,
    i need to visualize a custom field in the OIM simple user search result table. At the moment, when a simple user search is performed, the returned attribute is only the "Display Name".
    For the advanced user search result table, is possible to add other fields modifying the Search Results table configuration in Advanced->User configuration->Search Configuration.
    How can i do the same the for simple user search result?
    Thank you.

    Yes, i tried to add my custom attribute to both Simple and Adv search result table, but without luck. Only Display Name column attribute is shown when a simple search is performed.

  • How to handle a comma in a field in CSV file during FCC ?

    Hi,
    I am having a requirement where we have to convert a CSV file into XML using File Content Conversion . The issue is one of the field in the file is having a comma inside. So the XML parser is taking it as a field separator and throwing an error.
    The contents of the file are as follows:
    "02975859","New Key","9","Failed, rejected by RTI server"
    How to handle a comma inside field "Failed, rejected by RTI server".
    Any help would be appreciated.
    Regards
    Pravesh

    Hi ,
    You have to write an java mapping programm to perdromance this task , in a estandar way i think is not possible , because the fiel adapter have just one option for the delimiter character.
    Here's some code that could help you
    Supouse a file in this way:
    1,rahul,siemens,mumbai
    2,consultant,12032005
    1,viswanath,sisl,hyderabad
    2,systemeng,23052005
    package TXTMapping;
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    public class TMapping implements StreamTransformation {
    private Map map;
    public void setParameter (Map param){
    map = param;
    public void execute (InputStream in, OutputStream out){
    try{
    out.write("<?xml version ='1.0' encoding='UTF-8'?>".getBytes());
    out.write("<ns0:Output_Data xmlns:ns0=\"urn:javamapping_test\">".getBytes());
    String line = null;
    BufferedReader bin = new BufferedReader(new InputStreamReader(in));
    StringBuffer buffer = new StringBuffer();
    while((line = bin.readLine())!= null){
    String Company = null;
    String Name = null;
    String Place = null;
    String Desgn = null;
    String Since = null;
    char[] str= new char[100];
    str = line.toCharArray();
    String[] Data = new String[10];
    int S1 = 0;
    int s2 = 2;
    for (int i=2; i<line.length(); i++)
    if (str<i>==',' && str[0]=='1')
    Data[S1]= line.substring(s2,i);
    S1=S1+1;
    s2 = i+1;
    if (i == line.length()-1 && str[0] == '1')
    Data[S1]= line.substring(s2,i+1);
    Name = Data[0];
    Company = Data[1];
    Place = Data[2];
    out.write ("<Data>".getBytes());
    out.write ("<Header>".getBytes());
    out.write (("<Name>"Name"</Name>").getBytes());
    out.write (("<Company>"Company"</Company>").getBytes());
    out.write (("<Place>"Place"</Place>").getBytes());
    out.write ("</Header>".getBytes());
    if (str<i>==',' && str[0]=='2')
    Data[S1]= line.substring(s2,i);
    S1=S1+1;
    s2 = i+1;
    if (i == line.length()-1 && str[0] == '2')
    Data[S1]= line.substring(s2,i+1);
    Desgn = Data[0];
    Since = Data[1];
    out.write ("<Item>".getBytes());
    out.write (("<Designation>"Desgn"</Designation>").getBytes());
    out.write (("<Since>"Since"</Since>").getBytes());
    out.write ("</Item>".getBytes());
    out.write ("</Data>".getBytes());
    out.write("</ns0:Output_Data>".getBytes());
    catch(Throwable t){
    t.printStackTrace();

  • Commas in text fields...

    I have a couple fields where people enter some numbers and
    then calculations are done (behind the scenes), and a resulting
    number appears in a new field. I need to know how to get commas to
    appear in the appropriate places (for instance - if someone's
    result was 82746, I'd want it to appear as "82,746" as opposed to
    "82746")...
    Here is a link to download my .FLA that I am working on. The
    code in question is on Frame 5. Thanks!:
    http://al-i.anixter.com/TEMP/pie2.fla
    --Hoffman

    I didn't even think of negative numbers... And I wasn't
    necessarily going
    for shortness either. But, since you mentioned it. This is
    both shorter, and
    handles negative numbers:
    function commatize(theString:String):String {
    var numOut:String = "";
    var l = (theString.indexOf(".") != -1) ?
    theString.indexOf(".") :
    theString.length;
    numOut += theString.substr(l, theString.length - l);
    while (l > 3) {
    numOut = (theString.substr(l - 4, 1) != "-") ? "," +
    theString.substr(l -
    3, 3) + numOut : theString.substr(l - 3, 3) + numOut;
    l -= 3;
    return theString.substr(0, l) + numOut;
    Dave -
    Adobe Community Expert
    www.blurredistinction.com
    www.macromedia.com/support/forums/team_macromedia/

  • Commit a blob field

    Hi all
    I am using Oracle provider to connect to the oracle. I can load a blob field and save it to a local hard but I cant load a file from hard disk and save it into that blob field. it is appears that there is no problem but no action happend . when I commit data and back to load it, the blob is empty and contains no data.
    plz help me if there is something wrong that I do.
    I first open the datasource and select that field for update and create a blob stream and then load a file stream into that field then commit.
    regards
    mohammad

    Are u using .Net file streams or Win32 native streams?

  • OIM Provisioning - Update target field just under condition

    Hello Experts,
    I need support to modify my SAP Target Provisioning.
    This is my scenario:
    - userA has a Resource SAP ECC.
    - I need that the 'Valid Through' field cannot be update if the SAP ECC resource is in status 'Disabled'.
    Is it possible?
    Thanks in Advance
    Best Regards,
    AT

    Hi Amit,
    thanks for your answer.
    At the moment the task that set our "Valid Through" atribute is linked to an adpter (type process task) that contanis just a "SET VARIABLE".
    We need to introduce an IF condition linked to the SAP Resource Status (Es. if the status is not 'Disabled'-> set variable).
    How can we do it using Design Console > Adapter Factory?
    If, into the Adapter, I add a new Util Task -> Oracle Identity Manager API, I can use an OIM Api method, but is not clear how to save the result value into an adapter variable..
    Could you give us some hints?
    Thanks in advance,
    Regards.
    AT

  • Add Commas to Form Field Results?

    Hi!
    I have a loan Calculator at:
    http://awdsf.com/projects/calc/calc_2a.htm
    I'm trying to make commas display automatically in the fields
    when large numbers appear in them.
    Anyone know how I can make this happen?

    davidlieb wrote:
    > Hi!
    >
    > I have a loan Calculator at:
    > <a target=_blank class=ftalternatingbarlinklarge
    > href="
    http://awdsf.com/projects/calc/calc_2a.htm">http://awdsf.com/projects/calc
    > /calc_2a.htm</a>
    >
    > I'm trying to make commas display automatically in the
    fields when large
    > numbers appear in them.
    >
    > Anyone know how I can make this happen?
    >
    //with javascript
    //Use getDecimal() function to get the decimal portion of a
    number.
    function getDecimal(val){
    val+="";
    var d=val.indexOf(".");
    return val.substring(d);
    // Use commaThis() function to convert an expression to a
    number with
    commas, e.g. 10000.25 to 10,000.25
    function commaThis(entry) {
    var d=getDecimal(entry);
    entry=Math.floor(entry)+""
    var rex = /(-?\d+)(\d{3})/
    while (rex.test(entry)) {
    entry = entry.replace(rex, "$1,$2")
    return entry+d;
    Mick

  • Replacing Comma in the field values

    Hi Friends,
    I have some data like " ,1,2,3,4 " in my table
    I want to remove the first comma alone and to list the data values.
    How can i do this?

    Hi!
    hope this code will help u -
    SQL> select substr(',1,2,3,4',2) from dual;
    SUBSTR(
    1,2,3,4Regards.
    Satyaki De.

  • OIM11gR2 Setting Multiple Parameters in Timestamp field of DBAT GTC

    Hi Experts,
    I am using DBAT (database App Tables) for running GTC for trusted Recon. While setting parameters, I want to set 2 values for time stamp parameters.
    Please share your ideas if i can do this on a single connector instance only or require to create a new instance all together?
    Thanks in Advance.

    Did you find solution for this! if so , can you please give us the solution that worked for you.

  • Commas in string fields

    Please can someone suggest to me how I read in a String from the
              previous page that contains a comma.
              I have a drop down list on one page that includes town names such as
              "Colchester, Essex". On the next page I do
              request.getParameter("town") but it only ever returns the String as
              far as the comma e.g. Colchester,. How do I stop the comma acting as
              a delimiter?
              Sorry for being vague.
              Thanks, Love Emma
              

    use request.getParameterValues()
              this will return u a string array of all the comma separated values
              YourJumbly <[email protected]> wrote in message
              news:[email protected]..
              > Please can someone suggest to me how I read in a String from the
              > previous page that contains a comma.
              >
              >
              > I have a drop down list on one page that includes town names such as
              > "Colchester, Essex". On the next page I do
              > request.getParameter("town") but it only ever returns the String as
              > far as the comma e.g. Colchester,. How do I stop the comma acting as
              > a delimiter?
              >
              >
              >
              > Sorry for being vague.
              >
              >
              > Thanks, Love Emma
              

  • OIM Problem Adding UDF fields to User Profile

    Hi all, I defined some UDF's and I want them to be seen on end-user account profile. And also in edit page. I tried to edit <!-- User Self Registration and User Profile Modification section --> section and ProfileModificationUserForm section of FormMetaData.xml. But it does not work. Any ideas?

    I don't know how come this is not working for you. Just confirm the steps once again as following:
    - Your UDF is USR_UDF_CUSTOMERID (let's assume)
    - You have made an entry is the section *<!-- User Self Registration and User Profile Modification section -->* of FormMetaData.xml like below:
    *<Attribute name="USR_UDF_CUSTOMERID" label="global.label.customerid" displayComponentType="TextField" dataLength="30" map="USR_UDF_CUSTOMERID"/>*
    - In addition to it you have also made an entry like following in section *<!-- Definition of the form that will be displayed to the user for profile modification -->* of the same xml:
    *<AttributeReference editable="true" optional="false">USR_UDF_CUSTOMERID</AttributeReference>*
    This should work perfectly.
    Thanks
    Sunny

  • OIM 11g : Flat-File Reconciliation using GTC Connector

    I am using OIM version 11.1.1.5
    below are the mapping used :
    login -> User Login
    firstName -> First Name
    lastName -> Last Name
    eMail -> Email
    organization -> Organization
    Employee Type -> Role
    User Type - User TYpe ( note : OIM version 11.1.1.5 do not have design console access it has User Type avialable for mapping ).
    also fallowed all the steps mention in few thred running in this forum but I am still not able to create user using FF file .
    I am seeing the same error in the log as given below.
    Caused by: oracle.iam.reconciliation.exception.ReconciliationException: Matching rule where clause is null
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.getMatchingRule(ReconOperationsServiceImpl.java:476)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.ignoreEvent(ReconOperationsServiceImpl.java:376)
    ... 48 more
    please sugguest what additonal steps need to be done .
    thanks
    -Kathy.

    Make sure you checked onf of your recon fields as 'Matching Only'. If you do not pick one field for matching, GTC will not create any reconciliation rule for you.
    Thanks,
    Krish

  • OIM GTC error

    Hi,
    we have installed a GTC for a group of database tables.Of them one is parent table and the remaining three tables are child tables.In parent table we have two columns with datatype as DATE.But GTC has been created having those columns as string.so it is same in the processform.we want to create a object form having those columns with the datatype as the date so as to get the calender popup and map the data flow to the processform.But while mapping it is throwing the error as invalid data pair.So in process form we have created two new fields with DATE as the datatype and mapped.But while provisioning i could not see these values are getting updated in target database.
    Please help me out.
    Pavan.

    Hi,
    I have added two new fileds in the OIM account in mapping page with date as the datatype and mapped to the earlier fields in reconciliation and provisioning stage with the new fields in OIM account while changing configurations in the GTC.Now new processform has been created with the two fields with data as the datatype.after activating process form and made necessary changes i tried to provision this resource to user.But Iam getting the following errors.
    SELECT ugp_name FROM ugp WHERE ugp_key=
    java.sql.SQLException: ORA-00936: missing expression
    tcDataBase/readPartialStatement encounter some problems: ORA-00936: missing expression
    ERROR,06 Jul 2011 12:07:30,654,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/getTaskInfo encounter some problems: Data Access Error
    DB_READ_FAILEDDetail: SQL: SELECT ugp_name FROM ugp WHERE ugp_key=Description: ORA-00936: missing expression
    DBProvisioningTransportProvider/sendData encounter some problems: DB_CREATE_PARENTRECORD_ERROR
    java.text.ParseException: Unparseable date: "07/07/2011 12:00:00"
    ERROR,06 Jul 2011 12:07:37,660,[OIMCP.DATC],Class/Method: DBFacade/createChildRecord encounter some problems: ORA-02291: integrity constraint (USER_ACCESS_CONTROL_MGMNT.SYS_C00157797) violated - parent key not found

  • CSV file:Incoming field blank, how put 2 commas in file

    Hi,
    In my IDOC to FILE scenario, I am creating a CSV file from the incoming IDOC. I have a few optional fields in the incoming IDOC so if these fields have no value, then there are no XML tags in the incming XML file in Adapter engine for these fields.
    In effect, when I create my CSV, these fields are missing. I want my CSV to have space/blank value between 2 commas for such fields.
    Example:
    So if idoc segment has 4 fields and field no 2 is optional(and blank in this case), I want my output file like
    field1-value , , field3-value, field4-value.
    I am sure this should be possible to do in FCC or field mapping, but I do not know the command. Appreciate your help.
    Thanks
    Shirin

    Hi Shirin,
    Yes u have to use that node function "EXISTS", ur absolutely right.
    Check this blogs for use of exists Function:
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    New functions in the Graphical Mapping Tool XI 3.0 SP13
    Message Mapping Simplified - Part I
    Regards,
    vinod.

  • Lookup Field with a Lookup Query on Process Form in OIM 11gR2

    Does anyone know how to render a field on a process form so that when modifying the field for the resource a "Search and Select" window appears and allows the user to search for the value based on the lookup query defined for the field in Design Console? The lookup field has been defined as a lookup query through Design Console and tested by previewing the form in DC. When creating the Form through OIM System Administration the field is created as a Text Field, not a Lookup. Creating a new Field through OIM System Administration only allows you to create the field using a lookup code not using a lookup query. I've tried to remove / add the field in the UI (create sandbox, customize, etc.) and add it back as a Input LOV but it doesn't get added and the error in the logs say java.lang.RuntimeException: Input LOV is not supported for this attribute, please make this attribute searchable in order to drop this as an input LOV. The field is defined as searchable in the Form Designer in OIM System Administration. In fact I can't even add it back as an ADF Input Text Field w/ Label, I suspect I'll have to "Regenerate" the form to even get it back on the form. Any help is appreciated. Next step is to try to export the sandbox, massage and import.
    Thanks,
    Ryan

    Finally got an answer out of Oracle after trying to figure this out as well. Apparently Lookup Queries are not supported at all by the R2 Web UI. They indicate that according to product management this will not be fixed.

Maybe you are looking for