-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
10Questions
-
5Replies
Custom fields on user not accessible in soql for task object via owner lookup
[SELECT id, owner.Any_Custom_Field_on_User__c FROM Task]
This is returning an error.
- Akash Punera
- August 23, 2019
- Like
- 0
- Continue reading or reply
Not getting record id in New task action override salesforce1 mobile app
COMPONENT: <aura:component implements="force:hasRecordId,lightning:actionOverride" access="global"> <aura:handler name="init" value="{!this}" action="{!c.doInit}"/> </aura:component> CONTROLLER: ({ doInit : function(component, event, helper) { alert(component.get("v.recordId")); } })
This is a basic version of the code for reference.
- Akash Punera
- August 08, 2019
- Like
- 0
- Continue reading or reply
Getting error viewing report in community
INVALID_TYPE: sObject type 'Report' is not supported in describeCompactLayouts.
- Akash Punera
- July 30, 2019
- Like
- 0
- Continue reading or reply
What is the meaning of 'userscope' parameter in Report URL
report_url?userscope=reportfolder
- Akash Punera
- July 23, 2019
- Like
- 0
- Continue reading or reply
Remove app launcher from lightning experience for external user
- Akash Punera
- July 23, 2019
- Like
- 0
- Continue reading or reply
AuraDocs giving error on viewing some component documentations
- Akash Punera
- May 13, 2019
- Like
- 0
- Continue reading or reply
When do Salesforce archive activities?
- Akash Punera
- August 02, 2018
- Like
- 0
- Continue reading or reply
Not able to save task in lightning when Time field is available on layout
- Akash Punera
- June 28, 2018
- Like
- 0
- Continue reading or reply
Using lightning component tag "<ui:inputDateTime />" Datetime format is not reflecting based on locale for en_US locale but working for other locale format.
Expected:6/28/2018
Actual: Jun 28, 2018
- Akash Punera
- June 28, 2018
- Like
- 0
- Continue reading or reply
jqwidget datatable /jqwidgets/jqxcore.js not loading in lightning, giving error Uncaught ReferenceError: jqwidgets is not defined
Uncaught ReferenceError: jqwidgets is not defined
- Akash Punera
- March 19, 2018
- Like
- 0
- Continue reading or reply
Custom fields on user not accessible in soql for task object via owner lookup
[SELECT id, owner.Any_Custom_Field_on_User__c FROM Task]
This is returning an error.
- Akash Punera
- August 23, 2019
- Like
- 0
- Continue reading or reply
When do Salesforce archive activities?
- Akash Punera
- August 02, 2018
- Like
- 0
- Continue reading or reply
isArchived Event/Task Field
Hi all,
I have a scenario where I need to create test coverage for some code that deals with Archived Activities (Events and Tasks with isArchived = TRUE).
1) Aside from setting SeeAllData = TRUE, is there any way to create a few Archived records?
2) I tried updating my Activities per the criteria here: http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_guidelines_archive.htm, but it doesn't set isArchived to true for me. I'm assuming this is some sort of nightly job? If so, is there a system method that I can use to trigger this? On the flip side, in a non-testing environment, if I update an Event or Task to violate the Archive criteria, isArchived is instantly updated to false.
Thanks in advance!
- kirkevonphilly
- June 21, 2013
- Like
- 0
- Continue reading or reply
Batch apex and archived activities
I have a batch apex - this queries the task table.
I need th query to return all activities till date - including archived activities. The API has a queryALL call that does this, but I haven't found a similar one in apex. Adding ALL ROWS to the end of the SOQL query doesn't work
Any help will be greatly appreciated. Thank you
-VJ
PS: this query is inside the execute method.
- witoutme247
- May 06, 2010
- Like
- 0
- Continue reading or reply
Archiving Activities
I've been trying to test the Archival process and am having some conflicting results with the API documentation (and information from one of the SEs)...
According to the API: http://www.sforce.com/us/docs/sforce40/sforce_API_objects_Event.html#wp1344166
Sforce archives activities according to the following criteria.
- Events with an ActivityDateTime or ActivityDate value greater than or equal to 365 days old
- Tasks with a Closed flag value of True and an ActivityDate value greater than or equal to 365 days old
- Tasks with a Closed flag value of True, a blank ActivityDate field, and a create date greater than or equal to 365 days ago
I've tried creating activities in my developer account dated back in 2001 and I cannot seem to get them archived (or what happens in the UI/API regarding accessability is incorrect). Can anyone confirm/deny the API docs and/or archival interval. (I was told it was nightly.)
Thanks.
- daroz
- September 14, 2004
- Like
- 0
- Continue reading or reply