• mukesh gupta
  • NEWBIE
  • 80 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 25
    Questions
  • 12
    Replies
Hi Expert,

I am following trailhead "Use SOAP API", but i am stuck , Can you please tell me about, what is in red rectangle area.

User-added image

Thanks
Mukesh
 
Hi Expert,

I am using a test class for coverage 75% code, but few things are not covered. Can any one suggest what is going wrong.

this my test Class: --
@isTest
public class TestProfessorSelectCourse {
    @isTest static void ProfessorCourse(){
       
        
        Professor__c prof = new Professor__c(Name ='JP',Email__c='jp@gmail.com');
        insert prof;
        
        Class__c cls = new Class__c(name='12G', Class_Teacher__c = prof.id);
        insert cls;
        
        Course__c cors = new Course__c(Professor__c=prof.id,Class__c =cls.id, name='Ruby', Start_Date__c= Date.today() , End_date__c= Date.newInstance(2017,03,20));
       	//Professor__c prof = new Professor__c(Name ='JP');
        //cors.Professor__c = prof.Name;
        insert cors;
    }
}

and below is my main class


User-added image

Thanks 
Mukesh

Hi Expert,

I need to get all students name with his class. here class is a parent and student is child. means class 12 have student "A", "B" ,"C" etc.
 
User-added image


Thanks
Mueksh

Hi Expert,

I have  a object name  is "Class" but on this object a standard filed  "Name" , now i want to hide this field form class page layout sothat any one can't see this field.

Please suggest 

Thanks
Mukesh
Hi Expert,

I want to create a relationship for below statment.

"A Student can register to multiple courses and A Class can have multiple Courses and each Course can have multiple Students."
"A Professor can take multiple courses"

1. Create Student Object  Master Detail(Course)
2. Cretae Class Object Lookup (Course)
3. Create Course Object Master Detail(Student)
4. Create Professor object Lookup (Course)

Can yoo please suggest. Is it right or not?

Thanks
Mukesh

 
Hi Expert,

I have a developer account. Can i add new  app on appExchange by this account. or need any extra.

Thanks 
Mukesh 
Hi Expert,

I have developed salesforce app for IOS. i had upload this app before 1 week. today i got mesage from App store review team,  they need to my salesforce developer Account. but when App store review team log in with my accont then i will get phone varification code. so what it's difficult to share with him.

Can you  please suggest, how can i share my salesforce developer account with Apple Team. so that they will check my app.

Many Thanks
Mukesh 

 
Hi Expert,

I have few rquirements:-
 1. GitHub authentication by apex, salesforce on simle button click "Log in GitHub" form visualforce page.
 2. create a Inputtext field on visualforce page to Add new repository on GitHub 

Please suggest.

Thanks
Mukesh
Hi Expert,

I am creating Custom signup form   from this  url "https://github.com/salesforceidentity/basic-custom-login"  but i am not getting what is "fieldpath" and "dbrequired". if these are registration form field then what field type i need to create.


 
<apex:repeat value="{!$ObjectType.User.FieldSets.Registration}" var="f">  
           <div class="form-group">
               <div class="col-md-4"></div>
               <div class="col-md-4">
                   <apex:inputField value="{!User[f]}" styleClass="form-control reg_{!f.fieldpath}"  onfocus="$('#req_{!f.fieldpath}').fadeIn();"/> 
                </div>
                <div class="col-md-4"><apex:outputText rendered="{!f.dbrequired}"><span id="req_{!f.fieldpath}" style="display:none;color:red;">required</span></apex:outputText></div>
            </div>
            </apex:repeat>

Thanks
Mukesh
Hi Expert,

How i can get more salesforce projects. can any one suggest for this.

Thanks
Mukesh  
Hi Expert,

Can you please suggest , how much questions will ask in Release examination of Admin and Developer-I . because my certification is near to expire.

So Please suggest.

Thanks
Mukesh
Hi Expert,

I have create Hybrid App with salesforce. Now i am confused to how to upload this app on AppExchange. Please can you please give an idea for this. i have a developer account.

Thanks 
Mukesh 
 
Hi All,

I have created hybrid mobile App in salesforce  
how to upload salesforce hybrid mobile app on appexchange. Can you plesae share me process for uploading.

Thanks
Hi Expert,

I want to add Lead in Campaign, but i have a  DML error.
 
String searchItem = selectedValue;
 List<Lead> l = [SELECT id,leadsource FROM LEAD WHERE Name = :selectedValue];
 String cname = l[0].leadsource;

 List <CampaignMember> cm = new list<CampaignMember>();
 Campaign c = new Campaign(name = cname);
 insert c;

 CampaignMember cml = new CampaignMember();
 cml.campaignid = c.id;
 cml.leadid = l[0].id;
 cm.add(cml);
 insert cm;
Please suggest.

Thanks
Mukesh
 
Hi Expert,

I want to search Campaign for particular lead. can you plesae suggest with soql.

Thanks
Mukesh
Hi Expert,

I need to Create a visual force page having a VF component for which user can quickly type child(contact/opportunity) name. After press submit button attach them with parent record(Account). 

Please suggest, how can i use Vf component for above requirement.

Thanks
Mueksh
Hi Expert,

I want to get Account realted list that would be display in Visualforce page. so i am using below query. but when i run the code and store each object value in list then get error "List index  is outbound"

public List<Account> accList{get;set;}
    public List<Opportunity> oppList{get;set;}
    public List<Contact> contList{get;set;}


     List<Account> acc= [SELECT Name, (SELECT Name, Type FROM Opportunities),(SELECT Name, email FROM Contacts) FROM Account where Name = 'Dickenson plc'];
    
     accList = acc;
     contList = new List<Contact>(acc[0].Contacts);
     oppList = new List<Opportunity>(acc[0].Opportunities);


Please suggest

Thanks
Mukesh
 
Hi Expert,

I need to get the related solution for particular cases by SOQL. 

Can you please write the query to fatch the solution of a particular case.

Thanks
Mukesh
Hi Expert,

I am creating hybrid mobile App, I want to access the salesforce Chatter feeds in my Hybrid Application.

Can you please suggest. What should i do for this.

Thanks
Mukesh 
Hi Expert,

We are integarting salesforce with Ionic or sencha Touch mobile framework using the Hybrid Salesforec mobile SDK, but we have stuck in mid for create a single page application(SPA) it's not running. we get successfully logged in vai salesforce login page. after that blank screen appears not show the SPA screen or relevent data. when we use HTML and Javascript then it will successfully renderd and get relevent data.

so any one can help to get the integration with Ionic or sencha Touch mobile framework using the Hybrid Salesforec mobile SDK.

Please suggest.

Thanks 
Mukesh
Hi Expert,

I am using a test class for coverage 75% code, but few things are not covered. Can any one suggest what is going wrong.

this my test Class: --
@isTest
public class TestProfessorSelectCourse {
    @isTest static void ProfessorCourse(){
       
        
        Professor__c prof = new Professor__c(Name ='JP',Email__c='jp@gmail.com');
        insert prof;
        
        Class__c cls = new Class__c(name='12G', Class_Teacher__c = prof.id);
        insert cls;
        
        Course__c cors = new Course__c(Professor__c=prof.id,Class__c =cls.id, name='Ruby', Start_Date__c= Date.today() , End_date__c= Date.newInstance(2017,03,20));
       	//Professor__c prof = new Professor__c(Name ='JP');
        //cors.Professor__c = prof.Name;
        insert cors;
    }
}

and below is my main class


User-added image

Thanks 
Mukesh
Hi Expert,

I have  a object name  is "Class" but on this object a standard filed  "Name" , now i want to hide this field form class page layout sothat any one can't see this field.

Please suggest 

Thanks
Mukesh
Hi Expert,

I have a developer account. Can i add new  app on appExchange by this account. or need any extra.

Thanks 
Mukesh 
Hi Expert,

I have few rquirements:-
 1. GitHub authentication by apex, salesforce on simle button click "Log in GitHub" form visualforce page.
 2. create a Inputtext field on visualforce page to Add new repository on GitHub 

Please suggest.

Thanks
Mukesh
Hi Expert,

I have create Hybrid App with salesforce. Now i am confused to how to upload this app on AppExchange. Please can you please give an idea for this. i have a developer account.

Thanks 
Mukesh 
 
Hi All,

I have created hybrid mobile App in salesforce  
how to upload salesforce hybrid mobile app on appexchange. Can you plesae share me process for uploading.

Thanks
Hi Expert,

I want to add Lead in Campaign, but i have a  DML error.
 
String searchItem = selectedValue;
 List<Lead> l = [SELECT id,leadsource FROM LEAD WHERE Name = :selectedValue];
 String cname = l[0].leadsource;

 List <CampaignMember> cm = new list<CampaignMember>();
 Campaign c = new Campaign(name = cname);
 insert c;

 CampaignMember cml = new CampaignMember();
 cml.campaignid = c.id;
 cml.leadid = l[0].id;
 cm.add(cml);
 insert cm;
Please suggest.

Thanks
Mukesh
 
Hi Expert,

I want to get Account realted list that would be display in Visualforce page. so i am using below query. but when i run the code and store each object value in list then get error "List index  is outbound"

public List<Account> accList{get;set;}
    public List<Opportunity> oppList{get;set;}
    public List<Contact> contList{get;set;}


     List<Account> acc= [SELECT Name, (SELECT Name, Type FROM Opportunities),(SELECT Name, email FROM Contacts) FROM Account where Name = 'Dickenson plc'];
    
     accList = acc;
     contList = new List<Contact>(acc[0].Contacts);
     oppList = new List<Opportunity>(acc[0].Opportunities);


Please suggest

Thanks
Mukesh
 
I'm trying to go through "Trailhead Native Android" and I'm getting stuck in the first chapter on "forcedroid create". the error I'm getting after i enter the output directory and the error even appears when i leave it blank.
error i am getting from the command line is
"forcedroid create failed
Command failed: git clone --branch v5.0.0 --single-branch --depth 1 --recurse-submodules https://github.com/forcedotcom/SalesforceMobileSDK-Templates C:\Users\Owner\Documents\Android project\tmp84510\SalesforceMobileSDK-Templates 
'git' is not recognized as an internal or external command,
operable program or batch file."


 
Hi Experts,
I am creating Hybrid mobile app following "https://trailhead.salesforce.com/en/mobile_sdk_intro/mobile_sdk_hybrid/mobilesdk_hybrid_sample_app". but i am not getting salesforce login screen. that is below


User-added image

my app directly move to "Hybrid REST Ext" below  page, that buttons in not
not working.


User-added image

and my command prompt send error that is below:-
Command:-
"cordova plugin add https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin"

Error:-
Failed to install 'com.salesforce':Error: There was a conflict trying to modify attributes with <edit-config> in plugin com.salesforce. The conflicting plugin, undefined, already modified the same attributes. The conflict must be resolved before com.salesforce can be added. You may use --force to add the plugin and overwrite the conflicting attributes.
    at PlatformMunger.add_plugin_changes (/Users/Rishipailwal/contactsApp/platforms/android/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:169:19)
    at /Users/Rishipailwal/contactsApp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:126:25
    at _fulfilled (/Users/Rishipailwal/contactsApp/platforms/android/cordova/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/Users/Rishipailwal/contactsApp/platforms/android/cordova/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/Users/Rishipailwal/contactsApp/platforms/android/cordova/node_modules/q/q.js:796:13)
    at /Users/Rishipailwal/contactsApp/platforms/android/cordova/node_modules/q/q.js:857:14
    at runSingle (/Users/Rishipailwal/contactsApp/platforms/android/cordova/node_modules/q/q.js:137:13)
    at flush (/Users/Rishipailwal/contactsApp/platforms/android/cordova/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
Error: There was a conflict trying to modify attributes with <edit-config> in plugin com.salesforce. The conflicting plugin, undefined, already modified the same attributes. The conflict must be resolved before com.salesforce can be added. You may use --force to add the plugin and overwrite the conflicting attributes.

Please suggest. what i am doing wrong.

Thanks
Mukesh

 
 

Hello Team,

 

I am planning to take ADM 401 Certification, and preparing for that, But i need to clear one thing from you guyz, that what is the validity of that certification and how can we retain the validity once it got expired. i''ve searched in web, but i couldn't able to find it. can anybody please let me know this? Thanks in advance..

 

Warm Regards,

Sujan