0
votes
0answers
5 views

Lightning Locker Service: Maximum call stack size exceeded on action getCallback()

In the code bellow, the third parameter is a promise, that when resolved (or rejected) will execute a callback function. There we receive a "Maximum call stack size exceeded" when Locker service is ...
1
vote
0answers
5 views

Locker Service - something strange happens with attributes after calling component.set()

I'm working on making my lightning components compliant with Locker Service, and I see something strange happens with javascript variables after calling component.set() on them. A component is having ...
0
votes
0answers
8 views

Cases created from customer community are not firing email notification?

We have a customer community built on Napilli template. Our customer can create new cases by filling out the form(created using Global Actions) available on community. When a case is created from ...
0
votes
1answer
18 views

Prior value of last activity date

I have custom formula field return type date Last Activity age on opportunity. I want to capture last to last Activity date. So I create workflow with "created and every time edited" and formula ...
2
votes
0answers
11 views

Test execution order issues with Queueable and @future method

Test code: * Test.startTest(); * System.enqueueJob(new MyJob()); * Test.stopTest(); * System.debug('Quering record for assertion'); Expected Queueable job execution: * Job Start * Query records * ...
1
vote
0answers
16 views

How to attach file using actionFunction

Could you help me please? I want to implement attaching files to Cases in SalesForce. There is recomanded way which using apex:inputFile element, but I can’t use it, because on page I have to use ...
3
votes
0answers
18 views

Oracle(!) storage limit error, even though plenty of space left

I clicked Save and got the error: common.exception.SfdcSqlException: ORA-20003: ORA-06512: at "GRUMPY.CSTORAGELIMIT", line 252 ORA-06512: at "GRUMPY.CSTORAGELIMIT", line 734 ORA-06512: at "GRUMPY....
0
votes
0answers
13 views

Get count of open Query Locators

For debugging porpuses, we would like to get the count of the open "QueryLocators" for an organisation.Is this possible somehow? Thanks
0
votes
2answers
24 views

Trigger to update parent field using summation of values at child records

I have one salesquota object which is master and Invoice is child of salesquota.There can be any invoices against one salesquota.I have written a trigger which is going to update field "Actuals__c" in ...
5
votes
1answer
24 views

Maximum stack depth reached: 1

According to salesforce doc : Total stack depth for any Apex invocation that recursively fires triggers due to insert, update, or delete statements is 16. But strangely for my case, I am getting ...
-3
votes
1answer
13 views

Create a Profile and Permission Set to properly handle field access [on hold]

Two team members need to view and update Accounts, but only one should be able to see and edit the Rating field. Create one profile and one permission set with field level security to solve for this ...
-1
votes
0answers
13 views

what is the correct name of opportunity stage history?

plz send me all fields name of the opportunity stage histroy and object name for example opp=[select StageName from Opportunity group by StageName ]; send me in this format thanks
0
votes
1answer
13 views

Allow users to update the Manager field on their user record

On the user record there is a field called "Manager". It is a standard user object field. I would like to give my users the permission to edit this field themselves, however in the field level ...
0
votes
1answer
15 views

Handle the single and multiple JSON record with one wrapper class

When i am getting multiple data in mindTouchPage then my code is working. But when i am receiving a single record as response then it throwing the exception System.JSONException: Expected List ...
0
votes
0answers
7 views

Showing the corresponding Answer field according to the data type in the Question

this thread could help other Salesforce Community followers if they are facing the same situation. Our client requires a sort of dynamic questions for Student Applications via Web forms. That means, ...
0
votes
1answer
23 views

solving list index out of bound

I have a list of string that is built dynamically (so size is not always the same). I am trying to access specific indexes in the list but only if it exists/has value. for(Id ids : ...
1
vote
1answer
14 views

StandardSetConnector Aggregate query grouping

I have a pageblock table with the following columns: Company, Package, Type, Revenue, Age, Users, Total Usage Actions, Top 3 Modules. All of the fields apart from "Total usage actions" and "Top 3 ...
0
votes
2answers
13 views

Uncaught Error in $A.getCallback() [TypeError: Cannot read property 'setParams' of undefined

Uncaught Error in $A.getCallback() [TypeError: Cannot read property 'setParams' of undefined] throws at https://growerslightning-dev-ed.lightning.force.com/auraFW/javascript/BC4wqH7bmsI7etc2sB4tmQ/...
0
votes
0answers
10 views

How to add a class to an <li> item constructed under aura: iteration on mouse over?

I am creating a picklist using the below code. I have maintained the markup like below to provide it a lightning standard look and feel. <div class="slds-form-element"> <div class="slds-...
2
votes
1answer
38 views

How to get/pass parameter to VF page via JS? How to update field with value from VF page? (updated with BOTH parts)

1st part I have a long-ish question and I will break it into two parts. First, how to pass parameter to VF page via Javascript? I want to click a button and it will take me to VF page and give it ...
0
votes
0answers
9 views

Create salesforce community with custom template or tweaking existing template

I want to create a community with lightning experience (using lightning components) to show knowledge base, cases and forums. I would like to create a template to provide my company's branding and ...
0
votes
0answers
8 views

Does the “Allow process to evaluate a record multiple times in a single transaction” flag have functional consequences?

In process builder, there is a flag "Recursion - Allow process to evaluate a record multiple times in a single transaction". It's an attribute to the object to which a process/flow applies. The ...
1
vote
2answers
10 views

To which object is a flow interview related?

I have created a number of flows with Process Builder, some of them with scheduled actions. In Setup > Build > Create > Workflows & Approvals > Flows I don't see as many interviews as I expected. ...
-2
votes
0answers
19 views

Convert list<list<string>> to list<sobject>

I have a output JSON which has object rows in a variable called values. Ex: values=((01uo00000030BpcAAE, 01to0000001pRBx, 913840, test1, 100), (01uo00000030BphAAE, 01to0000001pRBx, 9137, ...
0
votes
1answer
11 views

field integrity exception: unknown (scheduling not enabled on product):

I have written a trigger, when opportunityLineItem is inserted the quantity gets scheduled meaning opportunityLineItemSchedule are also gets inserted. Now to re-enter the quantity I have cloned the ...
0
votes
0answers
13 views

Criteria to update quote status on expiration

Quote expiration date is auto set to today() + 45 days. I want to add one more workflow rule to check for quote expiration date and if expired change the quote status to 'Expired' and Opportunity ...
0
votes
1answer
21 views

How to get 'Roll up summary field' in “Master Detail Relationship” on 'Detail page' using Formula?

Is it possible to get the 'Roll Up Summary field value' in the Master Detail Relationship on Detail page as well. Basically to get a copy of 'Roll Up Summary value' in Detail page as well for a ...
0
votes
2answers
14 views

try to create an account Using SOAP API

I don't understand why I have an error when I run the create request trough SoapUi. Here my code: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:...
-1
votes
0answers
22 views

Why do game developers develop games for exclusive contracts? [on hold]

There are several companies that develop their games for one console only (Playstation or XBox). Why and how are they doing this? Shouldn't there be more sales when they publish it for PC/PS/Xbox? ...
0
votes
1answer
19 views

How to resolve Error“ Account: Multiple items found. Select from drop-down or click icon to refine search.”?

Hi In Opportunity Related Account Vf Page,Account is lookup field.When ever i select rep/agent no,acoount role i am mapping account name (through lookuppopup vfpage (And some other functionality is ...
0
votes
1answer
9 views

Salesforce for Outlook mail upload

When I try to upload an email to Salesforce it is automatically added to a contact profile of a colleague in my company. Would you please advise how to fix this in order to see the emails in my ...
0
votes
1answer
12 views

queuable interface issue

I have two separate classes for making callouts(class One & class Two) and I am calling both of these classes in another seperate class.wherein I would like to send the filter callouts first ...
0
votes
1answer
20 views

how to dynamically delete the records in visualforce page?

Part of VF Page Code <apex:outputPanel id="testpanel"> <apex:repeat value="{!testvaluerecords}" var="tst"> <div> <apex:outputText value="{!tst....
0
votes
0answers
14 views

Is there a way to call HTTPS webservice in Apex

I have a SOAP web service (https) on MS Dynamics NAV that I would like to call from APEX but I have not managed to find a way. This is the code that I used @future (callout=true) public static void ...
0
votes
0answers
10 views

Salesforce1 - Create a new task from a visualforce button which open the new task with the related account

I have a custom visualforce that shows a few records of an account selected and all its related list. Also i have a button which open a new task, but in Salesforce1 I can't create the new task in a ...
0
votes
1answer
9 views

ProcessBuilder passing in null to Apex @InvocableMethod

I have a ProcessBuilder on the Opportunity object that when triggered, calls an @InvocableMethod in an Apex class. The Apex class looks like this: public class MyClass { @InvocableMethod ...
0
votes
0answers
7 views

Liveagent Routing Type - Most available Question

When we setup the Routing Type as Most Available, Will it also see how efficiently agents are handling the queue other than the calculation of chapt capacity - active chat sessions? e.g Chat Agent ...
1
vote
1answer
27 views

how to display data in tabular format

<apex:page showHeader="false"> <script type="text/javascript"> var __sfdcSessionId = '{!GETSESSIONID()}'; </script> <script src="../../soap/ajax/37.0/...
0
votes
1answer
23 views

Error in queryresult - Invalid type: QueryResult

I was checking for ways to undelete accounts lost as part of account merge. I ran the below code in console String soqlQuery= "SELECT Name FROM Account where masterRecordId !=null"; QueryResult qr = ...
0
votes
0answers
11 views

HOW TO GENERATE SOAP REQUEST DYNAMICALLY [duplicate]

I would like to generate a xml request dynamically. i.e. One parameter should be increemented and should be queried to get more data. When the status is end, we have to stop increementation. Please ...
1
vote
1answer
18 views

Data to use in unit tests, how to manage?

while doing unit testing in Salesforce, how do you handle the test data? Do you make new sets of data each time? (thats what Im doing right now) Any other suggestions? On a tangent, how do I ...
0
votes
0answers
14 views

how to refresh outputpanel dynamically?

i am tring to delete records in <apex:outputpanel> but first record only deleting and page not refreshing. Can any one help me how to refresh <apex:outputpanel> when i click on delete ...
2
votes
1answer
13 views

How to write test class of sending emails?

As i am not aware of test classes i am bit confusing how to write test classes. Can any one one please suggest me how to write test class for below class: public class genericSendanEmailClass { ...
0
votes
1answer
22 views

formula field is not getting executed in test class

formula field is not getting executed in test class, due to this condition is fails in apex class. the test class is below @isTest(seealldata=false) public class ...
0
votes
2answers
28 views

Not able to connect to sandbox org through Force.com IDE and Data Loader - TLS protocol issue

I am not able to connect to sandbox org through Force.com IDE and Data Loader. It is giving error "TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to ...
0
votes
0answers
18 views

How to increement a value in SOAP request

I have to call a external web service which will have more records. That external webservice uses a value called pagenumberfilter, when incremented and called, it will query more records. If no ...
0
votes
2answers
6 views

design to visible the fields in salesforce

I have 2 profile A& B, in lead I have 10 fields, among that only 5 should be visible to A and rest five should only be visible to B, How you will design it
0
votes
0answers
6 views

Send email custom object selected related list records in excel format as a attachment

How to Send email custom object selected related list records in excel format as a attachment
0
votes
1answer
19 views

How to work with bulk records in trigger?

My task is I need to Count number of times a record has been edited using Edit button, which means if I click on edit for the first time, Counting__c value is 1 and vice versa. It should not done ...
0
votes
0answers
9 views

I write this code for inserting schedule data in event and my lightning action status show success but i am not able to get inserted data

public static string AddSchedule(String opportunityId,string startDate,string endDate,string subject,string description) { string flag='false'; try { Event ev= new Event()...

15 30 50 per page