none
Get the attribute values of a CS object from within the PutExportEntries method of a ECMA2 Assembly

    Question

  • I am interested to know if there is a way to get the attribute values of a CS object from within the PutExportEntries method in an ECMA2 dll.  The reason I am trying to do this is to deal with the following scenario.

    I have an export only MA (ECMA2) for an external data source that is accessible via a web service.  The data that gets exported to this data source (via FIM) comes from a user SQL DB.  However, this data source also has a web interface that allows for the adding and removal of data directly.  As the MA is export only FIM is totally unaware of when a record gets removed via this web interface.  As such, a record could get updated in the SQL DB for which no matching record exists in the external data source.  If FIM tried to export this change an error would result.

    Within the PutExportEntries method I can check to see if the record is still present in the external data source and instead of issuing an update I could add the record anew.  However, the parameter passed to PutExportEntires is a collection of CSEntiresChange objects and these objects only contain the values for attributes that have changed.  If I am going to add a record anew to the external data source I will need to know the values for all the attributes of that record.  These values reside in the CS and the MV.  Hence my question,  is it possible to read these values directly from the CS (or the MV) so that I can use them to recreate a record that was removed from an external data source?

    Thanks


    Wednesday, August 28, 2013 1:30 AM

All replies