Is there any good practice for uploading an image through AngularJs in salesforce without using the third party plugins.

  • Can you add your code how you are converting ? Prev I did with javascript.. – Ratan Paul Mar 2 '16 at 10:51
  • Sorry @Ratan. I didn't have proper formatted code. I have used 3rd party plugin – Rv1 Mar 2 '16 at 10:52
  • Rv1 I have a simple example with <input type="file"> we will grab the blob data of image and assign to Controller variable and convert that data to blob and create document in salesforce.. This example will work for you ? – Ratan Paul Mar 2 '16 at 10:58
  • Thanks Ratan. I have an idea of that. Here, i don't want to use apex class or javascript. Need to know the process of saving it through AngularJs. – Rv1 Mar 2 '16 at 11:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.