• TMCBA
  • NEWBIE
  • 5 Points
  • Member since 2012
  • Sr. Business Analyst
  • Eaton/Trippe Manufacturing Company

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 2
    Replies
Problem: Clicking on a custom button (Lightning component) on an Opportunity LEX page produces an internal server error.
Error:
An internal server error has occurred
An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact Salesforce Support. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience.

Thank you again for your patience and assistance. And thanks for using salesforce.com!

Error ID: 760508275-302660 (-277500788)


Details:
Custom button in Classic:  View Executive PDF- clicking on the button produces a custom PDF view of the Opportunity record based on security associated with the VF page. As a system administrator, I have access to view the PDF.

In LEX, our dev created a Lightning component which includes the button, View Executive PDF. Clicking on the button should display the custom PDF. LCC visibility is set on the page layout.  When clicking on the View Exec PDF button, the internal server error is displayed. Same error is received when an authorized user clicks on the button in LEX.  Both the user profile and system admin profiles are included in the VF page security.

Below is the code for the LCC:

<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="opportunityPrintoutController" >
    <ltng:require styles="{! $Resource.pdfcss}" />
    <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
    <aura:attribute name="entityId" type="String" access="public" default="{!v.recordId}" />
    <aura:attribute name="url" type="String" access="public" />
    <div style="background-color:white;padding:10px;border-radius:5px">
            <fieldset><legend>View Opp PDFs</legend>
            <p style="text-align:center">
        <lightning:button variant="Neutral" label="View Executive PDF" title="View Pdf" onclick="{! c.handleClick }"/>
        <lightning:button variant="Neutral" label="View PDF" title="View Pdf" onclick="{! c.handleClick2 }"/>
    </p>
    </fieldset>
        </div>
</aura:component>

______________________________________

Controller:
({
    doInit: function(cmp,event,helper) {
        var action= cmp.get("c.getSfUrl");
        action.setCallback(this, function(response) {           
            var responseValue = response.getReturnValue();
            cmp.set("v.url",responseValue);           
        });
        $A.enqueueAction(action);      
    },
            handleClick : function(component, event, helper) {
        var getId = component.get( "v.entityId" );
        var url=component.get( "v.url");       
        window.open(url +'/apex/ExecPdfView?id='+getId);
             },
    handleClick2 : function(component, event, helper) {
        var getId = component.get( "v.entityId" );
        var url=component.get( "v.url");     
        window.open(url+'/apex/RegPdfView?id='+getId);
             },
   
})

Debug logs are not providing any good hints or information as to what the problem may be.

I appreciate anyone's input who has had experience with this problem.

Thank you!
  • March 23, 2021
  • Like
  • 0

I would like to change a field type for a custom Case field (from Text to Text Area).  The reason for the change is that I need users to enter data in separate lines.

I have temporarily removed it from the associated field updates.  When I try to change the field type, I get the following error:  The field you're trying to change is in use on site <a href="https://sitestudio.cs51.force.com/?siteId=0DM50000000GmxE">Tripp_Lite_Customer_Community1</a>.

That community has a status of Inactive.

How do I remove the reference to the community so that I an change the field type?

I received the following solution from SF Support, but I don't see a case template in use or any data connections to remove.

1. Navigate to sitestudio.
2. Click on Page templates.
3. Open the 'Cases' and 'Open a case' template
4. Navigate to Page data connection in the right corner and try to remove them.
5. Go back to Case field and you try to change the data type of the case field.
6. Reconnect the Case connection from page properties -> 'Page Data Connection' for those pages that temporarily removed the connections.

If you still cannot change the data type of the Case field then publish the changes in Studio after disconnecting the Case connection.

Hoping someone can lend their expertise.  Thank you!

  • August 03, 2016
  • Like
  • 0
We've received the following email for a developer script exception:

"Subject: Undeliverable: Developer script exception from Tripp Lite : Case_Product_Filler : Case_Product_Filler: execution of BeforeUpdate caused by: System.DmlException: Update failed. First exception on row 0 with id 5003800000hQp5vAAC; first error: FIELD_CUS...

Delivery has failed to these recipients or groups:
IMCEAEX-_o=TrippLite_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=nvajor@tripplite.com
The e-mail address you entered couldn't be found. Please check the recipient's e-mail address and try to resend the message. If the problem continues, please contact your helpdesk."

The email referenced in the error message (nvajor@tripplite.com) is no longer an active user/employee.  We're trying to figure out where this can be changed/removed so that the emails don't persist.

It doesn't seem to be included in the trigger.  Where would we go to modify this information?

Thank you.
  • October 15, 2015
  • Like
  • 0
We have implemented a custom VF page on the Opportunities object that presents the record in a PDF format to users when they click on a custom button. On the VF page, we have a section/group of fields that displays the date/time stamp and user names for the approvals.  The date/time stamp display is visible to users as long as their user locale matches that of our corporate locale (English/United States).
For instance, a user set his locale to Hungarian. He is able to see the expected data values on the PDF except for the date/timestamp detail.  In the SF UI, though, he has access to all the same data on the record.
 
After additional testing, (by changing user locale to various values, logging in as user and viewing the PDF), it appears that Hungarian locale presents a problem while several of the other locales are not an issue.  Has anyone come across issues with the Hungarian locale?

How do we account for the individual user locale settings on our VF page so that the date/time stamps are visible regardless of their locale setting?
  • November 12, 2012
  • Like
  • 0
Problem: Clicking on a custom button (Lightning component) on an Opportunity LEX page produces an internal server error.
Error:
An internal server error has occurred
An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact Salesforce Support. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience.

Thank you again for your patience and assistance. And thanks for using salesforce.com!

Error ID: 760508275-302660 (-277500788)


Details:
Custom button in Classic:  View Executive PDF- clicking on the button produces a custom PDF view of the Opportunity record based on security associated with the VF page. As a system administrator, I have access to view the PDF.

In LEX, our dev created a Lightning component which includes the button, View Executive PDF. Clicking on the button should display the custom PDF. LCC visibility is set on the page layout.  When clicking on the View Exec PDF button, the internal server error is displayed. Same error is received when an authorized user clicks on the button in LEX.  Both the user profile and system admin profiles are included in the VF page security.

Below is the code for the LCC:

<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="opportunityPrintoutController" >
    <ltng:require styles="{! $Resource.pdfcss}" />
    <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
    <aura:attribute name="entityId" type="String" access="public" default="{!v.recordId}" />
    <aura:attribute name="url" type="String" access="public" />
    <div style="background-color:white;padding:10px;border-radius:5px">
            <fieldset><legend>View Opp PDFs</legend>
            <p style="text-align:center">
        <lightning:button variant="Neutral" label="View Executive PDF" title="View Pdf" onclick="{! c.handleClick }"/>
        <lightning:button variant="Neutral" label="View PDF" title="View Pdf" onclick="{! c.handleClick2 }"/>
    </p>
    </fieldset>
        </div>
</aura:component>

______________________________________

Controller:
({
    doInit: function(cmp,event,helper) {
        var action= cmp.get("c.getSfUrl");
        action.setCallback(this, function(response) {           
            var responseValue = response.getReturnValue();
            cmp.set("v.url",responseValue);           
        });
        $A.enqueueAction(action);      
    },
            handleClick : function(component, event, helper) {
        var getId = component.get( "v.entityId" );
        var url=component.get( "v.url");       
        window.open(url +'/apex/ExecPdfView?id='+getId);
             },
    handleClick2 : function(component, event, helper) {
        var getId = component.get( "v.entityId" );
        var url=component.get( "v.url");     
        window.open(url+'/apex/RegPdfView?id='+getId);
             },
   
})

Debug logs are not providing any good hints or information as to what the problem may be.

I appreciate anyone's input who has had experience with this problem.

Thank you!
  • March 23, 2021
  • Like
  • 0
We've received the following email for a developer script exception:

"Subject: Undeliverable: Developer script exception from Tripp Lite : Case_Product_Filler : Case_Product_Filler: execution of BeforeUpdate caused by: System.DmlException: Update failed. First exception on row 0 with id 5003800000hQp5vAAC; first error: FIELD_CUS...

Delivery has failed to these recipients or groups:
IMCEAEX-_o=TrippLite_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=nvajor@tripplite.com
The e-mail address you entered couldn't be found. Please check the recipient's e-mail address and try to resend the message. If the problem continues, please contact your helpdesk."

The email referenced in the error message (nvajor@tripplite.com) is no longer an active user/employee.  We're trying to figure out where this can be changed/removed so that the emails don't persist.

It doesn't seem to be included in the trigger.  Where would we go to modify this information?

Thank you.
  • October 15, 2015
  • Like
  • 0