All Questions
0
votes
0answers
4 views
Quota for forecasts loading and maintaining
To load quota data for forecasts I have to use Data loader/API .
The next question is: if I have some new quota from opportunity - will they be automatically added in ForecastingQuota object? Do I ...
0
votes
1answer
25 views
How to write a trigger which shows error while creating a contact record which does not allow duplicate values for phone field
I want a trigger which gives error while creating a record in contact which does not allow duplicate values for phone field
0
votes
1answer
22 views
User who has created a dynamic dashboard is NOT able to edit in PROD
I've a user who had created a dynamic dashboard. But not able to edit or make any changes to the dashboard any more. WHY?
Following permissions on profile are ACTIVE w.r.t Dashboard and Report.
...
0
votes
1answer
10 views
Admin tab in exact target
How to view admin tab in exact target 2.0.
I am new to ET so having difficulty in exploring it.
Screen shots or any kind of help highly appreciated.
-2
votes
2answers
34 views
how to call map in test class [on hold]
this is custom object DiscoverOrg_Custom_Mapping__c
Map<String, DiscoverOrg_Custom_Mapping__c> mapDiscField_Object{get{
Map<String, DiscoverOrg_Custom_Mapping__c> ...
0
votes
1answer
32 views
How to get the contact first name?
Below is my current query. I Program is a master to Application object. Application is also a details to the Contact object. How can I modify my query to get the first name of the contact?
[Select ...
-1
votes
0answers
6 views
How to Check users in Exact Target subscriber list in landing pages? [on hold]
I Have a requirement to check a user from particular data extension with all subscriber list in Child account and Parent account.How can we check the user with both subscriber list on landing pages in ...
-2
votes
2answers
29 views
Test Class is not covered?
this is test class for above image
Public static testMethod void ManualUnitTest11(){
RFLEET_Protocol_Grid__c din = new RFLEET_Protocol_Grid__c(Name='sand');
insert din;
...
1
vote
1answer
22 views
What is the corresponding tag for html datalist in Lightning .?
We can use dataList tag in html.While using datalist,it is suggested that the user select one of the options you've given, but he can actually enter anything he wants in the input.Is there any tag ...
-1
votes
0answers
18 views
Compile Error: only aggregate expressions use field aliasing
my task is"When user selects any stage and clicks on filter button, the below table should get refreshed to populate opportunities and having stage equal to stage selected"
am getting this error ...
0
votes
1answer
28 views
VF simple thank you page
After a user submits data on a vf page, I would like to send some simple HTML to the screen like `Thank you for updating your profile Feel free to visit our website http://somewhere.com.
How to do ...
-1
votes
0answers
26 views
Help In Batch Class
Based on the requirement i have written a batch class.The Scenarios is i need to send an email notification 90 days before the contract end date to the contract owner.Where the contract role should be ...
0
votes
0answers
13 views
HighCharts offline exporting issue in Lightning Components
I have integrated HighCharts for drawing some charts in Lightning Components. It is working fine and the default server side exporting also is perfectly working. Since this is a part of AppExchage ...
0
votes
1answer
12 views
Configure “Total Value Opportunities” on the campaign object
I would like to know how are configured the fields "Total Value Opportunities" and "Total Value Won Opportunities" on the campaign object.
They sum the custom field "Marge" on the Opportunity object.
...
1
vote
0answers
13 views
Concurrent API Request Limits per org or per user
Are the "Concurrent API Request Limits" per org or per user?
A production org allows, at the time of writing, 25 concurrent API requests.
How do those limits get counted? Organization wide or per ...
-2
votes
3answers
30 views
before insert trigger
trigger PopulateTrigger on Contact (after insert){
Account accs=new Account();
for(Contact c:Trigger.New){
id aid=c.accountid;
c=[select phone from contact where ...
0
votes
1answer
20 views
Error: Unknown property 'OpportunityStandardController.opps'
iam very new to salesforce coding..please help me to solve above error,am getting this error while writing list name as oops..
<apex:page ...
0
votes
1answer
30 views
How to fetch images on VF Page which were stored in a Document folder
I want to create a VF Page which displays data about doctors. Along with general attributes like name, fee, schedule, I want to fetch image of the doctor on the page which I uploaded in a Document ...
1
vote
2answers
22 views
Calling JQuery Method from dynamically created Label or HyperLink (Lightning Controller)
I have a requirement to create label dynamically in a Lightning controller
I tried the below code - But not working.
DivMethod : function(component, event,helper)
{
//Calling as per JS syntax
...
1
vote
1answer
22 views
Error #16 loading Highcharts with Lightning Components
I have a Salesforce Lightning customer community and I have several lightning components with different charts and maps using Highcharts and the map.js module.
I have the following code.
Map ...
0
votes
0answers
17 views
Add Button to Send Email form
how can I update "Send Email" form with new button? I would like to add new button like this picture
on clicking this button, I need to get values for: email-to, cc and
attachments - do we have ...
0
votes
0answers
27 views
Test class is not coverage?
this is test class for above image
Test Class
Public static testMethod void ManualUnitTest6(){
RFLEET_Protocol__c Rpro=new ...
2
votes
1answer
26 views
How to find the hour difference in a Query Activity
I was wondering what's wrong with my code. It seems to be computing days instead of hour. A little help will be appreciate. Thanks in advance.
SELECT email,createDate
FROM dataTable r
WHERE ...
0
votes
2answers
22 views
Visualforce pageBlockTable - update values in cells on load
I've been developing a page that displays dollar amounts in a table, and allows updates to those amounts. This table is read from and writes to a JSON string. Some of these dollar amounts have many ...
0
votes
0answers
27 views
How to get this update to work?
The following controller populates 3 selectlist fields on a vf page named semName1-3 from a program record (pid). When a student chooses 1-3 seminars that they want, the save method should send it to ...
0
votes
0answers
4 views
Salesforce Events with GroupEventType blank
The possible values for GroupEventType:
- 0 (Non–group event)—An event with no invitees.
- 1 (Group event)—An event with invitees.
- 2 (Proposed event)—An event created when a user requests a meeting ...
0
votes
0answers
11 views
send email notification to contract owner 30 days before the contract end date
I have a requirement where i need to send an email notification to the contract owner 30 days before the contract end date , when the contract role is 'SA/EB?TA' etc.Any suggestion with an example ...
0
votes
2answers
26 views
Regarding Triggers
How to update the records in after insert and before update trigger at same time with same field, actually I am struck with the code
trigger PopulateTrigger1 on Contact (before insert,before ...
1
vote
1answer
39 views
I want Serialize the JSOn in apex class format using map? [on hold]
{
"contactId": "003m000000PM2HrAAL",
"requestId": 1,
"templateAttributes": {
"Customer_Name": "siva john"
},
"templateId": "1_Month_Pay Stub",
...
0
votes
0answers
7 views
Getting error Unable to Access Page when clicking on Dashboard component
I am getting this error--
Unable to Access Page
The value of a parameter contains a character that is not allowed or the value
exceeds the maximum allowed length. Remove the character from the ...
0
votes
1answer
20 views
passing id from one page to another page
<apex:commandButton value="Search" action="{!testing}"/>
class
public PageReference testing() {
system.debug('testing');
PageReference pageref= new ...
0
votes
0answers
11 views
Rest API: Search salesforce folders and files form document and content document
I am able to search the salesforce files from document root and content document using Search for a String API. Using FIND {SearchQuery}, the salesforce allows finding from the document and content ...
0
votes
2answers
17 views
Programmatic way to set profile attributes
I have a requirment to remove "Modify All", "Edit" , "Delete" permissions on a custom object for a quite large list of profiles.
Rather than going to each of these profiles and making the profile ...
1
vote
0answers
16 views
Process Builder Page does not open
When I click on Create -> Workflows & Approvals -> Process Builder, I am getting error page output.
I tried different browsers without success
The screenshot from Firefox
The screenshot from ...
0
votes
1answer
41 views
how to display text field as phone number?
I have a text field, which displays a phone number. If phone number is up to 10 digit, I have to display the number (00)-0000-0000. If it's up to 11 digit, I have to display the number ...
0
votes
0answers
12 views
Salesforce Authorization Error while testing the Test-Only Initialization URL for “Microsoft Translator - Text Translation” API
I am trying to create the Salesforce Auth Service Provider of type Microsoft Access Control Service so that I can do the REST API call to "Microsoft Translator - Text Translation" API.
I have done ...
0
votes
2answers
26 views
Master-detail relationship query all children
The Master object Custom_Opportunity__c have a master-detail relationship on Product__c. Normally there are many Product__c records under one Custom_Opportunity__c record. Every time I use ...
0
votes
0answers
9 views
Upload multiple files to Amazon Server at a time [on hold]
I have a requirement to upload multiple files to Amazon Server at a time.And I also need to upload the files in chunks.
Please help me if anyone has idea about the same.
Thanks
Puja Bhandari
0
votes
1answer
26 views
Saving Selected Records Using Apex, Visualforce, and Javascript
I have a page with three sections. Each section holds a table representing a custom object (one table per object). The requirement is that for each section, there must have a checkbox for ...
0
votes
0answers
18 views
Lightning component immediate server action?
I have an application which depends on outbound calls to REST APIs to fetch data.
Is there a way to enqueue and process actions right away?
It seems like if I enqueue an action, it is not processed ...
1
vote
1answer
16 views
Access / identify Role GroupMembers in Apex
If I know the Role Id of the logged in the User. Can I determine which Groups the Role Id is associated with?
When I query the GroupMember object - using something like this
SELECT Id, Group.Type, ...
0
votes
0answers
13 views
Quote Sync Error
I'm syncing a quote to an opportunity and getting the following error. Anyone every seen it before?
An attempt was made to modify the quote price book as the quote and the opportunity were being ...
1
vote
0answers
13 views
How do I stop the automatic refresh of the chatter:feed component every 60 seconds?
We have a chatter feed in a visualforce page. The visualforce page is output as a custom console component in our Service Cloud.
The tag in the VF page looks like this:
<chatter:feed ...
0
votes
4answers
41 views
how to skip verification code for a user in salesforce
I want to skip the verification code for a user
I want the users not to receive the "''You recently logged in to Salesforce from a device we don't recognize.'' How can I do ? I have defined lists of ...
0
votes
1answer
17 views
Global Search not working when on VisualForce page
I have a VF page that displays a datatable. However, neither the Global Search nor the Sidebar collapse button work when I'm on the VF page.
Any ideas? Note: In the custom button that spawns the ...
1
vote
0answers
30 views
RemoteAction: problem returning Map<object, sObject>
I am trying to return a map of object to sobject. However I get a parsing error:
VFRemote.js:117 Visualforce Remoting Exception: Error parsing json
response:
'Unexpected token {'. Logged ...
1
vote
1answer
19 views
Please help me to create trigger on object Name “ Booking”
If Booking Status is 'Confirmed' then
+Room number is required,
+Check in Time is required,
+Check Out Time is required.
Please check my below trigger code is not working
trigger bookingTrigger1 on ...
2
votes
1answer
15 views
UpdateAsync Force.com SDK
I am having a problem with Force.com SDK for C#. the UpdateAsync function is updating Lead owner automatically every time I update any field on the lead. Here's the code that I am using
var success ...
2
votes
1answer
18 views
Url of canvas app
I have a canvas app integrated to Salesforce. When I launch my canvas app the URL of the browser changes to myapp/xyz/abc. Earlier it was my Salesforce domain URL. Is there a way to not show the ...
0
votes
1answer
14 views
Schema Builder export (OS)
Is there anyway to export the Schema builder to get an accurate depiction of the data model in a PDF or any format? I've looked online, and I haven't been able to come up with any alternatives because ...