• Manish Kumar 61
  • NEWBIE
  • 150 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 20
    Questions
  • 7
    Replies
I am looking for some examples for Android app of how can I write a query to retrieve data from a custom object soup that I created. Is it diferent than standard object soup structure

Can anyone give some sample code/ examples?
I created a lightning component but it does not show as a tab. I want it available in Salesforce1 like a VF tab. What do I need to set to do this? 

Once this is done, I want to invoke a 3rd party app on device from it - is that possible?
I am using the latest Cordova plugin for Salesforce Mobile and when I try to use Smartsync, my app crashes with

setObjectForKey: object cannot be nil (key: Customfield__c)' exception.

How can I fix this?

 
Is it possible to access record types using Metadata API or otherwise in Salesforce1? Any code examples available?
I am looking at the AccountEditor sample and although I have added a new splash screen image in my project, It is not refelecting on iPad. It works fine on iPhone though.

What could be reason?
Lightning is currently in beta. Can anyone tell me when it will be out of beta and generally available?
I have read that for hybrid apps, Cordova allows us to access phone contacts. Is it possible to do so in Salesforce1 app. Any links/ tutorials for it will be helpful.
Can anyone tell me if it's possible to programmatically switch to another user while logging out of a native iOS app built using Mobile SDK?

I'm currently doing a logout by doing
 
[SFUserAccountManager sharedInstance].currentUser = ([SFUserAccountManager sharedInstance].allUserAccounts)[0];



and then re-directing back to login screen. I read somewhere that it's possible to do it directly as Mobile SDK supports multiple parallel logins but not sure how to do it.
Hello,

Is it possible to open attachments in Salesforce1 without enabling Chatter. I tried it but if I disable Chatter, the attachments stop working.

Please advise
I have a requirement to launch the map application from Salesforce1. Is it possible to do so either in browser or directly?
I wrote a trigger which is causing a side effect that email2case is not working. How do I debug this?

My code is
 
for (Case caseObj :Trigger.new) {
        if(caseObj.Origin == 'Email') {
            EmailMessage toEmail = [SELECT ToAddress FROM EmailMessage WHERE Incoming = true LIMIT 1];
            String te = String.valueOf(toEmail);
            System.debug('Email To Address is ' + toEmail);
            caseObj.Customer_Support_Email__c = te;
        }

    }

 
My code is
 
For(Opportunity opp : trigger.new)
     { 
       If(!SetEmaiIDs.contains(opp.Email__c)) // checking if added email is already not present on some other account
       {
         opp.Account.Account_Email__c  = opp.Email__c; // This line is throwing error

       }

For email field, I am getting Attempt to de-reference a null object: error on same line

How do I solve this?

 
I want to know how can I have community users self register with Mobile SDK

I don't see any documentation for that.
How can I enable API in Group Edition?
Hi,

Is it possible to remove 'New' button from Recent cases page layout? 
Hello,

I am building a iOS app using Mobile SDK 3.1. I want to initialise the login page to a custom URL that I have created rather than pointing to login.salesforce.com

I am able to do it by switching the URL by app Setting as a user but can I set it as a default programatically so users will not need to change for it?
I created one lightning component but my lightning component is not showing in LIghtning Component tab. I want to add it to Salesforce1 but it's not visible. What am I missing?
Can I create Different layout for desktop and mobile for Salesforce1? If so how?
I am going through Fuel API but I dont find information on how to start interaction.

Is it possible using API?
I crated a new iOS project using this command

forceios create

However, I don't see .m files - I only get .h files in my project. Is this a bug in Mobile SDK?
Hello,

Is it possible to open attachments in Salesforce1 without enabling Chatter. I tried it but if I disable Chatter, the attachments stop working.

Please advise
I have a requirement to launch the map application from Salesforce1. Is it possible to do so either in browser or directly?
I wrote a trigger which is causing a side effect that email2case is not working. How do I debug this?

My code is
 
for (Case caseObj :Trigger.new) {
        if(caseObj.Origin == 'Email') {
            EmailMessage toEmail = [SELECT ToAddress FROM EmailMessage WHERE Incoming = true LIMIT 1];
            String te = String.valueOf(toEmail);
            System.debug('Email To Address is ' + toEmail);
            caseObj.Customer_Support_Email__c = te;
        }

    }

 
I want to know how can I have community users self register with Mobile SDK

I don't see any documentation for that.
Hello,

I am building a iOS app using Mobile SDK 3.1. I want to initialise the login page to a custom URL that I have created rather than pointing to login.salesforce.com

I am able to do it by switching the URL by app Setting as a user but can I set it as a default programatically so users will not need to change for it?
I created one lightning component but my lightning component is not showing in LIghtning Component tab. I want to add it to Salesforce1 but it's not visible. What am I missing?
I am going through Fuel API but I dont find information on how to start interaction.

Is it possible using API?