• Stephen Crane 7
  • NEWBIE
  • 5 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 2
    Replies
Hey there,

We are using Salesforce Lightning - and looking for a way to generate a PDF for Orders with Products and shipping information. I have the button to generate PDF, but not sure how to include all the Products (anywhere from 1-8 depending on the Order).

I'm new-ish to dev-type things in Salesforce, how can I do this?
In what seems sproatic, our users are getting errors when visiting cases in Salesforce Lightning. We have two custom lightning components right now that a developer made for us, Case Merge, and seeing if anyone is also viewing the case (which is temporarily removed).

The error is the following - is there anything that can be done? This seems to come up semi-regularly.

Uncaught Component class instance initialization error [Definition does not exist on the client for descriptor:markup://support:compactFeedItemHeader]
Callback failed: serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.RecordFeedContainerController/ACTION$getCompactFeedModel
throws at https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:8:15
V.Cb()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:586:154
a.D.Vd()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:306:162
a.BJ()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:328:494
new a()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:260:254
V.Cb()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:585:465
a.D.Vd()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:306:162
a.BJ()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:328:494
new a()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:260:254
V.Cb()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:585:465
a.D.Vd()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:306:162
So we're getting errors this morning when trying to assign a Case to an Account, or Contact. The error pops up, but it still assigns them. Not sure what the error is. The only customization we have is a recently viewed visual force page, and a case merge. I've removed both and still reproducable. Error details below.

Error in $A.getCallback() [a.find(...).getElement is not a function]
Object.completeConfig()@https://unoapp.lightning.force.com/components/force/relatedListSingleContainer.js:9:21
Object.eval()@https://unoapp.lightning.force.com/components/force/relatedListSingleContainer.js:8:185
Object.loadMetadata()@https://unoapp.lightning.force.com/libraries/force/relatedListsDataManagerLibrary/relatedListsDataManager.js:20:483
Object.handleParentRecordUpdated()@https://unoapp.lightning.force.com/components/force/relatedListSingleContainer.js:6:517
handleParentRecordUpdated()@https://unoapp.lightning.force.com/components/force/relatedListSingleContainer.js:1:437
Hey all! I have a field that calculates the business hours from when a case comes in, to when it is first responsed.  It looks like rihgt now, it displays the values in hours - I'm wondering if we can get minutes....not sure how to do that without messing everything up. The formula originally came from a success post that I can't find anymore plus some tinkering. Essentially our business hours are 9am EST - 9pm EST all week.

ROUND( 12.00 * (
   ( 7.00 * FLOOR( ( DATEVALUE( First_Response__c ) - DATE( 1900, 1, 8) ) / 7) +
    MIN(5.00, 
     MOD( DATEVALUE( First_Response__c ) - DATE( 1900, 1, 8), 7) +
     MIN( 1, 24 / 12 * ( MOD( First_Response__c - DATETIMEVALUE( '1900-01-08 13:00:00' ), 1 ) ) )
    ) 
   )
 -
   ( 7.00 * FLOOR( ( DATEVALUE( CreatedDate ) - DATE( 1900, 1, 8) ) / 7) +
     MIN( 5,
      MOD( DATEVALUE( CreatedDate ) - DATE( 1996, 1, 1), 7 ) +
      MIN( 1, 24 / 12 * ( MOD( IF(AND(CreatedDate
 < DATETIMEVALUE(TEXT(YEAR(DATEVALUE(CreatedDate
))) + '-' + TEXT(MONTH(DATEVALUE(CreatedDate
))) + '-' + TEXT(DAY(DATEVALUE(CreatedDate
))) + ' 13:00:00'), CreatedDate
 >= DATETIMEVALUE(TEXT(YEAR(DATEVALUE(CreatedDate
))) + '-' + TEXT(MONTH(DATEVALUE(CreatedDate
))) + '-' + TEXT(DAY(DATEVALUE(CreatedDate
))) + ' 01:00:00')),DATETIMEVALUE(TEXT(YEAR(DATEVALUE(CreatedDate
))) + '-' + TEXT(MONTH(DATEVALUE(CreatedDate
))) + '-' + TEXT(DAY(DATEVALUE(CreatedDate))) + ' 13:00:00'), CreatedDate
) - DATETIMEVALUE('1996-01-01 13:00:00'), 1) ) )
    )
   ) 
  ), 
MOD((First_Response__c - DATETIMEVALUE('2017-01-02 13:00:00'))*1440,1440)/60 )
Hey there! We're using Salesforce Service Cloud in lightning. There is a refresh case feed button that will not refresh the page, just the feed with new messages. So a rep can be writing an email, and then suddenly a new chatter post was pasted or something.

Is there a way we can have this case feed refresh trigger every 15-30 seconds?

User-added image
Hey there! We're using Salesforce Service Cloud in lightning. There is a refresh case feed button that will not refresh the page, just the feed with new messages. So a rep can be writing an email, and then suddenly a new chatter post was pasted or something.

Is there a way we can have this case feed refresh trigger every 15-30 seconds?

User-added image
In what seems sproatic, our users are getting errors when visiting cases in Salesforce Lightning. We have two custom lightning components right now that a developer made for us, Case Merge, and seeing if anyone is also viewing the case (which is temporarily removed).

The error is the following - is there anything that can be done? This seems to come up semi-regularly.

Uncaught Component class instance initialization error [Definition does not exist on the client for descriptor:markup://support:compactFeedItemHeader]
Callback failed: serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.RecordFeedContainerController/ACTION$getCompactFeedModel
throws at https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:8:15
V.Cb()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:586:154
a.D.Vd()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:306:162
a.BJ()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:328:494
new a()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:260:254
V.Cb()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:585:465
a.D.Vd()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:306:162
a.BJ()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:328:494
new a()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:260:254
V.Cb()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:585:465
a.D.Vd()@https://unoapp.lightning.force.com/auraFW/javascript/pX1ganOCAMJgvd2N5wQKGQ/aura_prod.js:306:162
Hey all! I have a field that calculates the business hours from when a case comes in, to when it is first responsed.  It looks like rihgt now, it displays the values in hours - I'm wondering if we can get minutes....not sure how to do that without messing everything up. The formula originally came from a success post that I can't find anymore plus some tinkering. Essentially our business hours are 9am EST - 9pm EST all week.

ROUND( 12.00 * (
   ( 7.00 * FLOOR( ( DATEVALUE( First_Response__c ) - DATE( 1900, 1, 8) ) / 7) +
    MIN(5.00, 
     MOD( DATEVALUE( First_Response__c ) - DATE( 1900, 1, 8), 7) +
     MIN( 1, 24 / 12 * ( MOD( First_Response__c - DATETIMEVALUE( '1900-01-08 13:00:00' ), 1 ) ) )
    ) 
   )
 -
   ( 7.00 * FLOOR( ( DATEVALUE( CreatedDate ) - DATE( 1900, 1, 8) ) / 7) +
     MIN( 5,
      MOD( DATEVALUE( CreatedDate ) - DATE( 1996, 1, 1), 7 ) +
      MIN( 1, 24 / 12 * ( MOD( IF(AND(CreatedDate
 < DATETIMEVALUE(TEXT(YEAR(DATEVALUE(CreatedDate
))) + '-' + TEXT(MONTH(DATEVALUE(CreatedDate
))) + '-' + TEXT(DAY(DATEVALUE(CreatedDate
))) + ' 13:00:00'), CreatedDate
 >= DATETIMEVALUE(TEXT(YEAR(DATEVALUE(CreatedDate
))) + '-' + TEXT(MONTH(DATEVALUE(CreatedDate
))) + '-' + TEXT(DAY(DATEVALUE(CreatedDate
))) + ' 01:00:00')),DATETIMEVALUE(TEXT(YEAR(DATEVALUE(CreatedDate
))) + '-' + TEXT(MONTH(DATEVALUE(CreatedDate
))) + '-' + TEXT(DAY(DATEVALUE(CreatedDate))) + ' 13:00:00'), CreatedDate
) - DATETIMEVALUE('1996-01-01 13:00:00'), 1) ) )
    )
   ) 
  ), 
MOD((First_Response__c - DATETIMEVALUE('2017-01-02 13:00:00'))*1440,1440)/60 )