• Ravi Chandra Chevula 16
  • NEWBIE
  • 0 Points
  • Member since 2018
  • Sr. Salesforce Developer
  • PRA Health Science

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 0
    Replies
I have an issue with Custom label behavior. I have created Custom Label to Show/Hide Custom Related list. This custom label is set to false for the first time. It is made true to test but still $Label.c.Switch gives false. I tried to clear cache, tried to reload the page many times and also tried with Private window mode. Sometimes It will be true and sometimes false.
Below is the code using Custom Label
<aura:if isTrue="{! $Label.c.Switch == 'true'}">
        <aura:if isTrue="{!v.failedToLoadDynamicComponent}">
            <h3>Failed to dynamically load Safety Letters related list.</h3>
            <aura:set attribute="else">
                {!v.body}
            </aura:set>
        </aura:if>        
        <aura:set attribute="else">
            <h3>Please make Switch to true to see records</h3>
        </aura:set>
    </aura:if>
Is anyone else facing this issue or has found a solution for it?
 
Download of CSV file functionality is not working for Microsoft Edge but working fine in Chrome and Fire Fox 

here is the below piece of code which i making use of 
generateReportAction.setCallback(this, function(response) {
		    var state = response.getState(); 
			if(component.isValid() && response.getState() === 'SUCCESS'){
                var hiddenElement = document.createElement('a');
                hiddenElement.href = 'data:text/csv;charset=utf-8,' + encodeURI(response.getReturnValue());
                hiddenElement.target = '_self';
                if(reportType == "UserReport"){
                    hiddenElement.download = 'Study-' + record.protocolName + '-UserReport.csv';
                }

                if(reportType == "FolderReport"){
                    hiddenElement.download = 'Study-' + record.protocolName + '-FolderReport.csv';
                }
                document.body.appendChild(hiddenElement);
                hiddenElement.click();
            } else {
				component.find("showToastCmpId").showToastMessages( 'Error: ',
																	'There was an error during generating the Folders Report.',
																	'error' );
			}
		});

 
Email Alerts used in Process Builder and Approval Process components are not triggered after Sumer 19' Release in classic experience fo slaesforce

Checked below mentioned:

* Deliveribitly -> Access Level -> All Email
* Created a sample Process Builder on Account and invoked it manually, action expected is triggering email, Which was not fired.
* When user profile changed  from Base Platform user (Licence: Saleforce Platform) to System Administrator (Licence: Saleforce) amd again changes been reverted to Base Platform user (Licence: Saleforce Platform) from System Administrator (Licence: Saleforce) for a user email alerts are triggred properlly. 
* Email alerts from same process builder and approval process is working fine when the components are invoked from Lightning Experience.
* While performing actions (Email alerts from Process Builder) placed Debug logs and as well as Email logs, Debug logs says email has been sent to the recipient but in Email logs there's no sign of those email addresses. 

Any inputs will be appreciated 

Thanks
Ravi Chandra