• Ian Macomber
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
I'm trying to run an UPDATE statement in SOQL to set a DateTime field back to NULL (or whatever the default value is in Salesforce for DateTime fields) and running into issues with this.  Here are some of the statements I've tried to run with no success:

UPDATE CustomObject__c SET DateTimeField__c = NULL WHERE OtherField__c = 'value'
UPDATE CustomObject__c SET DateTimeField__c = null WHERE OtherField__c = 'value'
UPDATE CustomObject__c SET DateTimeField__c = '' WHERE OtherField__c = 'value'
UPDATE CustomObject__c SET DateTimeField__c = ' ' NULL WHERE OtherField__c = 'value'

Does anyone have any thoughts as to how this should work?
I'm seeing an issue with getting custom actions to show consistently in the list of Chatter actions when using Salesforce Communities.  Here's what I've done:
  • Create a very simple "Hello World" Visualforce Page.
  • Created a new custom action that uses the previously mentioned Visualforce Page.
  • Add the previously mentioned custom action to the global layout so that it will appear in the list of actions within Chatter.
At this point if I go to the Salesforce home page within the internal Salesforce org (i.e. NOT the community) I am able to see the new, custom action I just added.

Also, when I first switch over to my community I still see the custom action that I just added to Chatter.  However, in the left-hand nav, if I click on the link for "People" and then click on the link to back to "Feed" I see Chatter load up, but my custom action is not present.  If I refresh that page I see my custom action again.

This feels like it may be a bug somewhere in the Salesforce platform but I wanted to reach out to my peers for confirmation of that or helpful solutions to work around this issue.
I'm seeing an issue with getting custom actions to show consistently in the list of Chatter actions when using Salesforce Communities.  Here's what I've done:
  • Create a very simple "Hello World" Visualforce Page.
  • Created a new custom action that uses the previously mentioned Visualforce Page.
  • Add the previously mentioned custom action to the global layout so that it will appear in the list of actions within Chatter.
At this point if I go to the Salesforce home page within the internal Salesforce org (i.e. NOT the community) I am able to see the new, custom action I just added.

Also, when I first switch over to my community I still see the custom action that I just added to Chatter.  However, in the left-hand nav, if I click on the link for "People" and then click on the link to back to "Feed" I see Chatter load up, but my custom action is not present.  If I refresh that page I see my custom action again.

This feels like it may be a bug somewhere in the Salesforce platform but I wanted to reach out to my peers for confirmation of that or helpful solutions to work around this issue.