All Questions

0
votes
0answers
2 views

How to Use same variable values in different methods of lightning component controller?

I am using the Parent-child concept. I am calling one component from another component. Component(Parent): <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,...
0
votes
0answers
8 views

Sending Data from Controller to Javascript Function

I have a form that I wrote in VF page and use to send data to another place outside SF. When a user has filled the form - I want to store the data in SF and only then send the data. Because I need ...
0
votes
0answers
10 views

MIXED_DML error only on UpsertResult has errors

In a @Future method (because of other MIXED_DML problems) we are upserting users and collecting the results. We then want to send an email once the transaction is complete. If everything works well, ...
-1
votes
0answers
5 views

Assignments from Easy to Hard

Can anyone give me assignments of Lightning or Vf page ,anything related to coding?.So that i can learn & review it from you.
0
votes
0answers
17 views

Making comments mandatory

I am trying to make Approval Comments mandatory for the Approver while Approving. I was using the following apex trigger, approval process steps and workflow field update as per the following blog ...
0
votes
0answers
4 views

How to show table of fields based on selection of object in picklist in visualforce page? [duplicate]

I want to show a table of fields whenever I select an object from picklist.
0
votes
0answers
7 views

Changed File Asset & getting old version sometimes & new versions sometimes - cache has been cleared

I changed the image for a file asset. I am sometimes getting the old image and sometimes getting the new image when I use the same URL. It is as if Salesforce servers are out of sync. Does anyone ...
0
votes
1answer
15 views

Community Guest can see files in Asset Library

My Community Guest can see files in the Asset Library. How can I change this?
2
votes
1answer
50 views

Can I use test.loadData() with more than 10K records?

I'm writing a component to handle CampaignMembers, and it will be common to have more than 10k CampaignMembers. So I'm writing my SOQL to get the campaignMembers in batches of 10K, appending them to ...
0
votes
1answer
9 views

Email not been sent from the finish method of a batch job in a unit test

The below code is to validate if an email has been sent from the finish method of a batch job using the Limits.getEmailInvocations(). The afterEmail variable is been set to 0 and no email is been sent ...
0
votes
0answers
8 views

Lightning:recordForm onSuccess event not returning response

I'm trying to get the response in the onSuccess callback for a lightning:recordForm save event, but it's coming up as undefined. The callback is being called, I can log to the console, but both of the ...
-1
votes
0answers
12 views

apex:outputlink Not working in Service console but working in normal Visualforce page

Output link not working in Service console but working in normal org <apex:outputlink value="/apex/AccountsTest">Test Link</apex:outputlink>. Any help on this appreciated .
3
votes
2answers
59 views

How is it possible for @TestSetup to effect test result?

While refactoring a test to make it more consistent with the style of our other tests, a colleague came upon something really weird. The original test created the test account in @TestSetup, like so: ...
0
votes
0answers
13 views

Deleting an Asset file

I had an image in a rich text field in my Community. I was able to access the image file on the internet via the image's URL. I deleted the Asset File. However, it is still downloading when I ...
0
votes
0answers
12 views

Daily emails based on date field in Account object (Apex Class) - help?

I'm trying to create an Apex Class that checks all Account records on a daily basis and sends an email to the email field on ones that have a review due on that date. For example: Vendor ABC Pty Ltd ...
0
votes
0answers
8 views

No option to Convert to Tern Project in UX Studio for my cartridge

I just recently started to learn the B2C Commerce Cloud. I successfully installed the UX Studio plugin for Eclipse. Now I want to enable code linting and completion for my controllers code. So, I go ...
0
votes
1answer
19 views

Nested for loops with Maps --

Kindly guide me, how I can avoid nested For loop. I have already used Map. if (reqserviceAcct2assetLst.size() == 0 && serviceAcct2product.size() > 0) { for(Id i : serviceAcct2product....
0
votes
0answers
10 views

Journey Builder Decision Split issues

I'm trying to create a decision split within a Journey where if a lead status changes to ‘cancelled’ in Salesforce after the record's been entered into the Journey, the decision split will take the ...
0
votes
0answers
11 views

Salesforce CPQ - Filter Picklist Values based on Product in Configuration Attribute

Use Case: On Quote Line Editor, I have picklist configuration attribute with the picklist values 1, 2, 3, 4 and 5. When Product1 is selected, the picklist configuration should be filtered and display ...
0
votes
0answers
13 views

Saleaforce IOT: ESP8266 IoT device facing 302 Http redirect instead of 201 when calling REST API because of insecure HTTPS call

ESP8266 has been able to get OAuth token by Device Flow OAuth2.0 After getting OAuth token, I was hitting the REST API endpoint /services/data/v45.0/sobjects/Account with a JSON body in the request: ...
0
votes
1answer
16 views

How do i access child fields.Below is the code

trigger ProcdureTrigger on Test1105__Procedure__c (before update) { public map<Test1105__Procedure__c,List<Test1105__Procedure_product__c>> accountContactMap = new map<...
0
votes
0answers
7 views

Salesforce SAML Single logout

I have a single sign on functionality in my site with Salesforce as identity provider. I have a saml enabled connected app in Salesforce, also it was single logout enabled. I'm done with sign on, ...
0
votes
0answers
12 views

Service Setup not available in Lightning experience

Service Setup option is not visible in lightning experience. I have logged in via system admin profile and checked but the option isn’t coming.
0
votes
0answers
10 views

Sharing static resource image to facebook & twitter using visualforce

I have a visaulforce page in salesforce community. This page displays badges (images) earned by the user. These badges (images) are stored in static resource. I want to enable the user to share these ...
0
votes
0answers
12 views

Lightning datatable body component [duplicate]

I am not sure how to use the body component of the lightning datatable. This is how I have it so far. <div style="height: 300px"> <lightning:datatable columns="{! v.columns }" ...
0
votes
1answer
15 views

Lightning community has no Reports tab like a Tabs + VF community has?

We want to convert an existing Tabs + VF community to a Lightning community (using Customer Account Portal template). The users are all Customer Community Plus users. In the Tabs + VF community, the ...
2
votes
0answers
15 views

How to resubscribe a subscriber in mobile connect

We have a use case where we want to house all unsubscribed in Salesforce CRM but not in Marketing Cloud. This works in email sends as I can always send the transactional emails from Marketing Cloud , ...
0
votes
0answers
4 views

Error while using JAVA FuelSDK

I am using eclipse java luna to install Java fuelSDK. I used maven to add the following dependency to my project's pom.xml: com.github.salesforce-marketingcloud fuelsdk 1.3.2 Content of my ...
0
votes
0answers
18 views

Can't compile for a package

When trying to create or open a package in Salesforce I get the following error: Bad References Found Please press Recompile All or edit and resave the following items « Back to Package List ...
1
vote
2answers
14 views

Does Apex have a remainder function that works with decimals?

I was trying to use math.mod(decimal,decimal) but I get the following error: Method does not exist or incorrect signature: void mod(Decimal, Decimal) from the type System.Math I know it is easy to ...
0
votes
0answers
17 views

Lightning Components: Call init method of a child component from a parent component

I want to call the init method of a child LC from a parent LC. I tried to use aura:method, and call the init method from a parent method. ..... <aura:attribute name="userContact" ...
0
votes
2answers
14 views

Merge duplicates

In regards to @sfdcfox response to the solution on following thread Batch merging via Apex? Sorry to invoke this old post but I have a question about Merge_From__c lookup field on the custom object. ...
3
votes
1answer
21 views

APEX Sharing stopped working in community

We had a small widget that allowed customers to share records that were set to a private sharing model in our community. Everything was rather simple and it would simply allow them to select users ...
1
vote
0answers
16 views

All Soap API calls to Marketing Cloud returning 405 error

I have 2 instances of Marketing Cloud I'm currently working with. Both have been configured identically for API access and I created a OAUTH 1 package for Web API integration for each of them. ...
3
votes
0answers
13 views

Password policies remain after deleting profile?

I deleted a profile via the Metadata API, and it did not delete its associated password policies. I cannot find the policies anywhere in the UI, but when I pull from production (or any sandbox ...
0
votes
0answers
16 views

Lightning component in VF page: API call promises never fire

I have a VF page which loads a Lightning Component that in turn makes an API call (workspaceAPI.isConsoleNavigation). The client controller invokes the API call, but the promise returned never fires. ...
0
votes
0answers
11 views

Create Send Definition Not Authenticated 40001 Error

I'm an experienced Salesforce dev but new to Marketing Cloud. I'm prototyping sending an email from Salesforce using some predefined static content in an email template in Marketing Cloud. I'm trying ...
2
votes
1answer
26 views

Is the function that formats phone numbers available?

On a layout, if I update a phone number, Salesforce will automatically format it like a phone number if it can. But if I change it on the backend, like through apex or the developer console, it will ...
0
votes
0answers
13 views

Best practices for importing leads and contacts from trade shows

I'm the new manager of a mid-size Salesforce org for a company that has some presence at industry tradeshows. At the end of each show, there's always a list of leads to be imported into a campaign. ...
0
votes
0answers
11 views

Journey working in Test, but Live doesn't appear to be working

Have a simple email Journey I am working on with this criteria: Who: AccountID (PersonAccount) Object: Opportunity Action: Created Criteria: Product_Start__c WASSET I am able to start the Journey by ...
2
votes
0answers
18 views

What does 'scope' mean in the context of a Salesforce report? Where/how is it specified? What are the possible (API) values?

There is a method called getScope() in ReportMetadata Class. Can someone please shed some light on what 'Scope' actually means? Where/how is it specified? What are the possible (API/system-digestible) ...
2
votes
1answer
25 views

Does <lightning:navigation> support targeting Visualforce pages with URL parameters?

I'm working on a Lightning component that includes a button, whose purpose is to load a Visualforce page rendering a PDF cover sheet. I'd like to use the most current supported functionality, so I'm ...
1
vote
1answer
23 views

How can I display a spinner when switching between lightning:tabset tabs?

I recently asked a related question about how to display the lightning:spinner while waiting for a component to render. Although I found a way to make it work, and have thoroughly reviewed the 'Events ...
2
votes
3answers
148 views

Can the cometd library be used in Salesforce to listen to external buses?

I'll confess up front that my knowledge of event architecture is limited: Can the cometd library that we can use to listen for Streaming API and Platform Events also be used to listen to external (i....
0
votes
0answers
27 views

Refresh a Chatter Feed

I came across an old article: How to refresh the chatter feed or feed item automatically? This seems like this is exactly what I'm looking for. Does anyone know if this code is still valid (I am ...
2
votes
0answers
27 views

Process Builder Immediate Actions & Scheduled Actions on same Criteria?

I'm trying to see if this is set up correctly. I have Immediate Actions & Scheduled Actions running off of the same Criteria. The problem is, my Immediate Actions are not firing. If I remove the ...
0
votes
1answer
31 views

SFDX - Lightning Web Components trailhead issue - Scratch Orgs being created as Sandboxes

I'm working my way through the "Lightning Web Components Basics" trailhead and I've been directed to the following resource: https://github.com/trailheadapps/ebikes-lwc#installing-e-bikes-using-...
0
votes
0answers
30 views

Getting Weird error in VF Page

On click of a custom lookup, i am trying the below error. Error: Pg:idForm:idPgBlk:idRoleSec:j_id150:0:check1: An error occurred when processing your submitted information. I have no clue with this ...
0
votes
0answers
7 views

Assign audience to shared component

I would like the ability to assign an audience to a shared component.  When I put a component in the shared region, I lose the ability to assign an audience.
-1
votes
1answer
33 views

How to make a date field null on the input form of VF page?

I have a custom VF page and apex controller that mimics the standard Clone for Contracts. Currently, it is copying the date fields as they're from the previous record. However, I want to make the date ...

15 30 50 per page