You need to sign in to do that
Don't have an account?

When I add a namespace to my developer account (with financial service cloud), suddenly any attempt to create a person account is met with this error: ValidationException: Your account record type is missing, a duplicate, or invalid


why do we use support processes?
While exploring the salesforce features i came across supoort process
- Support processes are used to add or remove the status values of cases
- After a support process has been created its assigned to a record type
Record types allow us to customize the picklist values then why wud we use this solution process feature?

Support Process is only for the "Status" picklist, as you might know. The picklist values available in the status of a case record type determine a support process. It is only a business relevant feature as the status field is the most process-specific field on a case. The status field cannot be customized on a record type, it can only be customized in a support process.
Thanks,
Shashank

Web chat not displaying in external website



Are you saying chat button is not visible at all? Have you tested that the chat functionality works on your internal salesforce org?
Incase it is working within Salesforce via a Visualforce Page, Community, or Basic HTML Doc((Only including Chat Button and Deployment Code or standard Embedded Web Service code snippet that doesn't have custom components configured) we can narrow down that its an issue with external website and not salesforce's.
If so, recommend placing the Embedded Web Service code in an iframe to isolate the component from framework libraries or other Javascript/CSS that may be causing problem
See doc
If this information helps, please mark the answer as best. Thank you

Equivalent String Function to charAt() ?
Hello,
I was wondering if there is any equivalent string function that can used similar to the charAt function which exists in java?
I know no such method is listed at http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_string.htm
I know it's possible to look through the string and to get each character using the substring function in such a loop but it would be much better if a function existed similar to charAt.
if anyone knows of a better way of doing this you can let me know.
Thanks!



You can use substring the same way you would charAt, it doesn't have to be in a loop. If you know exactly which character(s) you're trying to grab, substring just requires 2 inputs to get it, the start and end position. So...
charAt(4) is the same as substring(3,4)

Adding new line in custom lable, which will be referred inside apex class, and displayed inside input field(text area)
I want to add a text inside like below
caseObj.Descripion= Label.Descrption;
Description label is like
"Date:\nTime:\nname:"
When i try to add this label, it always adds the "Date:\nTime:\nname:"
the new line is never added.
How can i achieve it ?


Update the label as "Date:<br/>Time:<br/>name:"
Please mark this as the solution, if it solves your problem.
Thanks

Sending A Template-Based Email From an S-Control
Problem Statement: With one click, allow a user to create an object, then send a template-based email to a Contact associated with that object. The email template must populate with correct values from the just-created object.
Solution: Save the following code as an s-control snippet. Then include the snippet, and call the function from anywhere in your main s-control. (I won't cover the part about creating a new object here - let's assume you can do that, and then retrieve the object ID of your newly created object.)
function sendEmail(templateId, contactIdForToAddress, relatedObjectId) {
var url = "https://na3.salesforce.com/email/author/emailauthor.jsp?";
url += "p2_lkid=" + contactIdForToAddress;
url += "&p3_lkid=" + relatedObjectId;
url += "&template_id=" + templateId;
url += "&new_template=1";
url += "&retURL=%2F" + relatedObjectId;
url += "&nosave=0"; // not sure what this parameter does, or if it's really needed
url += "&save=1"; // send it now - don't just bring us to the "send email" page
window.open(url);
}
The net effect here is that a new window (actually, a tab in Firefox) will open up, pointing at the newly created object. If it has an Activity History related list, the just-sent email will appear there.
This all worked rather elegantly for me. The actual use case is a Google Map showing the location of various Communities (a custom object). The user can select several Communities (from a sidebar with a list of accounts & checkboxes), then click a single button to create "Referrals" (a custom object) to each selected Community, and email each Community's primary contact with their Referral data. After the click, the user waits a moment, and then multiple tabs open up, one for each newly-created Referral.
I'm happy to discuss further if anyone is interested or needs help doing something similar - glenn@appirio.com.
Message Edited by GlennAtAppirio on 02-18-2007 01:05 PM
Message Edited by GlennAtAppirio on 02-18-2007 01:05 PM



When the user saves the new custom object, I want a new email to be composed (but not sent yet) using a template, and related to the custom object that was just saved. I also want to pull in the contact field from that custom object, as well as up to 5 email addresses from 5 email address fields in the custom object.
It seems that I need to add some procedure to the "save url" part of my original custom button URL, but when I do that it doesn't use the template or pull in any custom fields. Could I run an S-control from the "Save URL" parameter of my URL to do this? If so, how do I run an S-control from the SaveURL part of a URL, and what would my S-Control need to contain.
I appreciate any advice, code, or links to other posts to help me tackle this.
Thank you.
Formula to calculate the number of working days between 2 dates
IF(AND((5 - (CASE(MOD( Start_Date__c - DATE(1900, 1, 6), 7), 0, 0, 1, 5, 2, 5, 3, 4, 4, 3, 5, 2, 6, 1, 0)) < (CASE(MOD( End_Date__c - DATE(1900, 1, 6), 7), 0, 0, 1, 0, 2, 1, 3, 2, 4, 3, 5, 4, 6, 5, 0)) ),
((( End_Date__c - Start_Date__c ) + 1) < 7)),
((CASE(MOD( End_Date__c - DATE(1900, 1, 6), 7), 0, 0, 1, 0, 2, 1, 3, 2, 4, 3, 5, 4, 6, 5, 0)) - (5 - (CASE(MOD( Start_Date__c - DATE(1900, 1, 6), 7), 0, 0, 1, 5, 2, 5, 3, 4, 4, 3, 5, 2, 6, 1, 0)))),
(((FLOOR((( End_Date__c - Start_Date__c ) - (CASE(MOD( Start_Date__c - DATE(1900, 1, 6), 7), 0, 0, 1, 6, 2, 5, 3, 4, 4, 3, 5, 2, 6, 1, 0))) / 7)) * 5) +
(CASE(MOD( Start_Date__c - DATE(1900, 1, 6), 7), 0, 0, 1, 5, 2, 5, 3, 4, 4, 3, 5, 2, 6, 1, 0)) +
(CASE(MOD( End_Date__c - DATE(1900, 1, 6), 7), 0, 0, 1, 0, 2, 1, 3, 2, 4, 3, 5, 4, 6, 5, 0))))
The Start Date and End Date fields are custom in the above example and can be replaced as required. If use of a DateTime field is required then the DATEVALUE function will be required.
I also recommend a simple field validation rule is added to check that the End Date is after the Start Date.



This formula seems to work when calculating bt 2 different days. What about taking into account for same day and returns result shoud be a "0"? My result shows a "5" when I entered 9/10/09 and 9/10/09 for both start and end dates. Is there one formula that can include this possiblity?
TY!!
Teacup13

sandbox refresh time interval means?
does it mean the time taken to complete the refresh from prod to test?

You will see the following types of sandboxes in production -
- Developer
- Developer Pro
- Partial Data
- Full Copy
Once you refresh the Developer Pro Sandbox then to refresh it one more time you have to wait for 1 Day.
Once you refresh the Partial Data Sandbox then to refresh it one more time you have to wait for 5 Days.
Once you refresh the Full Copy Sandbox then to refresh it one more time you have to wait for 29 Days.
Note: It is not the time taken to copy the contents from production to sandbox which will vary based on your production data and configuration.
------------
Thanks,
Srinivas
- Please mark as solution if your problem is resolved.

Challenge Not yet complete... here's what's wrong: Setting 'Match_Billing_Address__c' to true did not update the records as expected.
trigger AccountAddressTrigger on Account (before insert, before update) { for(Account a : Trigger.new){ If (a.Match_Billing_Address__c == true) { a.ShippingPostalCode = a.BillingPostalCode; } } }
Is there anything wrong with it?
Thanks in advance.


I just fixed the problem! For some reason the Trigger was inactive. I actived it and checked the Challenged and worked properly!
Best,
Dannilo

Does DocuSign allows Salesforce Apex DocuSignAPI
DocuSignAPI.Tab tab100 = new DocuSignAPI.Tab() ; tab100.Type_x = 'Custom' ; tab100.RecipientID = 1 ; tab100.DocumentID = 1 ; tab100.PageNumber = 1 ; tab100.XPosition = 40 ; tab100.YPosition = 40 ;Unfortunately, I try to use other field name like "Font, FontSize" but it is not recognized : I got this message "Variable does not exist : Font".
Thanks

Please mark it as Solution if it works for you
Regards,
Tarun