You need to sign in to do that
Don't have an account?
FreeBug
How to remove trigger making all contacts appear as affiliated contacts?
I am the system admin for a non-profit and in charge of all things Salesforce. Unfortunately, I am not a developer (yet), but I need to fix a problem in our Salesforce 'backend'.
Right now all of our contacts automatically become "affiliated contacts" and this is problematic. As I understand it, we have an installed api package that has a trigger for this.
Do I need to upgrade this package? If so, how / where do I do that, and how do I avoid info being lost?
Thanks so much and sorry for my very limited knowledge of Salesforce!
Charlotte
Below is a snippet from online help that describes how to upgrade the package:
If the app you installed is not from a managed package, upgrades for it are not available.
All Answers
If the installed package is doing this, you'll either have to remove the package, or if it's an unmanaged package, you should have access edit the trigger and change the behavior.
Hey Jeremy,
Thanks for the reply. Can you tell me how I can find out if an installed or managed package is doing this?
I can tell you that when I look at 'Installed Packages' in the set up I see a package from the salesforce foundation called "affiliations". The version number is 1.5 and the namespace prefix is npe5.
If I look at the package components, there is one that says 'contact' and the parent object is 'affiliation' and the type is 'apex trigger'. Does this sound like the culprit.
I have never uninstalled a package, so if you think I will have to do that, it would be great if you could give me some pointers. I am a bit concerned that I will lose some work. For example, we do use the affiliated contact field for former employees and also for people who work at more than one organization.
Please let me know if I can provide you with more info about our set up!
Thanks again, I really appreciate this help!
Charlotte
Sounds like it is managed. That means if you uninstall it, any custom objects or custom fields will be removed, including the data they hold. You could back up the data first, uninstall the app, recreate the custom field and then run an update to populate your new custom field.
To uninstall the app, go to Setup > Installed Packages.
Okay, this seems like a solution, although it will probably be impossible for me to recreate it because there were helpful nuiances such as once I deleted someone from an org, they automatically got placed in the affiliated org as "former" employee.
Anyhow, one last question. I scoured the "answer" forum before moving over to the developer forum. There was one person who had the same problem and they replied," thanks for this, i realised we needed to update our affiliation package and then this option appeared! thanks for your help" to the statement: "Apparantly there is an Administrator interface that allows you to turn on or off the automatic affilliations" However, I can't get in touch with them to learn how to update the affiliation package.
Do you have any insight into this communication? I am hoping that if I "update the affiliation package" I could see the admin interface that will allow me to turn off the automatic affiliations. However, I don't know how to update the affiliation package.
Thanks so much!
<script type="text/javascript"></script>
Below is a snippet from online help that describes how to upgrade the package:
If the app you installed is not from a managed package, upgrades for it are not available.
Thank you very much. I will look for an upgraded affiliations package and follow the instructions below!
I really appreciate your help and dedication to stick with this one!
Best,
Charlotte