function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
asagarwal.comasagarwal.com 

How to create a case in Salesforce from a public mobile app

Dear all,

Want to pick your brain on how the authentication should be setup to create a case in Salesforce from a public mobile app?

One method is to use the method of web-to-case which does not need any authentication for Salesforce, however this does not support uploading attachments. In my case I need to log a case with attachments from a public mobile app.

Second method is to use a dedicated user with very limited privileges to connect from mobile apps and create a case in Salesforce. However any change in that user's username or password or security token will need to be updated on the mobile app and publish again through Google Play or App Store (assuming the app is on Android/iOS platform). This will take a couple of days (at least) which will be unacceptable.

Anyone got any better idea? Please do note that this is going to be a public mobile app so any community portal license won't work.

Thanks & Regards,
Ashish
Ashish_SFDCAshish_SFDC
Hi ,


See th thread below, 

Adding an attachment to salesforce from a remote site

http://salesforce.stackexchange.com/questions/22296/adding-an-attachment-to-salesforce-from-a-remote-site

Vote for this Idea: Allow Web-to-Case to support Case Attachments

https://success.salesforce.com/ideaview?id=08730000000BrhfAAC

Also see the related discussion,

https://developer.salesforce.com/forums?id=906F00000008kj2IAA

Also, 

See the step 3 Explore the Mobile App which says : 

Tell Me More....
• In the related information page you saw activities listed, and you might be wondering if you can add other related things.
Yes! You can add notes, attachments, and mobile cards to this page, which you’ll get to later.


Regards,
Ashish