• AndreyB92
  • NEWBIE
  • 20 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 0
    Replies
I created Quick Action for Case object to create child record. I added it to Case Feed layout, but it doesn't show there.
I have permissions to create records for child object.
What am I doing wrong?

Best regards,
Andrey
I've an issue with creation of cases in community. When I click "Ask a question" or "Contact support" I'm getting an error "Either this action doesn't exist or you don't have access to it: NewCase".
I've tried to create record types, create new global actions. And these actions aren't resolve my problem. This org with enabled My Domain. 
It's Napili template. 

User-added image
Any ideas?
Hi all!

I want add link to the customer portal in email body when support agent sends email to client from case (if client has access to customer portal). I've created trigger to do this, but it doesn't change email body 
 
trigger Add_Link on EmailMessage (before insert) 
{
      for (EmailMessage em : Trigger.new)
      {
          if (em.Incoming==false)
          {
            string link='Link to Customer Portal';
            if (em.TextBody!=null)
            {
              string buf=link+'<br/>'+em.TextBody;
              em.TextBody=buf;
              system.debug('text '+em.TextBody);
            }
            if (em.HtmlBody!=null)
            {
              string buf=link+'<br/>'+em.HtmlBody;
              em.HtmlBody=buf; 
              system.debug('html '+em.HtmlBody);
            }
          }
      }
}
Maybe I'm doing something wrong? Any ideas how to achieve this?

Thanks!