SFDCLearner
  • Member for 4 years, 10 months
  • Last seen this week
  • Bangalore, Karnataka, India
1 answers
-2 votes
4k views
Pass value from class to another class
Accepted answer
0 votes

try this code in picklistController , String doelgroep = PassDoelgroep.Doelgroep('test'); //Pass your string. I think you are missing parameter for Doelgroep. that why you are getting "...

View answer
2 answers
0 votes
7k views
SOQL to find out all users that comes under the Profile = XYZ?
0 votes

You can easily get profile information from user object. Each user has its own profile.that should be mandatory field as well. Execute below query in Query Editor select id,name,profile.name from ...

View answer
1 answers
0 votes
628 views
How to cover map<id,Id> in test class
Accepted answer
0 votes

In terms of testing maps, you shouldn't have to do anything special, you just need to make sure that your data is set up to populate the maps appropriately. If value is not null for "ObjList". Then ...

View answer
1 answers
0 votes
32 views
how to pass the query data from SOQL to child object
Accepted answer
0 votes

List&lt;Account&gt; objAcc = [select Id,name,(Select id,FirstName,LastName, from contacts), from Account where Name='Test Account']; See your contact is inside the account.So you have to access ...

View answer
2 answers
-3 votes
768 views
test class for a page reference method
0 votes

Try this code, @isTest public class Test_cf{ static testmethod void test_upload(){ Opportunity op= new Opportunity(); op.Name= 'abc'; op.StageName='Open'; op.Trattativa__c = '...

View answer
2 answers
0 votes
1k views
How to find which button in clicked in lightning?
0 votes

Please Check the below code, It will help you to find which button you clicked.Can you please add your code snippets. &lt;aura:component&gt; &lt;aura:attribute name="whichButton" type="String" /&gt; ...

View answer
2 answers
0 votes
28 views
Apex - Update Account of Contact
0 votes

try this code, List&lt;Account&gt; aclist=[select id,name from account where Name = 'Universal Mobile Solutions']; list&lt;contact&gt; clist=[select id,name,accountid from contact where ...

View answer
1 answers
0 votes
96 views
How to retrieve and deploy metadata created by inactive users?
0 votes

you aren't specifying path name properly it seems. Specify pathname properly and give a try. If you are still facing same issue means better to use "Changeset" (Orgs are related)

View answer
1 answers
0 votes
69 views
how can i open inline visualforce editor in ap5.salesforce.com
0 votes

step1: In your settings please check development mode. setup-&gt;myseetings-&gt;personal-&gt;advanceuserdetails-&gt;developementmode(it shouldbe true) step2: Go to your url, you have to do ...

View answer
1 answers
2 votes
838 views
Retrieve Address field for lightning component
0 votes

Use below query: List contacts = [SELECT Id, Name,MailingStreet, MailingCity FROM Contact]; If you need complete address means please do concatenation and don't forgot to raise the case on ...

View answer
1 answers
-2 votes
424 views
How to backup data from eclipse
0 votes

You can take backup using Eclipse or Sublime Text 3 (with MavensMate). Please go through below you tube videos you can understand easily. 1 - https://www.youtube.com/watch?v=8vencxEEgCY 2 - https://...

View answer
1 answers
1 votes
2k views
Self Singed Certificate for Mutual TLS
Accepted answer
0 votes

Mutual Authentication Allows client and server to identify and authenticate each other by using certificates. check below links: Ref: http://www.aboveandbeyondcloud.com/mutual-authentification-...

View answer
2 answers
1 votes
3k views
How to disable button on page load in lightning component
0 votes

Step 1: check which button you have to display in that attribute default value make it as true step2: Use tag like this : &lt;aura:if isTrue="{!v.hasNext}"&gt; //Display which button ...

View answer
3 answers
2 votes
5k views
Dynamically add and remove rows in lightning
0 votes

In your case you didn't add deletemapping java script code.Here you no need to call any server methods.why beacuse javascript splice functionality take care that one.One thing you have to do design ...

View answer
4 answers
0 votes
723 views
How to write apex class or trigger for changing the opportunity name to lead name after lead is converted
-1 votes

Trigger code: trigger setLeadNameToOpportunity on Lead(after update) { if(trigger.isUpdate&amp;&amp;trigger.isAfter){ //context variable callYouApexClass.StaticMethod(Trigger.new); //for your ...

View answer
1 answers
0 votes
39 views
View Contact counts against each Account using Map
Accepted answer
-1 votes

Please check below code public map&lt;Id,Integer&gt; accountmap= new map&lt;id,Integer&gt;();. In this line of code you will get account and related contacts . Better to filter it through using ...

View answer
2 answers
-1 votes
479 views
Custom settings and Governor limits
Accepted answer
-1 votes

Yes,You can write soql query on custom objects.If it comes to custom settings,you can save queries I mean You can access custom setting without using queries using "custom setting methods". https://...

View answer
1 answers
-1 votes
646 views
How can i use remote function in vf page on click a button?
Accepted answer
-1 votes

Use JavaScript remoting in Visualforce to call methods in Apex controllers from JavaScript. Create pages with complex, dynamic behavior that isn’t possible with the standard Visualforce AJAX ...

View answer
2 answers
0 votes
704 views
Method does not exist or incorrect signature: void HTTPContactsController() from the type anon
-1 votes

Please Register your "url" address in RemoteSite settings Please check below code it worked for me!! public class HTTPContactsController{ public static HttpResponse makeGetCallout() { Http ...

View answer
2 answers
0 votes
21 views
I am trying to display a select list from a custom controller, and i get a "Read only property 'getObjectOptions.ObjectItems''" error
-2 votes

Please check this code:For exaplaining example taken account object has example and Type (Dropdown) &lt;apex:page controller="getObjectOptions"&gt; &lt;apex:form &gt; &lt;apex:pageBlock &gt; ...

View answer
1 2 3
4