We’re rewarding the question askers & reputations are being recalculated! Read more.
4

There is a standard field on Task/Event called Public, which is not visible by default, not even for System Administrators. The value of this checkbox needs to be true to make the event visible for external users in a community.


2

Your last loop needs to operate on trigger.new. Change it as below: // Update the contact functional role field on the Event with the relevant value for (Event e : trigger.new) { e.contact_functional role__c = confunrole.get(e.whoID); } I would also recommend that you change the line below in your code and simply use a set of Ids instead. I'd avoid ...


2

Navigate to Setup > Customize > Activities > Activity Settings. The last checkbox in the list is called Allow Users to Relate Multiple Contacts to Tasks and Events. Helptext: Enabling this feature lets users relate up to 50 contacts to a task or event (except a recurring task or event). From Apex, you can inspect the global describe to see if a specific ...


2

The reference you've cited is for sharing within your primary SF Org, not within your Community. You'll need to set-up additional sharing for your community which might include enabling External Org Wide Defaults. Primary resources you'll want to look at are Getting Started with Communities, the Security Workbook, the Security Implementation Guide and ...


2

You need to use the EventRelation and TaskRelation objects to locate additional contacts related to tasks and events.


1

For this particular setting, you can get it without touching the Metadata API: Boolean isEnabled = Schema.getGlobalDescribe().containsKey('TaskWhoRelation')); From the TaskWhoRelation documentation (emphasis mine): TaskWhoRelation Represents the relationship between a task and a lead or contacts. This object is available in API version 29.0 and ...


1

I am calculating a revenue schedule 1 to 8 quarters out from a close date. I needed to calculate the Fiscal Quarter for each quarter beyound the Close Date and Display the Revenue Quarter as: "Qx-20xx" or Q3-2011. Here is my formula for Revenue Quarter x (Rev_Qtr_x__C)= CASE(MONTH(Revenue_Start_Date__c+(x*DiQ__c )),1,"Q1",2,"Q1",3,"Q1",4,"Q2",5,"Q2",6,"Q2",...


1

Activity History is not visible if org wide sharing is private, even if there is a sharing rule. This is a known issue...


1

In a Private Sharing model with Activities controlled by parent, users can only view activities on the Activity related list if the activity is assigned to that user. Using a sharing rule to open up access on the parent record will not roll down to the activity. Without any workflow, the the only viable workaround is to change the OWD for the parent object ...


Only top voted, non community-wiki answers of a minimum length are eligible