Questions tagged [shared-activities]
The shared-activities tag has no summary.
20 questions
0 votes
1 answer
34 views
Possible to enfore Shared Activities through managed package
I have an external application that depends on a user installing my managed package to create some custom fields etc. My external application creates calendar events and allows the user to add ...
0 votes
1 answer
551 views
Apex Query to TaskWhoRelation
Here is my code. Need help to find the right way to check IF logic with TaskWhoRelation.relationId instead objTask.WhoId. Any type of help will be grateful. set<Id> setIds=new set<Id>(); ...
0 votes
1 answer
184 views
How to get Activity History when SharedActivities is enabled/disabled
I execute the following query to get activity history for an account SELECT (SELECT Id, IsTask, ActivityDate, ActivitySubtype, Subject, Owner.Name,PrimaryWhoId,WhatId,PrimaryWho.Name, What.Name ...
0 votes
1 answer
3k views
how to get the list of contacts that are associated for an events
hi all i have created an event with multiple contacts and then when i was trying to get the list contacts that are associated with an event in SOQL the result only first contact is returning i.e ...
0 votes
0 answers
314 views
Unable to change WHOID of Event with Shared Activities are enabled
I'm getting the below error, whenever i'm trying to update the WHOID of the Event. Update failed. First exception on row 0 with id 00U3600000MA8x4EAD; first error: INVALID_CROSS_REFERENCE_KEY, The ...
1 vote
1 answer
70 views
Getting info on files that were shared between dates [closed]
I'm fairly new to Salesforce API, I'm trying to get information on files that were shared between dates. I would like to know how to retrieve this info using REST API. Is it even possible to query ...
4 votes
2 answers
2k views
Enable SharedActivities automaticaly for new scratch org
Is there any chance to set up scratch org definition file, to create new scratch orgs with SharedActivities functionality enabled? We just implemented some functionalities using TaskRelation object, ...
0 votes
2 answers
817 views
Share a Post on behalf of some-other user
I am having requirement to share a Post on behalf of some-other user(Integration User), I am trying to acheive this through Apex Connect Api. But post is shared using the logged in user. I Refered ...
2 votes
0 answers
2k views
Relating Task to Multiple Accounts
Is it possible to relate a task to multiple accounts? I am not wanting to relate to multiple contacts within accounts. I want to pull agreement information into salesforce, and the relationship is ...
0 votes
1 answer
125 views
Package installation fails to org's with Shared Activies disabled. "Invalid field TaskWhoIds for SObject Task"
I have a problem where the package installation fails to organisations that has Shared Activity disabled. As far as I understand the case is that TaskWhoIds is not available on orgnaisations that has ...
2 votes
1 answer
775 views
Adding or Updating EventRelation on Shared Activities in Flow
I built a visual workflow for a meeting rescheduling process. The flow needs to be handled by anyone, not just the meeting creator. The flow is called from the Event object itself. Note that Share ...
2 votes
2 answers
299 views
Issue with handling Shared Activities enabled/disabled in managed package
I have a managed package and I wanted to create or update tasks through Apex. We also would like to include this in managed package. While researching I found that to update WhoId field of tasks ...
3 votes
0 answers
579 views
Custom Visualforce Page for Shared Activities
I'm trying to create an inline Visualforce page to substitute for the standard 'Name' related list on Shared Activities. The problem I am trying to solve is getting more information that just the ...
1 vote
0 answers
26 views
Some Contacts not appearing in "Select Contacts" tool for Shared Activities
Some of my users are complaining about certain contacts not showing up in the Contact search when Shared Activities is enabled. The one contact I can reliably duplicate this bug with is a contact ...
2 votes
0 answers
473 views
ContentDocumentLink to get recently unshared FileIds for Files tab
Whenever a File in files tab is updated (title renamed, description), ContentDocument field 'LastModifiedDate' is updated. For share activity on any file, ContentDocument's field 'LastReferencedDate' ...