0
votes
0answers
3 views

Scratch Org Creation Error with sfdx

I am getting below error when trying to create scratch org. No such column 'Settings' on sobject of type ScratchOrgInfo. Here is my org definition json file - { "orgName": "offer", "...
0
votes
0answers
4 views

Product Items Serial Number Error

I have an Excel with multiple Product Items. They all have different manufacturer codes , but since they are parts they don't carry a Serial Number. What's the problem? Some products are repeated ...
1
vote
1answer
7 views

How to get child record with without parent?

I want to query all parent record based on the total number of child record and group by Parent but the aggregate query is not returning the child record without parent. SELECT Parent__c, COUNT(Id) ...
3
votes
1answer
8 views

How can I make a lightning component change as the underlying data changes without refreshing?

I'm writing a lightning page that allows two players to remotely play chess through the same lightning page. The page uses the aura framework. For what I've already implemented, the Game__c object ...
0
votes
0answers
4 views

Need help revising custom multi-select lookup

I've created a custom Lookup field to look into Accounts and have the ability to multi-select accounts. I want to place this field on the Opportunity Object as we have an Account Record Type for ...
0
votes
0answers
7 views

Can Name be a predefined field on quick action?

I'm just now realizing the absolute power of quick actions, and I've created one, but am looking to see if something is possible. I'm looking at using some sort of automation to fill in the name of ...
1
vote
1answer
11 views

Workbench Relationship report

I am using Workbench to show the Child Relationships of objects. Is there any way to have Workbench export that into a spreadsheet ? I'm able to do that when I run a query on records, so I'm wondering ...
1
vote
0answers
9 views

Resuming Flow after Invocable Future Method

Is there a way to resume a Flow after an @Future Apex method is completed? Right now I have an arbitrary Wait element but that's a hack workaround and not reliable of course. Cross posted in ...
1
vote
1answer
9 views

Second <aura:iteration> not working with object/array datasource

I have a Lightning component with two <aura:iteration> <aura:handler name="init" value="{!this}" action="{!c.doInit}" /> <aura:attribute name="invoices" type="Object" /> <aura:...
3
votes
1answer
22 views

How to invoke a flow/trigger if a user fails login attempt?

What Needs to Happen: When a user logs into the org, we perceive the attempt as either Successful (correct password), Failed (incorrect password), or Other. If the user fails the login attempt, a User ...
5
votes
3answers
40 views

Select into Map using Database.query()

So we all know it is possible to directly select into a Map like so: Map<Id, Account> accounts = new Map<Id, Account>([SELECT Id, Name FROM Account]); Is it possible to do the same thing,...
-3
votes
0answers
17 views

We had an agent get three chats when they clicked only one to accept. Can you look into this? [on hold]

We had an agent get three chats when they clicked only one to accept.
-1
votes
0answers
21 views

service workers in salesforce

Hey I am building a salesforce lightning application to present html slide shows with images and videos. I would like to store the assets on the device so that the presentation can still be shown ...
0
votes
1answer
24 views

Plotting a map(poly-shaped) area dynamically?

I am trying to implement a Lightning component/VF page that could render a shape/layer on a Map(may be a Google Map) after successfully capturing the plotting. Initially the end user submits a ...
1
vote
0answers
19 views

What determines speed of Record Update on Flow

This is more of a general curiosity question than a problem, but my Record update in a Flow is working slowly (takes a few refreshes to see the change). I'm used to using Apex and seeing the change ...
1
vote
1answer
21 views

Salesforce datetime field adding user timezone to the field

I have two datetime field in custom object, to which I am inserting values programatically from my apex class. Fields from my custom object My apex code used to insert/update records in the custom ...
1
vote
1answer
17 views

Tooling api sObject type 'ProfileLayout' is not supported

I have a component that dynamically replicates a page layout . Im querying the ProfileLayout object to get the layout JSON, this works fine when i run as a sys admin, but fails when executed as a non-...
1
vote
0answers
12 views

Google Login in Salesforce1 App Disallow Useragent iOS

We used to be able to use the mobile app for iOS without a problem. Now if we go to log in and click the Google Login button, the immediate message is a 403 disallowed_useragent message. Logging in ...
0
votes
0answers
12 views

Unable to fetch organization details - when creating a new Force.com project with Eclipse IDE

I am encountering timeout error when creating a new Force.com project with Eclipse IDE. Can anyone help me on how to resolve this issue? I did the same as mentioned below link but still facing the ...
1
vote
1answer
20 views

Combine two lists in to one visualforce table

I Have to lists with different records but using only one object. Like Example Apex Controller: List<Commission_Setting__c> minChargeOTC = [Select Id, Commission_for__c, Rate__c From ...
-3
votes
0answers
13 views

Update child in Self relationship when parent is update [duplicate]

I want to update some field child with the same value of the parent anytime a parent is updated. With this below, it fire only when a record is create. But it does not update the field on child when ...
0
votes
1answer
22 views

Is it possible to access a related list of data using force:recordData

Is it possible to display a list of related records using <force:recordData as the data source? Example: <aura:attribute name="record" type="Object" /> <aura:attribute name="targetRecord"...
0
votes
1answer
21 views

Add row insted of PopUp for new record

I have a custom object in which I can add a record and it will be shown as a row. When clicking on New a pop up shows up: And when this record is saved it is displayed as follow: Now my ...
2
votes
0answers
16 views

Error in Lightning Design System Input element on Mobile

I am using lightning:input out of the box component. I'm displaying an error message on the field using the standard functionality of the component. The error message is little long for Mobile but ...
0
votes
1answer
19 views

Remove Components (Process builder) From Managed released package

I have a situation. One of Our client is using Professional edition. But our managed release package has a Process builder with APEX invocableMethod in it. Professional Edition will not allow any Apex ...
0
votes
2answers
22 views

Cross object values are accessed as Null values in Test class

I have 3 objects ObjA, ObjB, ObjC - these three objects have relation like ObjA > ObjB > ObjC ObjB have a lookup field for ObjA ObjC have a lookup field of ObjB Created on validation rule in object ...
1
vote
0answers
16 views

Batch Apex updating 300,000 records and returning errors in CSV and sending as Email

I have to update 300,000 records using Apex Batch. I also have to send an email to the user with the CSV file containing errors from update operation.Assuming all 300,000 records give failure, if I ...
0
votes
0answers
10 views

Issue with Time-based Workflow and Process Builder on same field on a record

I have a Date field (Date X) on an object A and object B has a lookup to Object A. There is a time-based workflow to fire 30 days after Date X which performs two field update 1. Update a field(...
0
votes
1answer
13 views

Pass mulitple parameters in REST API

I am fairly new to Rest API concept and learning from forums. I have connected my two dev-orgs using Rest. So, when i create an Account record in source org, it gets created in destination org too. ...
0
votes
0answers
16 views

Lightning Data Service - Creating Record Error after Validation hits

I'm having an issue with saving a created record on a custom object. What is weird is that it works with another custom object I created. Basically what is happening is that it throws a validation ...
-1
votes
1answer
21 views

Too many DML operations

I am trying to call a managed package method (I am passing a user list as parameters) which calls batch class from finish method of a batch class and it is throwing a error for too many dml rows. Is ...
0
votes
0answers
3 views

Emailing a targeted DE attached to an email ID in Automation Studio

Is there a way to send a SQL Query activity targeted data extension attached to a particular email id in automation studio? The query activity will run daily and the automation studio will send the ...
0
votes
1answer
9 views

Is it possible to get a value with a formulafield fro product to Order Product

I have a external id value on product which I want to put on the Order Product object. Is this possible with a formula field?
0
votes
1answer
19 views

Sending data from one VF to another with single controller

I have a requirement. I have created one VF which displays all record of a custom object with checkboxes and I am creating one list of selected record(based on the selected checkbox). lastly, I want ...
0
votes
1answer
10 views

Test Class failing due to Mixed DML Operation Error on User

Error :- System.DmlException: Insert failed. First exception on row 0; first error: MIXED_DML_OPERATION, DML operation on setup object is not permitted after you have updated a non-setup object (...
1
vote
1answer
17 views

How to get our Salesforce org ready for APIs?

I need some guidance to understand how a certain API will work and the process of making it so. We have a third party online e-learning app (called bksb) where learners do assessments and we manually ...
0
votes
1answer
8 views

Search layout quick action with lightning component issue

I'm trying to create a quick action inside a search layout. This quick action calls a custom component. The point is that when I click the new action Allows me to create a that kind of quick action ...
0
votes
0answers
13 views

Starting automation using ampscript on a cloud page [on hold]

Our goal is to start automation (created in Automation Studio) using ampscript (performed on a cloud page). Could you provide a sample code illustrating the process? Thanks!
0
votes
2answers
13 views

change key values of map

I am having data in Map which is like: Map<string, List<string>> mapRecord = new Map<string,List<string>>(); In key I am storing the account name and in value i have List of ...
1
vote
0answers
9 views

having issue with flow

I m trying to delete the case records once they meet below condition in Flow. Origin = Client Login AND Created Date = Greater than 24 hours Now for created date i am using : 1. Field : Created Date ...
0
votes
2answers
15 views

Ways to schedule a class in Salesforce [duplicate]

I want to know different ways by which I can schedule a class in salesforce!? I know we can do it using Developer console and SetUp.. But what are other ways by which we can schedule a class?
1
vote
0answers
8 views

Unable to set component attribute on message received from lightning:empAPI

I have the following lightning component implemented and when a message is received I can obtain attribute data from the component but when trying to set an attribute it doesn't seem to set it, the ...
-2
votes
0answers
8 views

bussiness scenario

Can anybody give me exact answer for the below question. ABC Object is having two look up relationships(PQR and XYZ).Whenever PQR look up has changed on ABC needs to update the corresponding XYZ on ...
0
votes
1answer
9 views

Is data stored in an external object in Salesforce?

I am currently consuming a service from Mulesoft into Salesforce. The requirement is that the data coming will not be stored anywhere in Salesforce. I would like to know whether an external object in ...
0
votes
1answer
17 views

Invoke init method of second component from first in lightning:tabset

In parent component, I have lightning:TabSet tag. In this tag I have child component name 'createTab' and in its JS controller I am creating three child component using $A.createComponent method that ...
1
vote
1answer
14 views

Initializing JavaScript object in Lightning Component

In visualforce, following line initializes mermaid object. <script> mermaid.initialize({startOnLoad: true, theme: 'forest'}); </script> Below code throws mermaid is not defined ...
0
votes
0answers
10 views

How can I change a VF page URL in the Lightning Experience via javascript

I have a React app that runs with as a Visualforce tab in the Salesforce both classic and lightning version. The app router works well in the classic, but it does not work in Lightning Experience. ...
3
votes
2answers
171 views

SOQL with character range

I am trying to get all records whose name starts with "a" and the second letter is in the range [a-s] The quires I tried but no luck: FROM Agreement__c WHERE Account__r.FirstName LIKE 'a[a-s]...
0
votes
1answer
12 views

Upload Attachment via Rest API

I use standard Rest API (/services/data/v39.0/sobjects/Attachment) to upload attachment from our Support Portal and get saved in case object which works fine, but when I try to open the attachement ...
-1
votes
0answers
11 views

How to fetch relationship fields(profile.userlicense.name from user) in a class using query from partner soap class

How to fetch relationship fields (profile.userlicense.name from user) in a class using query from partner soap class partnerSoapSforceCom.QueryResult qr1 =sp.Query('Select Id,IsActive,...

15 30 50 per page