RSG
  • Member for 4 years, 10 months
  • Last seen more than 2 years ago
How to see JSON response for REST service?
4 votes

It will be based on the return type you are sending. For example your code is sending ResponseWrapper for HTTP-Post call with URL '/services/apexrest/BP_Routes' Let's assume you have defined ...

View answer
Public Permissions vs Profile Permissions for Account
3 votes

You have to relax permission at profile level. If the user does not have permission he will not be able to edit the record Sharing model allows access of records to non-owners, and non-owners must ...

View answer
Retrieving StandardValueSet with the Tooling API
Accepted answer
1 votes

You can run this query SELECT id,durableid,metadata,fullname,masterlabel FROM StandardValueSet where masterlabel='TaskType' where MetaData object will be having the picklist values in an array ...

View answer
Form inputs are not passed within repeatable forms
Accepted answer
1 votes

You are using <apex:form> <apex:inputText value="{!myinput}"/> in <apex:repeat> tag. At the time of submit, controller does not know which instance of 'myinput' and from which Form ...

View answer
Apex Class not Inserting records in to Accounts and Contacts
Accepted answer
1 votes

Problem is in below code. Sometimes the account getting queried may have customer_id__c value as null or blank. Integer.valueOf(null) or Integer.valueOf('') will going to through type exception at ...

View answer
Process Builder error : The element has an invalid reference
1 votes

In formulas you can not traverse to child records (Account.Address_vod__c.Zip_vod__c), you can traverse only to parent records. And by looking at process builder screenshot, I can see Address_vod__c ...

View answer
Can I insert a graph into a Visualforce page?
Accepted answer
1 votes

Yes, using <apex:chart> tag <apex:page controller="PieChartController" title="Pie Chart"> <apex:chart height="350" width="450" data="{!pieData}"> <apex:pieSeries ...

View answer
Where does the "from name" list come from?
1 votes

Those Email address are coming from, which are under Org-wide Adresses('Email Administration'-->'Organization-Wide Email Addresses') and verified Email-to-case addresses

View answer
My Save Button is not working
1 votes

You can use Wizard - Creating a Wizard We need to create 10 VF page with one single controller. Define each field as input field in VF pages under apex:form tag. We need buttons prev, next, cancel on ...

View answer
How can i write a test method for this?
0 votes

The class code I'm not sure what you want to do, since your are not using the conId param(I believe this is the Id for contact). If this param is something else you can prepare that value in setup ...

View answer
bind sobject picklist values to html5 select tag
Accepted answer
0 votes

remove HTML5 tag and you can use this: <apex:inputField value="{!preferences__c.country__c}"/>

View answer
How to activate/enable a look-up field when check-box field is checked?
0 votes

I'm sharing one example for you, since you have not shared any code base: VF Page <apex:page standardController="contact" extensions="zz_CBExtension"> <apex:form > <apex:...

View answer
There was no file attached to the 'Refund Me' case during the chat
Accepted answer
0 votes

Attach a file using as shown below For more information you can use below link: Live agent File Transfer

View answer
RestResource urlMapping routing is conflicting with a similar URL
0 votes

Try to compile Apex Classes and see if this fix the issue Otherwise contact Salesforce support

View answer
Is there any way convert list of strings in to Custom setting
0 votes

I'm not able to understand what you want to ask. My guess is you want to execute below code for custom setting as well- String objName = 'Account'; String query = 'Select Id From '+objName+ ' Limit ...

View answer
Issues on sandbox refreshing
Accepted answer
0 votes

This comes under activities which we can name as de-prod. You have to create a Batchable class which will query you object data with email field values and you need to mask that data with some random ...

View answer
What is difference between status and body column of ApexClass?
0 votes

You can not put like operator against body field. However if you want to see what test classes are there you can check under 'Apex Test Execution' --> 'Select Tests' e.g. http://media.screensteps.me/...

View answer
Null Pointer Exception at iteration line in for loop
0 votes

Instead of this - try { setOfSettings = mapOfGroupAndSetting.get(prodgrp); for(Outstanding_Product_Group_Index_Mapping__c opgi : setOfSettings) { if(os.Days_Due__c <= ...

View answer
not able to bind results to column
0 votes

You need to put reRender attribute for 'search' commandButton and the value of reRender attribute will be the id of pageBlockTable where you want to display the results. <apex:page controller="...

View answer
ERROR deploying ApexPage Syntax error. Found 'IF'
-1 votes

Please provide the error. But I think you need to replace orders[item.itemId] to orders[item.Id] as below - <apex:inputText value="{!IF(CONTAINS(stringOfKeys, item.Id), orders[item.Id], '')}" id="...

View answer
AND Condition Not Working
-1 votes

You need to replace it as - AND( ISPICKVAL(x__r.Service_Type__c,"active"), OR( ISBLANK(Type__c), ISBLANK(Min_Age__c), ISBLANK(Max_Age__c ) ) ) This will going to ...

View answer