How to configure sync rules involving a CSV file and portal self service

Hello,
 I need to configure some FIM sync rules for the following scenario:
 User account details are entered from a HR CSV file and exported to AD  Users have the ability to modify their own AD attributes in the
FIM portal (there is not a requirement for them to view their  HR CSV data in the portal). The FIM portal modifications will be exported to AD as expected.  
My setup is as follows:
CSV file - name, last name, employee ID, address.
CSV MA - has direct attribute flows configured in the MA between the data source and MV Portal self service attributes –      
users can edit mobile, display name and photo
I've also set the CSV MA as precedent for the attributes
FIM MA – attribute flows defined for MV to Data Source as usual (i.e. firstname to firstname, accountname to accountname, etc).
AD MA – no attribute flows defined as inbound and outbound sync rules have been configured in the portal using the Set\MPR\Triple.
I’m thinking of using the following run profiles:
CSV MA – full import and delta sync (imports HR data)
FIM MA –  export and delta import (imports portal changes)
FIM MA – delta sync (syncs any portal changes)
AD MA – export and delta import
If my understanding is correct this should sync HR data from CSV to AD, as well as user attribute self service updates from the portal to AD.
If I wanted to just do a HR CSV sync could I get away with just steps 1 & 4 ? (presumably not as my rules are in the FIM portal?)
If I wanted to do just a portal sync, could I get away steps 2-4?
Any advice on how to improve my setup is much appreciated - cheers
IT Support/Everything

The truth is that your design should be done in the way that it doesn't matter which profiles in which order you will execute. At the end, if you will run all import, synch and export profiles on each data source you should get same result. This is beauty
of synch engine here.
Your steps from 1-4 will synch data to your data sources and at the end will give you expected result. But not because of the order you are executing them but because of correct attribute flows. If flows from CSV file and from FIM portal might be done for
the same attributes you need to think also about attribute precedence.   
Tomek Onyszko, memberOf Predica FIM Team (http://www.predica.pl), IdAM knowledge provider @ http://blog.predica.pl

Similar Messages

  • Need to take a value from the csv file and query in a OAF page.

    Hello,
    I have a requirement to take the list of employee numbers in a csv file and display its corresponding job on the page.
    I have created a item 'MessageFileupload' where the user will upload the csv file containing the employee number and a Button 'Display Jobs' which will display the corresponding jobs on the page.
    Any idea how to take the values from the csv file and query it?
    Regards,
    den123.

    Hi ,
    Check
    http://oraclearea51.com/contribute/post-a-blog-article/csv-file-upload-for-oa-framework.html
    http://www.roseindia.net/jsp/upload-insert-csv.shtml
    Below code works from above blogs.
    package xx.oracle.apps.pa.Lab.webui;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    // import java.io.*;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.jbo.domain.BlobDomain;
    import oracle.cabo.ui.data.DataObject;
    import oracle.jbo.Row;
    * Controller for ...
    public class deptCsvUploadCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        // Code Addition Started for CSV upload
        OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
        OAViewObjectImpl vo = (OAViewObjectImpl) am.findViewObject("deptCsvVO1");
          //if ("GoBtn".equals(pageContext.getParameter(EVENT_PARAM)))
           if (pageContext.getParameter("GoBtn") != null)
          System.out.println("Button Pressed");
              DataObject fileUploadData =(DataObject)pageContext.getNamedDataObject("FileUploadItem");
              String fileName = null;
              String contentType = null;
              Long fileSize = null;
              Integer fileType = new Integer(6);
              BlobDomain uploadedByteStream = null;
              BufferedReader in = null;
                      try
                      fileName = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_NAME");
                      contentType =(String)fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
                      uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
                      in = new BufferedReader(new InputStreamReader(uploadedByteStream.getBinaryStream()));
                      fileSize = new Long(uploadedByteStream.getLength());
                      System.out.println("fileSize"+fileSize);
                      catch(NullPointerException ex)
                      throw new OAException("Please Select a File to Upload", OAException.ERROR);
                      try{ 
                      //Open the CSV file for reading 
                      String lineReader=""; 
                      long t =0;
                      String[] linetext; 
                      while (((lineReader = in.readLine()) !=null) )
                      //Split the deliminated data and
                      if (lineReader.trim().length()>0)
                      System.out.println("lineReader"+lineReader.length());
                      linetext = lineReader.split(","); 
                      t++;
                      //Print the current line being
                      if (!vo.isPreparedForExecution())
                              vo.setMaxFetchSize(0);
                              vo.executeQuery();
                        System.out.println("Trimmed "+  linetext[1].replace("\"", ""));
                      Row row = vo.createRow();
                      row.setAttribute("Deptno", linetext[0].trim());
                      row.setAttribute("Dname",linetext[1].trim().replace("\"", ""));
                      row.setAttribute("Loc",linetext[2].trim().replace("\"", ""));
                      //row.setAttribute("Column4", linetext[3].trim());
                      vo.last();
                      vo.next();
                      vo.insertRow(row);
                      catch (IOException e)
                            throw new OAException(e.getMessage(),OAException.ERROR);
              //else if (pageContext.getParameter("Upload") != null)
              am.getTransaction().commit();
              throw new OAException("Uploaded SuccessFully",OAException.CONFIRMATION);     
    }Thanks,
    Jit

  • How to configure OSTS to propagate user identity from OAM to OSB Service?

    I have a 11.1.1.7 OAM environment and I need to protect applications and web services deployed in different domains with OAM.
    I have already configured the applications security but I am having problems with the web services.
    The issue is that I do not know how to protect a WS and can not find a document that explains which configurations should be done.
    I think I should use OSTS but I don't know how to configure it and how to request tokens from a web service?
    Regards.
    Gonzalo.

    The truth is that your design should be done in the way that it doesn't matter which profiles in which order you will execute. At the end, if you will run all import, synch and export profiles on each data source you should get same result. This is beauty
    of synch engine here.
    Your steps from 1-4 will synch data to your data sources and at the end will give you expected result. But not because of the order you are executing them but because of correct attribute flows. If flows from CSV file and from FIM portal might be done for
    the same attributes you need to think also about attribute precedence.   
    Tomek Onyszko, memberOf Predica FIM Team (http://www.predica.pl), IdAM knowledge provider @ http://blog.predica.pl

  • How can i import contacts from a csv file to "iCloud Contacts"?

    How can I import contacts from a csv file to "iCloud Contacts"?

    The only way I know of to import cells from a csv file is by creating a new file.  But then you can select the desired cells and copy them to the other file.  I just did it to be sure it works.
    1. Create the new spreadsheet file via the upload command.
    2. Select the cells (table) that you want to move to the other file and press command+C (copy).
    3. Close the new file and open the existing file.
    4. Select the top/right cell of the area to receive the copied "table" and press commant+V (paste).
    I hope this is what you're trying to do!

  • How do I sync my email between my iPhone and iPad?

    How do I sync my email between my iPhone and iPad?

    A razmee209 said, set up your email in settings on both devices. 
    iPhone email will always be up to date.  
    The iPad will update when it has internet connection.   If it is a wifi only iPad, it will only update when connected to wifi, but will do so automatically.

  • How do I sync my email on my iPhone and iPad?

    How do I sync my emails on my iphone and iPad, I don't want to have to do them twice!

    Donna ...
    You can setup an iCloud account. You get 5GB of storage space for free. Then your mail will automatically sync via Wi-Fi between your iPhone and iPad.
    Instructions here >  Apple - iCloud - Learn how to set up iCloud on all your devices

  • I subscribed to iTunes Match. How do I sync other devices like my iPod and home computer

    I subscribed to iTunes Match  how do I sync other devices like my iPod and home computer?

    http://www.apple.com/itunes/itunes-match/

  • I have a new Laptop, how can I sync my IPOD music ,photo libary and Apps to the new computor without losing anything? My old laptop is kaput.

    I have a new Laptop, how can I sync my IPOD music ,photo libary and Apps to the new computor without losing anything? My old laptop is kaput.

    You can transfer iTunes purchases by:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    Most other stuff by the third-party programs discussed here:
    Best iPod to PC
    However, your app data such as saved games will be lost unless you have a backup file from your old computer.

  • How do i sync all my iphone 5g photos and contacts to my new windows computer.  I have followed instructions but the following instructions don't seem to exist!!!In iTunes, in the source list, under Devices, click the entry for your iPhone or iPod touch.

    How do i sync all my iphone 5g photos and contact to my new windows computer. I am following the itunes instructions but they don't seem to apply.  In the source list click devices (so far so good) then click the entry for your iphone or ipod.  that doesn't exist. HELP asap

    hayley7070 wrote:
    How do i sync all my iphone 5g photos and contact to my new windows computer. I am following the itunes instructions but they don't seem to apply
    What instructions?
    In the source list click devices (so far so good) then click the entry for your iphone or ipod.  that doesn't exist. HELP asap
    You don't import photos from the iPhone to your computer using iTunes.
    See this -> iOS: Importing personal photos and videos from iOS devices to your computer
    Note this only applies to photos taken with the iPhone. Any photos you previously added to your iPhone using iTunes should be copied from old computer to new computer.

  • How to import data from excel or csv files to Oracle table

    hello everybody,
    I am new here and new in Oracle. I would like to know the steps how to import data from excel or csv files to Oracle table.
    Let say I already have table inside the Oracle. Then my user give me the sets of data inside the Excel Worksheet.
    So, how can I import the excel data into Oracle table.
    Thank you in advance.
    cheers,
    shima

    Even easier. Download JDeveloper 11G from this site.
    Set up the database connection, right click on the table, select Import->Excel and specify your file to load it. On the import pop-up, you must view and update each tab indicating Columns, Data Types, and DML.
    Columns -- move the selected columns that you want to load to the box on the right
    Data Types -- select column name from second column to which the data for each column of the import file should load
    DML -- click this tab to generate the INSERT SQL
    Once done click 'Insert'

  • How to configure a scenario which posts same file to different directories

    How to configure a scenario which posts same file to different directories of a receiving system?
    Consider an Idoc to file scenario where I have to post same file to two different directories but logical receiver system has to be same.

    Hi,
    You can try out like this: Using multiple receiver interfaces you can send it to multiple directories with the help of enhanced interface determination/conditions and with the help of multiple receiver communication channels.
    Another option is to copy the file from one target directory into another directory  with the help of Unix script by executing the same from the OS command level.
    One more option is to create a Java Server Proxy and inside the proxy, you can write java code to FTP into different locations.
    Hope this helps,
    Regards,
    Moorthy

  • How to read image present in a csv file ---- required urgently

    Hi,
    I have a task. where i will be given a csv file which consists of text and images. Reading text is ok but how can i read images present in the csv.
    Does anybody have any suggestions.
    Regards,
    Nag.

    what format are the images in?
    do you know the size of the image?
    How will you know if a character that shows up as ',' is really part of the image or not?
    If you know the size, it can be done, just treat the whole file as a 'binary' file and go at it from that perspective.
    if you have control over the format, it would be better to only store the name of the image in the csv file and just have the full path name in the portion that is in the csv file. then the actual file can hold the binary format specific data.
    if you don't, then you need to know the size of the image before you start loading the image into a memory buffer. you will also need some sort of 'delimiter' or keyword that says an image is coming next
    ie:
    %%image_block_follows%%,5016,asdfasd399c9e939d9c9
    where 5016 would be the number of bytes following the next comma. imbedded commas would not be treated as separators until you get to byte relative + 5017, and the bytes described above would probably look a bit more unreadable.

  • How to configure to use Strut 1.2 in weblogic portal 10.3.2

    I am new in weblogic portal, now i need to develop Strut portlet version 1.2. But I don't know how to configure it in weblogic 10.3.2 and i can't find document for how to configure Strut 1.2 to work on weblogic portal 10.3.2. I added relation libraries and configure like in weblogic document of oracle. But it's can not run and throw some exceptions like : can not render jsp file. Someone can tell me how to configure Strut 1.2 to develop Strut portlet ? Thanks in advance!

    This would be a good place to start:
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14243/integrate.htm#BABBEHCH
    Brad

  • How do I sync my contacts from my phone and Mac?

    How do I sync my contacts from my iPhone and my Mac?

    Mike G. wrote:
    As far as I can tell this has been disabled in Mavericks (and possibly slightly earlier). Apple now wants you to get an iCloud account and upload all of your contacts to their server.
    The way this works is: 1. create an icloud accout 2. set up your mac to sync its contacts with that icloud account 3. set up your iphone to sync its contacts with that same icloud account. (Be careful when synching the first time that you don't overwrite the device's contacts with the initially blank set of clontacts in icloud). The result is that you have synched the contacts between your iphone and your mac (and Apple gets a copy as well).
    -Mike
    Now I understand. In step #2 above "set up your mac to sync its contacts with that icloud account" means "select all the 'on my mac' contacts and drag them onto the iCloud account so that they become iCloud contacts". There is no "setting" to sync "on my mac" contacts to iCloud.
    As I tried to note on another thread about this where I was, unfortunately, openly mocked for having difficulty with it, this doesn't always go as smoothly as one would like and it can, at times, appear that you can't drag a contact from "on my mac" to iCloud.
    I have several hundred google contacts and several hundred "on my mac" contacts, as well as the iCloud acount. (A consequence of being a very long time Apple user and a very reluctant iCloud adopter. Until a serious phone failure yesterday I'd always just had the contacts sync via iTunes and then grandfathered from phone to phone once that feature was removed by building the new phone from the old phone's back up.)
    The Contacts app is in constant network communication with the google servers and the iCloud servers. When you're working with this many contacts at one time, network lag in those communications (is my best guess) can cause the application itself to cease to function in a quick and obvious way, often creating the appearance that you can't drag a particular contact (or group of contacts) from one place to another. You try to drag and nothing happens. You don't get an error or a warning, you don't get the situation where you can drag it but you can't get it to select a group (because the contact is already in there) you get nothing at all.
    If this happens often enough it can lead one to believe that contacts must be moved individually and manually, but that is not the case. You just have to let your network connection catch up, and try again.
    Also note that if you drag a group of contacts and some of them are already in iCloud you'll get a warning about potential duplicates. You'll get a set of choices about which one to keep, or both, or update. You can't actually see the contents of the two duplicates while you make this choice. If you get this warning, I would highly recommend choosing "cancel", confirming that your local copy is correct, complete and up to date, and then do the select and drag again and then pick the "update" option -- either nothing will happen because iCloud was also correct, complete and up to date, or you'll update iCloud, but nothing bad can happen that way.
    I'm so glad they took away the direct syncing with the Contacts app via iTunes. This new method is so much easier to use

  • How do I sync email across the IPhone, IPad and Macbook Pro

    How do I sync email across the IPhone, Ipad and Macbook Pro?

    You can use IMAP for your mail accounts.
    <Link Edited by Host>

Maybe you are looking for

  • Importing CD / adding folder goes to wrong folder

    iTunes 9.0.1.8 Under preferences my iTunes media folder is set to "C:\iTunes" and up until recently all imported CD's and files went into that folder under the relevant artist name. Now, however, when importing they go to a new folder called "C:\iTun

  • Device not working after updating from 8 to 8.1: SMK Ehome Infrared Transceiver and remote control (usb)

    Hi all, An excellent 2015 to you all.  I wonder whether it's possible to get my (USB) SMK Ehome Infrared transceiver (which serves to connect my PC to a remote control)  to work again. It functioned okay under Windows 8, but when I upgraded my system

  • Print Un-invoiced Receipts Report

    Hello, How can I print an Un-invoiced Receipts Report which shows Purchase Orders for which goods are received , but not yet invoiced ? We require this report with sub-totals and tied to Un-invoiced Receipts G/L Account. Thanxs Ganesh

  • SMTP message cannot be sent

    Hi All, I'm trying to send a custom ebMS document from Acme to Global Chips over Email. It is throwing me the below error message. From the below error I found out that the port number was wrong. I think it is taking the port number by default, but t

  • One Java Mapping - two Different IDOCs

    Hi, is it possible to create 2 different IDOCs(IDOCTYP or MESSTYP different) with one Java mapping? thx