[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Salesforce

217

Solutions

377

Contributors

Salesforce is a Platform as a Service (PaaS) for cloud-based customer resource management that includes components for case and task management, data management and a help desk system. It also includes systems for add-on applications written in Apex, a proprietary Java-like language, and systems for human resources management, employee training and performance management.

Share tech news, updates, or what's on your mind.

Sign up to Post

Our team is trying Salesforce and we have a sandbox and a production Salesforce.
To use SSO (Okta) are we able to use same SSO login to both environments? Or can we only use say our email attribute in one or the other (Sandbox or Production)? My understanding is Sandbox only allows you a login that is unique across both environments. And if that’s the case, what’s the usual workaround ? Don’t want to reinvent the wheel.
0
CompTIA Cloud+
LVL 12
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

I'm trying to find more info on the SPF record for spf.salesforce.com.  It is in a format I'm not familiar with:

PS C:\Users\jason.crawford> Resolve-DnsName -Name _spf.salesforce.com -Server 8.8.8.8 -Type txt

Name                                     Type   TTL   Section    Strings
----                                     ----   ---   -------    -------
_spf.salesforce.com                      TXT    2982  Answer     {v=spf1
                                                                 exists:%{i}._spf.mta.salesforce.com -all}

Open in new window

Anyone?
0
I have a client asking about their VFP app with a SQL backend database being able to import/export data from SalesForce (www.salesforce.com).  I am wondering if anyone has suggestions on how to best go about making these tasks work, using 3rd party tools or otherwise?
0
My friend's work has 20 sales reps using Salesforce.com, each processing 250 signed contracts per year, for a total of 5,000 contracts

When he asked DocuSign how much the above electronic signature cost would be DocuSign said it would cost about $3 per contract, for a total of $15k/year

What other "Salesforce.com electronic signature" options do you recommend for the above volume that would cost a lot less since the only thing he wants is eSignatures, no other features ?
0
I am coding on the Salesforce platform using apex and I'm trying to create a class that will sort a list by two fields using the Comparable interface.

I'm trying to determine how I can sort by two fields so that each product grouping can be sorted by size. The products are clothing items. Each product has a series of sizes. For simplicity, the sizes are S, M, L, XL. What I am trying to achieve is sorting by the size field as well as the product name.

For example, if I have the following products:


Product Name            Size
black.v-neck.s               S
black.v-neck.m             M
black.v-neck.l                L
black.v-neck.xl             XL


I would want them sorted by smallest to largest:

black.v-neck.s
black.v-neck.m
black.v-neck.l
black.v-neck.xl

There is a size__c field for each product that holds the size value.

I started by creating a generic sorting utility using the comparable interface to test sorting by product name:
public class GenericSortingUtil {

    public class ObjWrapper implements Comparable {
        
        public sObject obj;
        
        public ObjWrapper() {}

        public ObjWrapper(Sobject obj) {
            this.obj = obj;

        }

        public Integer compareTo(Object compareTo) {
            
            ObjWrapper compareToObj = (ObjWrapper)compareTo;

            if((String)obj.get('Name') > (String)compareToObj.obj.get('Name')) {
                return 1;
            }

            

Open in new window

0
I have a text field and want to implement regular expression to validate mm/dd format. I have a regex currently which works for this format but not able to validate against months like 29th February, 30th April etc.. How to modify the regex to include this month validation?

Currently regex I'm using is - (0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])
0
I have several Crystal Reports that run off of a Salesforce connection. These have been in place for over a year and have just stopped working. I'm linked via www.salesforce.com/services/Soap/u/17.0 and I've just started getting the error Logon failed.
0
We're looking to integrate third-party CRMs with our desktop .NET in-house practice management software.  The CRMs are:
  • Salesforce
  • Microsoft Dynamics

The data to be integrated includes:
  • Contact information (name, address, phone number)
  • Billing information

At the moment, the data needs to be manually entered in both systems which is time consuming and error prone.  We're looking at two options at the moment:
  1. Develop our own system using the APIs to integrate the data
  2. Purchase an integrator to assist us in what can often be a messy job

We haven't made a decision around syncing, push, pull, source of truth etc so we're not limited in options at this stage.

So the question is:
Which option would you choose for a manual one way sync, which option for a robust two-way sync and why?

What integration software would you recommend and why?
0
I'm relaying inbound mail from salesforce.com to onprem exchange 2010 server internal recipients.  on Feb 18, 2018, we renewed a self-signed cert with service IIS assigned to it, and that's it.  the validity date pushed forward, I was good to go.

However, the email log from salesforce began generating an error, indicates this error began the morning of Feb 16 sometime after it was renewed on 02/15.
451 4.7.6 [internal] STARTTLS required but not advertised

this is a SHA1 cert, so I thought perhaps ciphers were the problem.  I inserted a SHA2 cert generated using command line and bound it to the * 443 interface in IIS and found no change.

TLS is offered on all receive connectors.  a godaddy cert is bound to SMTP/POP/IMAP.    the error causes the mail to not be received.   changing to TLS "preferred" instead of "Required" on the salesforce side results in flowing mail but unencrypted messages are not an option.  

any ideas?  I've checked the cert and the connector, and salesforce tech support seems stumped.  I still think there is something to the cert..
0
I have looked all over and wondered if there was a page either on the Salesforce community or other that had the following questions answered above. I have the following problem. I have a TASK table created from another program where the data was exported cleanly to Excel and saved as CSV. I am trying desperately to import it into salesforce from the CSV attached. I am aware I can use the ACTIVITY table and I can use it I assume if this is not possible. I would think that the TASK table which is so close to what I need would accomodate this without having to create all new fields and having to go with the Table Name Change (from TASK to ACTIVITY Table)

I can see that there are DATA TYPES that designate the width of the field and others that do not. Is there a default width for a:
1. Picklist
2. Email
3. Lookup (User)       "What is the difference between number 3 & 4 ?"Is there a place I can find all of the answers. I have looked and must not be using the right search terms?4. Lookup (User,Calendar)
5. Phone
6. Reference

If there is a default width. Where do I find it.

I am desperate to find out if I can do the following:
1. Identify default widths of all DATA TYPES?
2. Can the widths be changed?
3. Can all DATA TYPES be imported to or is it just some of them?

My biggest problem is getting the right search terms in place to search so maybe the answers are out there. I have not been successful finding them. I have spent days searching....no exaggerations here either. Your help is appreciated.
0
OWASP: Avoiding Hacker Tricks
LVL 12
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

I am confused. When I export from Excel into CSV and I open the format of any of the records in a column (see attached) all it says is the format is GENERAL. Okay that is fine but what is it. A string, a number or what. I am having a terrible time importing into Salesforce.com as I get errors on import. Not knowing or understanding what is being sent out and what needs to be pulled in it is confusing to know just what General is. I have searched for a solution as I would think there would be an answer to that. What is the GENERAL format and how do most programs accept that. I would think it would be a generic older format that is acceptable by most programs easily. Not knowing whether a column with only numbers in it or another column with alpha numeric is handed off so that other applications can determine what value is assigned string or number is a mystery. Can someone solve this for me. Is the data type determined coming from an Excel CSV in GENERAL format or is the application doing the import determining the data type....? Any help is greatly appreciated.
SF_Tasks_Data_CSV.csv
0
NOT a FIELD LABEL. Can an existing default field name be renamed or do I have to create a custom field only...?

I ask because I need to change the TASK Table in Salesforce but there is no way to add a new Custom Field in the TASK Table in the Object Manager. See image.

Note the NEW custom field button is not available
If there is a way to do this please tell me how? Thank you.

Here in another table you can see a NEW custom field button is available. My problem is it looks like I am going to need to change the types and or names of some of the fields in the TAST Table in order for it to work.

New Button is available under CONTACT Table....Why not the TASK
0
Dear Experts

We have done various online integration website, online chat, facebook, and also other channels like CTI our marketing team would like to create campaign for every spend that they do on online and also offline like trade show etc,  we have following process
1) spend on various marketing activities in internet marketing like google Ad words, face book Ad campaign etc and also offline like trade show and bill boards, news paper, TV for a campaign
what would be best practice should we have to create campaign for each of the spend like google ad words X amount  and face book a separate campaign of y amount I mean should we have to create multiple campaigns for each activity or create one campaign as parent and make every activity spend as children for this , please suggest
0
I have two WSDLs that I would like to generate into apex classes using the "Generate from WSDL" button in Salesforce, but I'm getting an initial error that the schema is incorrect.

Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType

Open in new window


I have limited knowledge of working with WSDL files and wanted to see if this is an error that can be fixed or if the WSDL cannot be converted to an apex class due to types that are simply not supported in the apex language.

If so, are there other alternatives to create the apex class/methods needed? Or, is it just a manual process?

I've attached the two WSDL files saved as flat files.

Thanks for any help.
SSOws.txt
OLRws.txt
0
I need to either randomly select between (150-300 rows) or by step Rows 5,10,15,20.25.30,35.....etc through 1500 rows of data. This is to have a sampling of data. I thought if I make a counter column I could create some formula that would let me select either (150-300) records or just count out every few rows 5,10,15,20.25.30,35.....etc through 1500 rows of data. Then copy those records (what I do not need would either be suppressed or disappear) and put them on a new sheet. I am building a small set of tables that will be uploaded to a developer license of Salesforce. Any help is greatly appreciated. Thank you.
RM_Opportunity_Table.xlsx
0
Hi Guys,

We have configured the ADFS server with salesforce for SSO. All was working ok, since last week, when the SSL cert expired. I updated the SSL cert and it shows the right date on the service cert, Encryption cert and singing cert.

But the fedarationmetadata.xml URL is not opening. It shows the error as ERR_CONNECTION_RESET. Need to fix that asap.

Regards,

Ajoy
0
Dear Experts

I understand there are two approaches to handle the duplicate records when same prospect enters the CRM application
approach 1) append duplicate prospect data to a single record approach 2) create duplicate record and mark it status as "Repeated/Duplicated"

approach1) if we go for append duplicate prospect data to a single record would it be possible to have a marketing analysis like current month how many leads entered into SugarCRM including the duplicate leads also would it be possible to understand prospect journey touch points through multi channel showing interest.
OR
approach2)same prospect entering through multiple channels setting duplicate records to “repeated” status would be the most straightforward to implement and link it with the original lead may provide the marketing analysis like current month how many leads entered into SugarCRM including the duplicate leads and from which all campaigns and source.
if we go for approach two then the manual operation can be applied with the same treatment that is if the already existing prospect makes enquiry to the call centre then call centre user applies the same treatment that is copy/create the existing lead and mark the status as "Repeated" and attach it to the respective campaigns
Please suggest which approach in the above is  recommended and best practice , thanks in advance
0
Are there any site, like Ticket Management Software, which would provide a front end for the hiring of new Sales Agents?

This would be a site which provides an application section, some back-end processing options and an approval process that is managed through the site?

I really have no plans to build such for my own short terms use of it. I need to hire a few hundred agents for a short-term project.

So, hopefully such sites can be configured and put into use quickly.

I really am afraid of going the Salesforce route. I feel that alone could consume my entire budget.

I need a Salesforce Lite ;)

Thanks.
0
Hello,

I was hoping to get some feedback on an Apex trigger I have written on the Salesforce platform. I have two custom objects (SalesOrder__c and Sales_Order_Line__c) that is a master/detail relationship.

On an edit of the line, I'm iterating over all the lines, running a check to see if the lines have been fully fulfilled and if so, then setting a fully fulfilled Boolean field on the master record to true. The check on the lines is looking at a custom formula field and the record type of the lines.

I'm interested in any feedback on the code I have written (see below) regarding best practices on bulkification, code logic, error handling, appropriate DML usage and governor limits.

For example, is it better to use standard DML operation or the database DML methods and use partial success? Should try/catch be used in triggers? I've read differing opinions on using error handling in triggers. Would a different loop be more efficient (do/while)? Should limit checks be added into the code? Any feedback on improvements and best practices would be welcome.

Please note, I'm using a trigger framework that uses a handler interface. The trigger calls the framework class, passing in the event to fire the trigger and the handler class to dispatch. The code below is the handler class that runs the logic on trigger after update event.

global class SalesOrderLineFullyFulfilled implements ITriggers.HandlerInterface {

	Sales_Order_Line__c[] newCollection = 

Open in new window

0
Why Diversity in Tech Matters
LVL 12
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

how to get Decrypt value from encrypting value using SHA-256
0
I am looking for a free cloud-based call center software such as Fenero. There is nothing wrong with Fenero except that they don't provide any support at all getting started unless you sign up to pay significantly and monthly.

In their comparison at the bottom of this page, http://www.fenero.com/, they mention Five9 and InContact as being more costly solutions. SalesForce is very costly and is out of the question.

We will be making outbound calls and doing emails.

Free or pay-per-call or pay-per-support incident would be a better model getting started than would a monthly option.

Assistance in finding a better solution for this would be greatly appreciated.
0
Hi,
It's my first salesforce formula.

I have a bespoke object with a date field called Date_Cash_Payment_Received__c

I want to create a new field called Date_Next_Payment which will be equal to Date_Cash_Payment_Received__c + 1 year.
For the moment I NOT concerned about February 29th.

https://www.screencast.com/t/XtVJJKmH1VV
0
Dear Experts,

We are running a ADFS Server 2012 R2 in combination with the Azure Microsoft multi-factor authentication Server. (It's the on-premise version of the MFA server).

We use these both servers to authenticate our users to salesforce. Right now, we say that all unregistered devices and all users coming from an external source must go through the MFA server.

Please see the screenshot attached.

The location tag isn’t working at all. So, my first question is, where can I define what the internal source is? I would like to include the internal IP-range to it.

Please note, that we are using the ADFS without a web application proxy.

My second question is, how can I register devices to adfs. Because we mainly connect to salesforce from our RDS servers. If I cloud register the rds servers to adfs, then I don’t care about the location tag.  


Thanks SGTA14
0
Hi.

Does anyone have an example of a simple trigger?  I want to gather sum__c from Test_Object__c and stuff into my filed test__c on the opportunity.  This is not a master detail relationship but there is a lookup to the Opportunity.

Thank you very much!
0
$j = jQuery.noConflict();



$j(window).load(function() {
        replacePickVals();
    });
function replacePickVals(){
    $j('option').on("change", function() { return $j(this).html() == "--None--"; }).html('Select');
}



<p class="Directions">Select Plan<i class="fa fa-asterisk"/>

<apex:inputField value="{!app.Count__c}" styleClass="trackChanges" html-placeholder="" id="county" style="display:none;" />
<apex:inputfield value="{!app.Plan__c}" id="plan" styleClass="trackChanges" style="width: 200px"`>
0

Salesforce

217

Solutions

377

Contributors

Salesforce is a Platform as a Service (PaaS) for cloud-based customer resource management that includes components for case and task management, data management and a help desk system. It also includes systems for add-on applications written in Apex, a proprietary Java-like language, and systems for human resources management, employee training and performance management.

Top Experts In
Salesforce
<
Monthly
>