-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
17Questions
-
6Replies
Error Occurred: This error occurred when the flow tried to create records: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY: BQECaseTrigger: System.LimitException: Too many future calls: 51. You can look up ExceptionCode values in the SOAP API Developer Guide.
Error element Create_Additional_Session_2 (FlowRecordCreate).
This error occurred when the flow tried to create records: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY: BQECaseTrigger: System.LimitException: Too many future calls: 51. You can look up ExceptionCode values in the SOAP API Developer Guide (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_concepts_core_data_objects.htm" style="color:blue; text-decoration:underline).
Result
Failed to create record.
- Melissa Driscoll 14
- October 28, 2022
- Like
- 0
- Continue reading or reply
EventLogFile - Interval Table Not available
what am I missing
I am a system administrator and I do not see the interval table in Workbench or Developer console
- Melissa Driscoll 14
- October 14, 2022
- Like
- 0
- Continue reading or reply
Trying to show Account Hierarchy on lighting page layout - I have the following Class and Visualforce page
I need it to show the account Hierarchy on the page layout.
Class
public class accconhierarchy {
Private list<account> acc;
public List<accountWrap> accountList { get; set; }
public accconhierarchy (){
List<contactWrap> cw;
accountList = new List<accountWrap>();
acc = [select id,name,industry,billingcountry,createdbyid,(select id,name,email,phone from contacts) from account limit 20];
for(account a:acc){
cw = new list<contactWrap>();
For(contact co : a.contacts){
cw.add(new contactWrap(co));
}
accountList.add(new accountWrap(a,false,cw));
}
}
public class accountWrap{
public account oAccount{get;set;}
public boolean isSelected{get;set;}
public List<contactWrap> contactset{get;set;}
public accountWrap(account a,boolean b, List<contactWrap> c){
oAccount=a;
isSelected=b;
contactset =c;
}
}
public class contactWrap{
public contact oContact{get;set;}
public boolean isSelected{get;set;}
public contactWrap(contact a){
oContact=a;
isSelected=false;
}
}
}
Visualforce
<apex:page controller="accconhierarchy"> <apex:form > <apex:pageBlock > <style type="text/css"> .showContacts { background: transparent url('/img/alohaSkin/twisty_sprite.png') 0 0 no-repeat; } .hideContacts { background: transparent url('/img/alohaSkin/twisty_sprite.png') 0 -11px no-repeat; } </style> <apex:outputPanel layout="none" rendered="{!accountList.size!=0}"> <table id="tableAccount" class="list" border="0" cellpadding="0" cellspacing="0"> <thead> <tr class="headerRow"> <th class="actionColumn">Action</th> <th>Account Name</th> <th>Industry</th> <th>Billing Country</th> <th>Createdby</th> </tr> </thead> <tbody> <apex:repeat id="repeatAccount" value="{!accountList}" var="item"> <apex:variable var="acc" value="{!item.oAccount}" /> <tr id="{!$Component.repeatAccount}:account" class="dataRow"> <td class="actionColumn"> <apex:inputCheckbox id="selectAccountRow" value="{!item.IsSelected}" onclick="javascript:toggleSelectAll(this, '{!$Component.repeatAccount}');"/> </td> <td class="dataCell"> <apex:outputLink id="linkShowHide" value="javascript:toggleContactRow('{!$Component.repeatAccount}')"> <img id="{!$Component.repeatAccount}:Img" src="/s.gif" class="showContacts" border="0" height="11px" width="11px" style="padding-right: 4px;"/> <apex:outputField value="{!acc.Name}" /> </apex:outputLink> </td> <td class="dataCell"><apex:outputField value="{!acc.Industry}" /></td> <td class="dataCell"><apex:outputField value="{!acc.billingcountry}" /></td> <td class="dataCell"><apex:outputField value="{!acc.CreatedById}" /></td> </tr> <tr id="{!$Component.repeatAccount}:Contact" class="dataRow" style="display:none;"> <td colspan="100" style="padding:10px; padding-left: 45px;"> <h3>Contacts</h3> <br/> <apex:outputPanel layout="none"> <table id="tableAccountContacts" class="list" border="0" cellpadding="0" cellspacing="0"> <thead> <tr class="headerRow"> <th class="actionColumn">Action</th> <th>Name</th> <th>Email</th> <th>Phone</th> </tr> </thead> <tbody> <apex:repeat id="repeatAccountContacts" value="{!item.contactSet}" var="subitem"> <apex:variable value="{!subitem.oContact}" var="con" /> <tr class="dataRow"> <td class="actionColumn"><apex:inputCheckbox id="selectContactRow" styleclass="ContactCheckbox" value="{!subitem.IsSelected}"/></td> <td class="dataCell"><apex:outputField value="{!con.Name}" /></td> <td class="dataCell"><apex:outputField value="{!con.email}"/></td> <td class="dataCell"><apex:outputField value="{!con.phone}" /></td> </tr> </apex:repeat> </tbody> </table> </apex:outputPanel> </td> </tr> </apex:repeat> </tbody> </table> </apex:outputPanel> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> <script> jQuery.noConflict(); function toggleContactRow(rowId) { try { var AccountImg = jQuery(document.getElementById(rowId + ":Img")); var ContactsRow = jQuery(document.getElementById(rowId + ":Contact")); if (AccountImg.hasClass("hideContacts")) { AccountImg.attr("class", "showContacts"); ContactsRow.hide(); } else { AccountImg.attr("class", "hideContacts"); ContactsRow.show(); } } catch (e) { alert(e); } } function toggleSelectAll(elCheckbox, rowId) { try { var SelectAll = jQuery(elCheckbox); var ContactsRow = jQuery(document.getElementById(rowId + ":Contact")); ContactsRow.find(".ContactCheckbox").each(function() { jQuery(this).prop("checked", SelectAll.is(":checked")); }); } catch (e) { alert(e); } } </script> </apex:pageBlock> </apex:form> </apex:page>
- Melissa Driscoll 14
- September 19, 2022
- Like
- 0
- Continue reading or reply
Help with auto add quote line items through flow
Business case is:
we auto add product line items based on certain criteria when we create an Opportunity.
Two of these cases require a quote to be created and synced. - I have this down (sorta)
When I auto create the quote, I need to add the quote line items with a discount.
And I am stuck. Help
- Melissa Driscoll 14
- September 07, 2022
- Like
- 0
- Continue reading or reply
Lighting Page Layout Visualforce Page Hubspot
on the visualforce Page for hubspot?
- Melissa Driscoll 14
- August 26, 2022
- Like
- 0
- Continue reading or reply
I cant get rid of this dot on my Visualforce page
<table style="border-collapse: collapse; width: 100%; height: 100px;" border="0">
<tbody>
<tr style="height: 25px;"> <td style="width: 50%; height: 25px;font-size:15px;font-weight:bold">Created By: <apex:outputLabel style="font-size:12px">{!a.CreatedBy.Full_Name__c}</apex:outputLabel></td>
<td style="width: 50%; height: 25px;font-size:15px;font-weight:bold">Record ID: <apex:outputLabel style="font-size:12px">{!a.Id}</apex:outputLabel></td></tr>
<tr style="height: 25px;"> <td style="width: 50%; height: 25px;font-size:15px;font-weight:bold">Last Modified Date:<apex:outputLabel style="font-size:12px">{!a.LastModifiedDate}</apex:outputLabel></td> </tr>
<tr style="height: 25px;"> <td style="width: 50%; height: 25px;font-size:15px;font-weight:bold">Owner: <apex:outputLabel style="font-size:12px">{!a.Owner.Full_Name__c}</apex:outputLabel></td>
<td style="width: 50%; height: 25px;font-size:15px;font-weight:bold">BQE CRM ID: <apex:outputLabel style="font-size:12px">{!a.BQECRMID__c}</apex:outputLabel></td> </tr> </tbody>
</table>
</apex:dataList>
</apex:page>
- Melissa Driscoll 14
- August 25, 2022
- Like
- 0
- Continue reading or reply
help with APEX Class - Trying to pull opportunity Line Items on to a custom object
Custom Object is Account Executive Handoff - This is my Error
Error: Compile Error:
PricebookEntry.Name, TotalPrice, Quantity, On_Support__c from OpportunityLineItem
^
ERROR at Row:1:Column:71
No such column 'On_Support__c' on entity 'OpportunityLineItem'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names. at line 11 column 21
public class HandoffProducts
{
public List<OpportunityLineItem> lineItems { get; set; }
Public HandoffProducts( ApexPages.StandardController std )
{
if( std.getRecord().Id != null )
{
Account_Executive_Handoff__c con = [ Select Id, Opportunity__c from Account_Executive_Handoff__c where Id =: std.getRecord().Id ];
lineItems = [ Select Id, Opportunityid, PricebookEntry.Name, TotalPrice, Quantity, On_Support__c from OpportunityLineItem where Opportunityid =: con.Opportunity__c ];
}
else
{
lineItems = new List<OpportunityLineItem>();
}
}
public void save()
{
if( lineItems.size() > 0 )
update lineItems;
}
}
- Melissa Driscoll 14
- July 19, 2022
- Like
- 0
- Continue reading or reply
Popup notification - When Account owner is changed by an SDR
we want to allow this change but we want a notification to pop up.
- Melissa Driscoll 14
- June 17, 2022
- Like
- 0
- Continue reading or reply
looking to check a box if long text area is not blank.
I am not a developer but I am trying:
Obviously this is worng but any assitance would be greatly appreciated
Class - but i don't have a test class
public class QuoteDescriptionIsNotBlank {
String.isNotBlank(Quote.Description)
}
- Melissa Driscoll 14
- June 08, 2022
- Like
- 0
- Continue reading or reply
API Usage in Lighting
1.) how do I tell what is using so much and why
2.) the classic API usage report is nice but it doesn't say why. Like my user has a crazy amount of usage of usage of API calls, is that because of the flows I create
3.) is there an optimizer type thing for API Usage?
- Melissa Driscoll 14
- May 26, 2022
- Like
- 0
- Continue reading or reply
Visual Force Page error - VisualforceArrayList.id
Error: Unknown property 'VisualforceArrayList.Id'
<apex:page standardController="Case">
<apex:dataList value="{!Case.Account}" var="a">
<b>Name:</b> <apex:outputlink value="/{!a.AE_Handoffs__r.Id}">{!a.AE_Handoffs__r.Name}</apex:outputlink> <BR><BR>
<b>Training:</b> {!!a.AE_Handoffs__r.Training__c} <BR><BR>
<b>Training Notes:</b> <td><p>{!!a.AE_Handoffs__r.Training_Notes__c}</p></td><BR><BR>
<b>Data Migration:</b> {!!a.AE_Handoffs__r.Data_Migration__c} <BR><BR>
<b>Data Migration Notes:</b> <td><p>{!!a.AE_Handoffs__r.Data_Migration_Notes__c}</p></td> <BR><BR>
<b>Integration:</b> {!!a.AE_Handoffs__r.Integration__c} <BR><BR>
<b>Integration Notes:</b> <td><p>{!!a.AE_Handoffs__r.Integration_Notes__c}</p></td>
</BR></BR>
</BR></BR>
</BR></BR>
</BR></BR>
</BR></BR>
</BR></BR>
</apex:datalist>
</apex:page>
- Melissa Driscoll 14
- February 28, 2022
- Like
- 0
- Continue reading or reply
Visual force Page to show Opportunity Products
I am new to this but I need to pull in the line times from the master relationship Opportunity.
I am an admin not a developer but I don't have a developer
This is the error on the page
List attribute parent name 'o' is an invalid field name for entity Handoff
<apex:page standardcontroller="Handoff__c">
<apex:dataList value="{!Handoff__c.Opportunity__r}" var="o"> <apex:relatedList list="o.OpportunityLineItem" />
</apex:dataList>
</apex:page>
- Melissa Driscoll 14
- February 23, 2022
- Like
- 0
- Continue reading or reply
help with rows versus columns
<apex:page standardcontroller="Account">
<apex:pageBlock >
<apex:pageBlockSection title="Handoff">
<apex:pageBlockTable value="{!Account.Handoffs__r}" var="h"> <apex:Column value="{!h.Name}"/>
<apex:column value="{!h.Account__c}"/>
<apex:column value="{!h.Opportunity__c}"/>
<apex:column value="{!h.Point_of_Contact__c}"/>
<apex:column value="{!h.Training__c}"/>
<apex:column value="{!h.Training_Notes__c}"/>
<apex:column value="{!h.Data_Migration__c}"/>
<apex:column value="{!h.Data_Migration_Notes__c}"/>
<apex:column value="{!h.Integration__c}"/>
<apex:column value="{!h.Integration_Notes__c}"/> </apex:pageBlockTable>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
- Melissa Driscoll 14
- February 18, 2022
- Like
- 0
- Continue reading or reply
Error: Unknown property 'String.Name'
<apex:page StandardController="Handoff__c">
<Head>
<apex:form >
<apex:pageBlock title="Opportunity Product">
<apex:pageBlockSection title="Opportunity Product Detail">
<apex:outputField value="{!Handoff__c.Opportunity__r.Name}" />
<apex:repeat value="{!Handoff__c.Opportunity__r.OpportunityLineItems}" var="c">
<td> {!c.PricebookEntry.Product2Id.Name} </td>
<td> {!c.Quantity} </td>
</apex:repeat>
</apex:pageBlockSection>
</apex:pageblock>
</apex:form>
</head>
</apex:page>
- Melissa Driscoll 14
- February 18, 2022
- Like
- 0
- Continue reading or reply
Visualforce page Not returning information:
<apex:page standardcontroller="Account">
<apex:pageBlock >
<apex:pageBlockTable value="{!Account.Handoffs__r}" var="h">
<apex:pageBlockSection title="Handoff" columns="1">
<apex:outputText value="Handoff Name {!h.Name}"/>
<apex:outputText value="Account {!h.Account__c}" />
<apex:outputText value="Opportunity {!h.Opportunity__c}"/> <apex:outputText value="Point of Contact {!h.Point_of_Contact__c}"/> </apex:pageBlockSection>
</apex:pageBlockTable>
</apex:pageBlock> </apex:page>
- Melissa Driscoll 14
- February 18, 2022
- Like
- 0
- Continue reading or reply
Number of task and event planed on a date auto number
- Melissa Driscoll 14
- February 17, 2022
- Like
- 0
- Continue reading or reply
Looking for a mass email button on Case List View
Reason is if there is multiple cases with the same situation: instead of going into each case to let them know the issue we would like to check the box on the list view and click a button to choose the template.
I know how to create a list view button but I am not great at writing code. Is there any direction I can go to create a button this would be greatful
- Melissa Driscoll 14
- February 04, 2022
- Like
- 0
- Continue reading or reply
Popup notification - When Account owner is changed by an SDR
we want to allow this change but we want a notification to pop up.
- Melissa Driscoll 14
- June 17, 2022
- Like
- 0
- Continue reading or reply
looking to check a box if long text area is not blank.
I am not a developer but I am trying:
Obviously this is worng but any assitance would be greatly appreciated
Class - but i don't have a test class
public class QuoteDescriptionIsNotBlank {
String.isNotBlank(Quote.Description)
}
- Melissa Driscoll 14
- June 08, 2022
- Like
- 0
- Continue reading or reply
help with rows versus columns
<apex:page standardcontroller="Account">
<apex:pageBlock >
<apex:pageBlockSection title="Handoff">
<apex:pageBlockTable value="{!Account.Handoffs__r}" var="h"> <apex:Column value="{!h.Name}"/>
<apex:column value="{!h.Account__c}"/>
<apex:column value="{!h.Opportunity__c}"/>
<apex:column value="{!h.Point_of_Contact__c}"/>
<apex:column value="{!h.Training__c}"/>
<apex:column value="{!h.Training_Notes__c}"/>
<apex:column value="{!h.Data_Migration__c}"/>
<apex:column value="{!h.Data_Migration_Notes__c}"/>
<apex:column value="{!h.Integration__c}"/>
<apex:column value="{!h.Integration_Notes__c}"/> </apex:pageBlockTable>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
- Melissa Driscoll 14
- February 18, 2022
- Like
- 0
- Continue reading or reply
Visualforce page Not returning information:
<apex:page standardcontroller="Account">
<apex:pageBlock >
<apex:pageBlockTable value="{!Account.Handoffs__r}" var="h">
<apex:pageBlockSection title="Handoff" columns="1">
<apex:outputText value="Handoff Name {!h.Name}"/>
<apex:outputText value="Account {!h.Account__c}" />
<apex:outputText value="Opportunity {!h.Opportunity__c}"/> <apex:outputText value="Point of Contact {!h.Point_of_Contact__c}"/> </apex:pageBlockSection>
</apex:pageBlockTable>
</apex:pageBlock> </apex:page>
- Melissa Driscoll 14
- February 18, 2022
- Like
- 0
- Continue reading or reply
Number of task and event planed on a date auto number
- Melissa Driscoll 14
- February 17, 2022
- Like
- 0
- Continue reading or reply
Looking for a mass email button on Case List View
Reason is if there is multiple cases with the same situation: instead of going into each case to let them know the issue we would like to check the box on the list view and click a button to choose the template.
I know how to create a list view button but I am not great at writing code. Is there any direction I can go to create a button this would be greatful
- Melissa Driscoll 14
- February 04, 2022
- Like
- 0
- Continue reading or reply