The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [shared-activities]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
29 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
1answer
157 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
0answers
53 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, ...
1
vote
1answer
26 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
1answer
437 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
2answers
316 views

Not able to update the WhoId field on Task and Event records

I have a batch process that updates the WhoId field of Task records. When this batch process executes, I am currently getting the following error: Update failed. First exception on row 0 with id ...
0
votes
2answers
277 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
0answers
693 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 ...
1
vote
0answers
2k views

How tasks are visible to other users?

I have scenario where OWD is Account - Public Read Only Contact - Private Activity -Private There are some tasks which are visible to other users which are not assigned to them. The tasks which ...
0
votes
1answer
74 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 ...
1
vote
1answer
300 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
2answers
120 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
0answers
529 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
0answers
18 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
0answers
382 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' ...
2
votes
2answers
750 views

Error inserting TaskRelation records

I have a client who wants the ability to clone a task that has multiple contacts. They would make slight changes to the cloned task (Assigned To, etc) but the multiple contacts would remain the same. ...
1
vote
1answer
1k views

How do I access Shared Data Extension using Server Side Javascript?

I am trying to access Shared Data Extension using Server Side Javascript. I am trying the below stated code but it is not working. Even though the Data Extension has more than 1 record, the length I ...
0
votes
1answer
192 views

Unable to load ActivityHistory for shared activities in APEX

I'm using APEX to load ActivityHistory records for Contacts. However, in an org using shared activities I find that my query only returns records for which a contact is the primary 'WhoId' -- not the ...
4
votes
1answer
1k views

How can I update Tasks via API in an org with 'Shared Activities' enabled?

“I've adapted Scott Hammeter's dandy code (http://sfdc.arrowpointe.com/2009/10/06/associate-email-to-salesforce-task-to-opportunity/) so I can relate the tasks created by inbound Email-to-Salesforce ...
1
vote
2answers
651 views

Why do Queries on Tasks not return records when multi-connect is enabled?

I have a visualforce page and controller in a development org with multi-connect to tasks (shared activities) enabled. If I query a task with multiple connected contacts through that page it returns 0 ...