Jul 26, 2016 14:40
But yeah
Jul 26, 2016 14:40
Oh they're not going to be happy I shoved that in the actual trigger and not the ContactUtils
Jul 26, 2016 14:37
Wouldn't call it nice. More like painful when it carries over to the next sprint
Jul 26, 2016 14:34
On my end it works and at this point anyone who disagrees with that statement can blow me
Jul 26, 2016 14:34
Scratch that just gave it to you now. Thanks for your help.
Jul 26, 2016 14:33
@FernandoGavinho Okay, if QA decides this is acceptable I'll give you the bounty. Normally I wouldn't since at a core you essentially linked me to another answer but if you set this crap up in your box that's a significant amount of effort.
Jul 26, 2016 14:23
Even works to block the creation of inactive contacts when there are dupes
Jul 26, 2016 14:22
if(Trigger.isBefore && !Trigger.isDelete){
for(Contact c : trigger.new){
if(c.AccountId == null){
c.Account_Id__c= c.AccountMap__c;
}
else{
c.Account_Id__c = c.AccountId;
}
}
}

Still working
Jul 26, 2016 14:21
Going to slowly start adding things back to see if it breaks
Jul 26, 2016 14:20
Turned off everything but the basics
Jul 26, 2016 14:20
if(Trigger.isBefore && !Trigger.isDelete){
    for(Contact c : trigger.new){
       // if(c.AccountId == null){
       //     c.Account_Id__c= c.AccountMap__c;
       // }
        //else{
            c.Account_Id__c = c.AccountId;
        //}
    }
}
Jul 26, 2016 14:19
I'm going to try the classic turning it on and off again (the duplicate rule)
Jul 26, 2016 14:16
Dealing with old ones is too complicated for now
Jul 26, 2016 14:16
New contacts.
Jul 26, 2016 14:14
Let me fix it back to where it was and I'll get back to you
Jul 26, 2016 14:14
Well still not working
Jul 26, 2016 14:14
Not working again
Jul 26, 2016 14:13
That's a much cleaner check.
Jul 26, 2016 14:10
Now it's just not working at all
Jul 26, 2016 14:09
.... It was working... Now it's not.
Jul 26, 2016 14:08
Yes, the triggers work right when the record type is Active. But when the record type is inactive there are problems
Jul 26, 2016 13:38
@FernandoGavinho you there?
Jul 26, 2016 13:31
Added my trigger logic to the question
Jul 26, 2016 13:25
@Frenando Not going to be your favorite person here but I just tried it and while the field is populating off the trigger correctly it doesn't fix it.
Jul 26, 2016 13:25
I have bad bad news. I just tested it and Account Name is the actual name of the account not the Id. :( I was hoping man. I was hoping big time.
Jul 26, 2016 13:25
Yeah I'm about to run that test.
Jul 26, 2016 13:25
At a code level I know you're right but when it comes to Salesforce Config and picklist values Account Name tends to be the actual account name. Like in merge fields on email templates the field isn't the Id but the actual account.
Jul 26, 2016 13:25
Can you explain what you mean by the watched fields?
Jul 26, 2016 13:25
This was one of my first ideas but it was shot down by product owner, QA, and other devs really fast because Account name isn't always unique. If account name holds the Id instead of the actual name i will accept this. I'm not sure how to test this however
 
Jun 24, 2015 21:17
When trying to knock down a wall a hammer may appear incompetent and inferior to the sledge hammer but try to drive a nail and the sledge hammer is the incompetent one. Software is just a tool. Not all tools do all things. That doesn't make them incompetent though.
Jun 24, 2015 21:17
Does switching browsers fix your problem?
Jun 24, 2015 21:17
I'd also like to note we are not Firefox customer support.
Jun 24, 2015 21:17
Calm down there big boy. It may have to do with the browser you're running. Firefox, to accommodate people like my who enjoy having 20-50 tabs open at all times, may not load all the pages at once. I know on start up its the reason why most people like me prefer it over chrome. Have you tried switching browsers?
 

 Root Access

For all you Super Users out there. You have backups, right?
Jun 24, 2015 20:19
How do explain to user? superuser.com/questions/932199/…
May 29, 2015 02:53
Oh... that's how you do it. It just has to be its own message.
May 29, 2015 02:53
0
A: Why isn't it possible to Encrypt and Compress a Folder on Windows?

GriffinYou can encrypt a compressed file but compressing an encrypted file should be useless. I'm going to give you an insanely oversimplified version but you should be able to get the idea. I have the text: Griffin is the coolest ever. Griffin is the coolest ever. Griffin is the coolest ever. Gr...

May 29, 2015 02:53
How do you send the question like that?
May 28, 2015 18:11
@Bob Yes. It was very pretty. And why aluminum tape?
May 28, 2015 18:10
@DragonLord so yesterday
May 28, 2015 18:09
@Dra
May 28, 2015 18:09
May 28, 2015 17:55
It was pretty.
May 28, 2015 17:55
A long time ago your avatar used to be an arctic fox if I remember correctly.
May 28, 2015 17:54
I liked the arctic fox you used to have.
May 28, 2015 17:26
I dunno. Have no clue what you're doing or what's going on.
May 28, 2015 17:25
Turn job control on?
May 28, 2015 17:24
I take a good long time to make a decision. Especially with the woman. Currently it's not going well. I told them both I love them because I didn't want to hurt their feelings. Sometimes the game can be a jerk and force you to make quick decisions.
May 28, 2015 17:23
And it is wonderful. 36 different endings. Your decisions matter. I called out some priest that was hating on me and 10 hours later he sent guys after me. I was like "What the hell? I did that ages ago?"
May 28, 2015 17:22
It's on console.
May 28, 2015 17:18
@djsmiley2k You play Witcher 3 yet?