• Kaplan Elad
  • NEWBIE
  • 15 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 2
    Replies
I'm looking for a way to keep Community users logged in at all times, i.e keep their sessions alive until they choose to log off.

The reason is that I have a Mobile App and I want to save them the Login process via mobile every time.

Is that an option at all? 
I have a requirement to add existing Attachments to a visualforce email template.

I want to add Attachments under a specific Case (from "Notes & Attachments") to send it to Contacts.

Any idea if it's possible and how do I do it ?

Thanks!!
I have a text field on Account, which hold domains spereated with semi colon ( e.g: gmail.com,aol.com,hotmail.com).

I want to retreive all the Accounts, where this field contains specific domain (e.g: gmail.com).

Can I do it?
I'm testing a web service and when trying to make a callout, I'm getting an error message - System.HttpResponse[Status=Method Not Allowed, StatusCode=405].

I'm trying to call a test website "http://httpbin.org/ip" and this is my code  :

    String content = 'test';
    Http m_http = new Http();
    HttpRequest req = new HttpRequest();
            
    req.setEndpoint('http://httpbin.org/ip');
    req.setHeader('Content-Type','application/json');        
    req.setMethod('POST');
    req.setBody(content);
            
     httpResponse response = m_http.send(req);
     system.debug('response : ' + response);

Anyone ? 
I have a requirement to add existing Attachments to a visualforce email template.

I want to add Attachments under a specific Case (from "Notes & Attachments") to send it to Contacts.

Any idea if it's possible and how do I do it ?

Thanks!!
I have a text field on Account, which hold domains spereated with semi colon ( e.g: gmail.com,aol.com,hotmail.com).

I want to retreive all the Accounts, where this field contains specific domain (e.g: gmail.com).

Can I do it?
I want to update some fields on a case related to an email message, when the email message status changes, the problem is, that the status change doesn't triggers anything (trigger or workflow), I also can't create a custom object to look up to an Email message.

Anyone has a work around i can do ?