Ask Search:
Chris DuncombeChris Duncombe 
Was informed today that I have been named a Salesforce MVP.  I just wanted to thank everyone as I know the nomination came from within the community.  I am honored and just wanted to say thank you  :)
Best Answer chosen by Chris Duncombe
Jackie DoanJackie Doan
Chris, let's mark a best answer to keep our community clean! 

Haha - had to bust your chops. :)
Mike ArthurMike Arthur 
I don't recall receiving an email alert for the certification maintenance exams for Winter '16 on either Admin or Dev certs.  Googling for the training resources only revealed that others had noted the same.

To save others the time of hunting for the training material, it's here:
Winter ‘16 Administrator Release Exam (http://certification.force.com/pkb/articles/Public_KB/Winter-16-Administrator-Release-Exam/?q=winter+16&l=en_US&fs=Search&pn=1)

The modules are listed here:
Winter '16 Release Training for Certified Professionals (https://help.salesforce.com/HTTrainingModulesDetail?courseId=a1S300000032xGB)

 
Best Answer chosen by Mike Arthur
Sharif ShaalanSharif Shaalan
Thanks, i was looking for this : )
David ShieldsDavid Shields 
We are trying to create a vlaidation rule that will prevent an Asset record from being updated by anyone other than an Administrator after the "Status" picklist value has been changed to "Retired". The record has many fields so I woul like to stay away from a rule based on fields. Any ideas?
Best Answer chosen by David Shields
Deepak AnandDeepak Anand
Also for the System Administrator, you'll need this: 
AND(
    $Profile.Name <> "System Administrator",
    TEXT(PRIORVALUE(Status)) = "Retired",
    NOT(ISNEW())
)
Katherine RoweKatherine Rowe 
When I run an Opportunity Field History report, I see the entries where my field has changed. But it's not showing me the old and new values, it shows both old and new values as blank. But I know that there was a value and there is a value now. Why isn't it showing them? It's a long area text field that probably had a lot of data in it (max characters is set to 32,000). It wouldn't have been completely full, but it may have had alot of text in it. Of course I can't  really go back and see how much data was in it, because this report isn't working...



User-added image
Best Answer chosen by Katherine Rowe
Steve MolisSteve Molis
Certian Datatypes like Multi-Picklist, Rich Text and Long Text do not store the Old/New Values in Field History, they simply track that the field was changed
Patrick SolumPatrick Solum 
I am the sys admin for our org and I have a group of users under a profile that reports directly to me.  There is a field in opportunities that I have that I want them to be able to see but not edit.  In Field Level Security I set the field up as read only for their profile but yet they can edit it.  I have nothing in sharing settings that should override this and on the page layout I have the field marked as read only.   If I go into the profile and adjust their permissions to where they can modify all on opportunities they can change it.  If I check all the boxes except modify all then they can edit nothing.  There are only a few select fields I want them to not be able to modify.   Any thoughts on how to solve for this?   Im sure its something really simple that I am overlooking. 
Best Answer chosen by Patrick Solum
Geoffrey FlynnGeoffrey Flynn
I think that you putting on Modify All is just putting a band-aid on, it's not going to do any good long term.  I would take that off and start peeling the onion back a little bit here.

Question:  Do they have the Edit Read Only Fields permission?
User-added image

Basically, did you create the profile by cloning System Administrator?
Andre KvitkaAndre Kvitka 
I would like to create a report that shows all email with a specific term pulled from the subject line. Is this possible? And if yes, how please?

For example:
<List all email that are in the Activity History this week that contain the word "incenitve" in the subject line.>

 
Best Answer chosen by Andre Kvitka
Kelly KanchesKelly Kanches
Sorry - Type "Tasks" and pull the "tasks and events" report type
Azfer PervaizAzfer Pervaiz 
Hi,

We have an unusal requirment from the client. Two orgs are merging. Org 1(Target Org) has OWD Public read only and Org 2 (Source Org) has OWD private. The requirement is when Org1 and Org2 merge; users of Org1 Cannot see the data of Org2. The client is insisting that OWD of Org1 will reamain Public read only.

We have proposed setting OWD to private and opening ORG1 access using Permission Sets and Sharing Rules as such the users of ORG1 will not feel the difference but the client is saying; changing OWD of Org1 is not an option. 

We know this is not possible but we want to do our complete due diligence before going back to the client.

Kind regards
Best Answer chosen by Azfer Pervaiz
Mayank SrivastavaMayank Srivastava
Azfer,
You are correct in assuming that setting the OWD to Public Read Only and then closing down access for Org 1 users won't be possible. The client needs to understand the when moving from OWD to other sharing settings in Salesforce, it's always about providing broader access and not restricting it.

My recommendation would be to make it clear to the client (in a subtle manner of course) that their job is to provide with the requirements/user stories and it's the consultant's job to come up with the design approach. If they want the Org 1 users to have access to certain records and not to other ones, they will get it and it isn't for them to tell what the OWD of the org should be; unless they have a good reason for enforcing it.
Robert GilmoreRobert Gilmore 
I've got a flow that is launched from inside the custom opportunity object. I've only been able to find info on how to end the flow when it's being launched from a VF page. How can I program the flow to end and close when a user presses the finish button at the end of the flow?
Best Answer chosen by Robert Gilmore
Mayank SrivastavaMayank Srivastava
Do something like this: (So that the flow lands back on the opportunity record)
<apex:page standardController="Opportunity" >
    <flow:interview name="Discovery_Questionnaire" finishLocation="/{!Opportunity.Id}">
        <apex:param name="OpportunityID" value="{!Opportunity.Id}" />
    </flow:interview>
</apex:page
You would need to create a button that calls the above VF page and place it on the Opp page layout like this:
User-added image
 
Sandrine AlimeckSandrine Alimeck 
Hi folks,

My sales rep can create new prospects (with Prospect record type) but as soon as the new prospect turns into a CUSTOMER (with Customer record type), I do not want them to modify ANY field from the account page with that updated record type.
How can I process this? I just cannot create a validation rule and add more than 20 fields on the rule, that would be too heavy :-(
Please note that Sales Rep are allowed to read-only the new CUSTOMER page.

Thanks guys in advance.

Regards,
Sandrine
Best Answer chosen by Sandrine Alimeck
Sunil SarillaSunil Sarilla
Hi Sandrine,
You just need to make the fields Read only at the Pagelayout level but not at the Profile level.
Making the fields Read only at pagelayout will work but users can still go and edit them from the list views.
Assuming you dont want users to modify anyfield for the CUSTOMER Record Type, just write a Validation Rule as below
RecordType.Name = "CUSTOMER"
You can exclude the System Administrators from the Validation Rule ifin case you need to any data manipulation on the object
AND(
RecordType.Name = "CUSTOMER",
$Profile.Name <> "System Administrator"
)
Sapana WaghmareSapana Waghmare 
Hi All,

I am trying to query open Activities and Activity History using a subquery on Account object and am successful in doing that. But this query fetches invites aswell for multi person event and it appears like duplicate entries in the list on VF page. How can I filter out invitation entries from the activities. Here is my query:

List<OpenActivity> openActivityList = new List<OpenActivity>();
       
List<ActivityHistory>  lstActivityHistory = new List<ActivityHistory>();       
 Account acctPlanAccount = new Account();
        for(Account acc : [select Id, (select Id, Subject
                                            from ActivityHistories
                                            order by ActivityDate desc,                   lastModifiedDate   desc LIMIT 199),
                                         (select Id, Subject
                                            from OpenActivities                                 
                                            order by ActivityDate, lastModifiedDate LIMIT 199)
                                from Account
                                where Id =: acct])
            {
                acctPlanAccount = acc;
                break;
            }
        lstActivityHistory = acctPlanAccount.ActivityHistories;
        openActivityList = acctPlanAccount.OpenActivities;
       
Best Answer chosen by Sapana Waghmare
Ranu AgarwalRanu Agarwal
Sapana,
Please make sure that you enable this setting into both org. Go to >> Activity Setting "Allow Users to Relate Multiple Contacts to Tasks and Events"
User-added image