Hi,
I have read a couple of forum threads on the topic but I still don't know how to solve this in elegant way.
I remember one post referring to calculation & checking for uniqueness during IAF (Extension DLL) and I liked the idea.
It was suggested to check for uniqueness in MV. But wasn't actually describing the way to accomplish that, I was able to do this using a SQL query, but I'm not sure if this is correct. It seems to work correctly, but I'm not sure of consequences it may have.
So the import flow from SQL table to MV would look: if the attribute value (to be generated) in MV is empty, and then generate the value using a pretty simple algorithm (concatenating 2 existing attributes) and checking in MV for uniqueness (SQL Query).
I was also considering using a portal workflow to generate the attribute values but it seems to me even more problematic as a lot of workflows run at the same time so it may not guarantee the uniqueness at all.
I would be thankful for any suggestions and comments.
Bart