We have requirement where we have multiple content type attached to document library. However when user upload document default content should change dynamically based on certain condition. So for e.g. when user upload document “A” then default content type should be “X”, when user upload document “B” default content type should be “Y”. This way user does not have to remember default content type.
We tried writing event receiver by changing order of content type. It does changes the order. However for that document default content type does not change.
I would appreciate if someone can provide solution to above problem.