By transmitting secondary Contact folders as e.g. Appointment folders and have the plugin changing the folder class back to
- IPF.Contact and
- set 0x6A1A PT_LONG to 14 (user contact)
This makes OL synchronize secondary contact folder as expected.
The icon and "folder classification" is not updated until OL is restarted.
The folder stays under Calendar and does not appear under Contacts until OL is restarted.
Marking the folder as hidden and then showing it again does not solve that.
There is some code here:
Several things need to be observed:
- AS type 14 (user contact) is blocked within OL (it doesn't come through to the mapi layer)
- when the folder is synchronized as "something else", no data might ever be synchronized, as this will cause OL to crash or stall
- re-synchronizations, profile recreations etc need to be taken into account