You need to sign in to do that
Don't have an account?
KSusan Cox
File extention restrict in file tab
Hi,
Is there any option to fetch file extention in ContentVersion SObject. I am trying to fetch the extention to block file.
So any one know the solution. Please let me know ASAP.
Thanks.
Is there any option to fetch file extention in ContentVersion SObject. I am trying to fetch the extention to block file.
So any one know the solution. Please let me know ASAP.
Thanks.
If this helps,please mark it as best answer to help others :)
All Answers
If this helps,please mark it as best answer to help others :)
Thanks for the suggestion. I tried it but it fatches only "TEXT" wether I upload txt file or doc file or any else.
So, Please give me another solution.
Thanks.
FileType Id
1 TEXT 06890000001Ac2JAAS : This is for text file
2 PDF 06890000000hgLMAAY : This is for pdf file
3 WORD_X 06890000000gKcXAAU : This is for docs file.
I also tried this but I got id "068E0000000YGkIIAW" for any file (e.g. Doc, xlsx, jpg, pdf).
So, Please give me another solution.
Thanks.
If it's working for me,I don;t see any reason it should not work for you.