• sheetal agrawal
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 3
    Replies
Upon clicking on "view" link, system should download the file for the current user. Developer needs to use the standard behaviour of salesforce here.


User-added image

Can anyone help me, how can i implement this behaviour. what is the standard functionality availble in salesforce for this
Hi,

I need to open a custom page in new tab inside Console-
Below code is opening the tab in complete new tab i.e ouside console in salesforce

if(sObjName=='Case'){
                SObject record = Database.query('Select CaseNumber From ' + sObjName + ' Where Id = :subOrderId');
                extractName= record.get('CaseNumber');
                c.Re_send_email_Link__c='<a href=' +System.URL.getSalesforceBaseUrl().toExternalForm()+'/'+subOrderId+' >'+extractName+'</a> <br/>';



Please help  
Hi,

the code below gives attachment name as SoSME DQ Extract..... , ignoring the '/' bettween
"So SME". Can anyone help me getting the '/' in attachment name

Messaging.EmailFileAttachment attachment = new Messaging.EmailFileAttachment();
        attachment.setFileName('So/SME DQ Extract'+System.now()+'.csv');
        attachment.setBody(b);
        attachment.setContentType('text/csv');
I have build a lightning component to list all the open cases and inserted in a page layout. But I want to hyperlink the case number, if someone clicks on that, it should take the user to the corresponding case for view/edit etc. can you pls let me know how to do this. thanks.
  • August 17, 2018
  • Like
  • 0
Hi,

the code below gives attachment name as SoSME DQ Extract..... , ignoring the '/' bettween
"So SME". Can anyone help me getting the '/' in attachment name

Messaging.EmailFileAttachment attachment = new Messaging.EmailFileAttachment();
        attachment.setFileName('So/SME DQ Extract'+System.now()+'.csv');
        attachment.setBody(b);
        attachment.setContentType('text/csv');

Hi,

 

In Service Console, I have created a custom button in lead detail page. On click of that button, I need to open a Service Console subtab(passing the lead Id). Please let me know how to achieve this. I dont know much about Service Cloud.

Its very urgent, so a immediate response is very very helpful to me.  Thanks a lot.

 

--Jaya.