0
votes
1answer
4 views

Salesforce custom button javascript escaping error

I've noticed that SFDC is not properly escaping some characters in the code it generates to be eval'd when using javascript custom buttons. For instance, say I have an object with a field that ...
-1
votes
1answer
9 views

opportunity validation rule

I need to write a validation rule stating that if Opportunity type = 'sales', then require attribute 2 and attribute 3 or 4 have to be of a certain value. opportunity type, attribute 3 and 4 are all ...
1
vote
2answers
12 views

How do I correctly add a helper method to my Apex Class?

I am attempting to set up an email-to-lead email service. Our non-profit receives leads in the content of emails that are sent, and I am trying to write an apex class that correctly parses the ...
2
votes
1answer
16 views

Why does 18-character ID casing matter in a SOQL WHERE clause?

When an ID value is upper-case the expected rows are returned in a SOQL query. However, when using a lower-case ID in the where clause, zero rows are returned. It also doesn't matter if it's a ...
1
vote
0answers
7 views

Error with JIT Provisioning for Salesforce Community User using SAML

I've create the SSO server in which when logging in, Salesforce will takes care of Finding Account Specify Create the Contact Create the Community User Profile with that Contact. Specify the ...
0
votes
0answers
18 views

Expanded lookup in Tasks for a custom object in Visualforce

I'm very new at this, I would appreciate some help. I am trying to create an expanded lookup field for the Activities (Tasks) page since in Visualforce. I want it to lookup a custom object which I ...
0
votes
0answers
7 views

Explanation of results from retrieve triggered send summary SOAP API request

I have setup a SOAP API call to retrieve a summary of a triggered send definition, but I can't seem to explain why the results of the API request are split into numerous result blocks. Here is an ...
2
votes
1answer
20 views

Permission set to give Password never expire

Currently my org have setting to expire password in 30 days. But One of my user want to that his password never expire. So for this I have created a Permission Set and give this permission set to ...
0
votes
0answers
7 views

Salesforce 1 link opens another tab

I have a very simple VisualForce Page that I've put on my leads layout. I've checked the "Available for Salesforce mobile apps" checkbox on the VFP. In salesforce 1 view if I click the link it opens ...
4
votes
0answers
28 views

What is the ID at the end of SOAP service end point URL?

Is that the Organization Id at the end of SOAP service end point URL? I have checked the organization Id in my salesforce account and this Id did not match with it. Please suggest. ...
0
votes
1answer
22 views

How can you retrieve send data from a Triggered SMS send based off the customer key?

We want to pull down all the mobile numbers that have been completed for a triggered SMS send. I checked out the _Sent table and there are two fields that look like they would work to query off of, ...
0
votes
0answers
16 views

can we load test data thorugh csv using Test.loadData for custom objects?

I am trying to load test data of custom object in my DB using Test.loadData method from csv file.The error I am getting states that "System.StringException: Unknown field: Type__c".
2
votes
2answers
22 views

Which WSDL document is required to integrate External applications

Iam trying to call a external webservice from salesforce api or apex methods. For that we need WSDL document. From where i will get this WSDL file. 3rd party will provide this wsdl file or we can ...
0
votes
1answer
14 views

Returning the complete results from a Data Extension including field names

First question on here and new user of Ampscript - please be gentle! Primarily for debug purposes I would like to use the LookupRows function to return a subset of rows from a number of Data ...
1
vote
1answer
21 views

Difference between 2 DateTime fields in Hours and Minutes with timezones

I am having trouble in finding the difference between 2 datetime variables and reducing the offset timezone difference in order to get the local time from the salesforce generated GMT time. I have a ...
1
vote
1answer
17 views

“The requested resource does not exist” - simple GET query

I've created an account. How to get access to its data via REST? For example for the database or my custom objects? Also I don't understand why when I do request with this query SELECT Name, Id, ...
0
votes
2answers
28 views

Batch apex failling silently for some records

I am writing a batchable apex class and am finding that every time I run it, some rows are not being processed. The strange thing is when I look at the apex job monitoring page, the number of ...
-1
votes
0answers
18 views

Trigger to update a custom field on Lead based on the latest campaign member status

I need a help with a trigger that would update a field (custom) on Lead called "Recent Campaign" ( Type = Text) with the latest campaign name based on latest "Member Status Updated" of its Campaign ...
3
votes
2answers
125 views

Remove Last Page from the PDF

I have created PDF of Multipage, where in VF page I am using <apex:repeat .......> ///////// some code <div style="page-break-before:always;"/> </apex:repeat> But it adds a ...
0
votes
1answer
12 views

Customizing Chatter Email templates [duplicate]

I have a requirement to customize the Chatter Email templates. Is there any way to achieve this? Regards, Naveen
0
votes
0answers
16 views

Report custom summary formulas

I have some doubts. Below is my requirement Custom Objects: Order and Line Item Requirement: Create a report Fields to be displayed in the report Order Name , Client Name, Type, Price, Total Volume , ...
1
vote
2answers
22 views

404 error when making SOSL queries from native mobile applications

I am developing a native android app using the mobile sdk. I am trying to make a search query like this RestRequest req = RestRequest.getRequestForSearch("v20.0", "FIND {"+searchString+"*} IN ALL ...
0
votes
1answer
26 views

Test class coverage for Exception

I have below code to coverage : public static list<Contact> getContactsByAccountId(Id accountId, Id contactId){ try{ return [SELECT Id, firstName, LastName, Email, Phone ...
1
vote
2answers
46 views

Percentage field semantics - 1 or 100 for 100%

What should a user input into a Percentage field to state "100%"? Is there a defined semantics or is this something the creator of the fields has to configure by the amount of decimals and validation ...
1
vote
2answers
35 views

Conditional parameter to change visualforce page and controller SQL

I have a very simple visualforce page and linking controller that will fetch records from a custom object. In this custom object there is a category field which I would like to filter against in the ...
1
vote
1answer
32 views

Converting Date Into words and displaying using visual force page

I am trying to convert date in words as shown below: 10/07/2014 TENTH Day of JULY, TWO THOUSAND FOURTEEN
0
votes
1answer
23 views

Updating Checkbox values using workflow

I would like to create a cross object workflow that updates a checkbox value of the child record (with true /false) with the checkbox value of the parent record (true /false) and recalculates every ...
2
votes
1answer
54 views

get the list of contacts associated with account

I'm trying to get list of contacts associated with an account using REST. I've created Connected app using tutorial ...
0
votes
1answer
23 views

how to use external javascript function in visualforce

javscript file : uploaded in static resource: <script> function clearValue(){ document.getElementById('{!$Component.page1:form1:autocomplete1}').value=''; ...
0
votes
1answer
22 views

How to show Percentage Icon rather Percent value

Currently my app shows the percent value as 33%. But I would like to show the same with Icons by using Icon Sets on my Standard Layout Page. Please suggest me some tips.
1
vote
0answers
23 views

Signed URl for Amazon

I need to create a signed URL for amazon for a file in a my AWS bucket. This URL has to get expired after a given period of time. i am getting stuck in creating the signature for url
1
vote
0answers
8 views

Eclipse: Not pointing to the correct Git Directory

I'm having a lot of issues trying to set up my Git Repo. I'm going through the "Clone Git Repository" option and provided the right URI, password, etc. However, as soon as I click next (see image 2 ...
0
votes
1answer
23 views

How to fix a Visualforce “Could not resolve the entity from value binding” error?

As a Beginner to Sales force following error is coming while I am making a page of commercial. Kindly help me out. This is following code of my commercial object in which there are 4 record ...
0
votes
0answers
17 views

Trigger is not running from testclass

I have to triggers in my task object. 1st trigger which is inactive and 2nd trigger which is active and calling different class method on insert, update, delete. Now I wrote a test class for the ...
2
votes
0answers
8 views

Best way to support Language Translation on Record level

As we all know that mostly the language translations in salesforce are supported on metadata components like fields, labels, picklist values etc.. Is there any way to support Language translation on ...
1
vote
1answer
22 views

Linking a contact to user

I am trying to link a contact to a user object in test case. However, it seems that user.contact = contact doesn't work and user.contactId = contact.id will cause an error saying contactId field is ...
1
vote
1answer
36 views

How objects are stored in SFDC

How data is stored in SFDC objects? if you ceate a object in what structure it is created in salesforce. and what is an object and how you represent a object in Salesforce?
0
votes
0answers
11 views

Image upload on inline Visualforce page in detail view

I need to display the image on inline Visualforce page on the detail view of contact. if anyone upload more than one image then last uploaded image should be display. so please give me the code. I am ...
1
vote
0answers
24 views

Amazon S3 AWS Rest API Version 2 or Vesion 4 [on hold]

I want to create a bucket in S3 Amazon using Rest API and also using version 2. 1) I want to know which parameters I need to include and which parameter I need to include in the creation of ...
0
votes
0answers
13 views

Can a document be stored against a Community User?

Suppose I have 10000 Community Users, can I store a document for each of them? The content of the document would be miscellaneous info, logs etc.., . If so what are the file size limitations? Also I ...
5
votes
3answers
243 views

Where to store css when developing in salesforce?

When having a custom style, would it be better to store them as static resource or just dump those styles inside Visualforce page as inline CSS? If putting them as static resource, what are ...
2
votes
1answer
17 views

Metadata API, describeMetadata result and PageLayouts

I am trying my hand at building a package.xml dynamically to download everything from an salesforce org, so I started the Novel approach of getting the describeMetadata and iterating through it to ...
0
votes
1answer
18 views

RefreshToken questions

When creating a Marketing Cloud Application (to be listed on the HubExchange) an installation of the App issues a JWT token that is received by the defined login end-point. The token contains, ...
1
vote
2answers
28 views

Use cases for Login Flows

As an administrator, I am curious to know how I can improve or enhance the user experience. To this end I would like to know if there are any use cases in particular that the apply to the new Login ...
0
votes
1answer
22 views

Scheduled Apex job stuck in queued status

I've created a scheduled Apex class to calculate the donor level (think 'gold', 'platinum', 'bronze', etc.) for a contact based on the amount donated. The class is fired by a trigger when new ...
2
votes
1answer
24 views

Problem in Calling VF Page as PDF in Salesforce1

visualforce page cannot be called to salesforce1 We have created a visualforce page on a custom object (invoices) that is rendered as PDF to issue the invoice. Our code is <apex:page ...
0
votes
1answer
15 views

Check if the value was changed in the original object in a trigger

I'm writing a rollup trigger to update a field at account level based on some criteria. Let's say there's a boolean field with true/ false values. Should I check if the value has changed at original ...
2
votes
1answer
24 views

How to check cross-object formula usage count?

Salesforce allows a maximum of 10 unique relationships per object in cross-object formulas per ...
0
votes
1answer
21 views

How do you convert a Lead via the REST API?

Am a bit new to Salesforce, integrating with our existing systems which uses Python, so I'm making use of the simple_salesforce module. It's working great, except I cannot figure out how you convert a ...
0
votes
1answer
14 views

Get the passed duration in years from a Date field in apex

I figured that I can retrieve the number of the passed years since a Date field by usin formula, but what if I want to do this in apex class. I have a date field that I want to calculate the number ...

15 30 50 per page