All,
I need to get the current document (current item) content type name from the document library. I tried CSOM which is Async call and hence it is creating some issues while setting the values.
Basically there are 3 content types in the document libraries and depending upon the content type I need to get the values or uploaded document URL property.
Example: Normal document content type, the URL property is "FileRef" column and for the hyperlink content type it is "URL". So depending upon the current item content type, I need to get the uploaded document link.
Any help using REST API call or other easier way would be great! Thanks!
Cheers,
Maruthu
P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)