• sudhakartrao1.3965789150856177E12
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
Hi,

I am extracting salesforce data in csv and sending in email using scheduled apex.
Every thing looks find excpet the Japanese text display in CSV file looks junk.

What is the content type of the attachment to handle japanese text as well.

Messaging.EmailFileAttachment csvAttc = new Messaging.EmailFileAttachment();
                            blob csvBlob = Blob.valueOf(finalstr);
                            string csvname= 'Foreign Companies List.csv';
                            csvAttc.setContentType('text/csv; charset=UTF-8');
                            csvAttc.setFileName(csvname);
                            csvAttc.setBody(csvBlob);
Hi ,

We have implemented Salesforce Single Sign on with Active Directory using SAML 2.0

1. SSO login is successfull.
2. When user log out from salesforce , salesforce session ended however the ADFS session still active .
    User-added image
  
   When the user clicks Single sign on button again ,salesforce session starts without asking for username and password as ADFS session is still active.

Please help to configure "Identity Provider Logout URL" in SSO settings.
Hi,

I am extracting salesforce data in csv and sending in email using scheduled apex.
Every thing looks find excpet the Japanese text display in CSV file looks junk.

What is the content type of the attachment to handle japanese text as well.

Messaging.EmailFileAttachment csvAttc = new Messaging.EmailFileAttachment();
                            blob csvBlob = Blob.valueOf(finalstr);
                            string csvname= 'Foreign Companies List.csv';
                            csvAttc.setContentType('text/csv; charset=UTF-8');
                            csvAttc.setFileName(csvname);
                            csvAttc.setBody(csvBlob);
Hi ,

We have implemented Salesforce Single Sign on with Active Directory using SAML 2.0

1. SSO login is successfull.
2. When user log out from salesforce , salesforce session ended however the ADFS session still active .
    User-added image
  
   When the user clicks Single sign on button again ,salesforce session starts without asking for username and password as ADFS session is still active.

Please help to configure "Identity Provider Logout URL" in SSO settings.