Logo 
Search:

Sharepoint 2013 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2013       RSS Feeds

Dynamically change default content type while uploading document.

  Asked By: Safder    Date: Mar 28    Category: Sharepoint 2013    Views: 2386

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.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 




Tagged: