
Deepak
Individual-
Deepak replied to the discussion How does system change event not work for change in object type attribute in Salesforce lightning? in the forum Salesforce® Discussions 5 years ago
component.set('v.acc.Name', 'Name from 3!');
To:var acc = component.get('v.acc');
acc.Name = 'Name from 3!';
component.set('v.acc', acc);
And everything will work.Here is why you are seeing this behavior, and why the workaround is working:
The rule to remember: all changes are propagated down, but only propagated up when they affect the… Read more
-
Deepak replied to the discussion What is the case of system change event in Salesforce lightning? in the forum Salesforce® Discussions 5 years ago
Reply to What is the case of system change event in Salesforce lightning?
understanding System Events In Lightning Components – Part 1
In this blog we'll explore how System events in Lightning Components work to help write better code and solve potential performance issues due to race condition and rerendering of components.
Lightning Components Framework comes with a set of “system” events to notify components… Read more -
Deepak started the discussion How can you associate multiple standard list controller with a visualforce page in Salesforce? in the forum Salesforce® Discussions 5 years ago
How can you associate multiple standard list controller with a visualforce page in Salesforce?
How can you associate multiple standard list controller with a visualforce page?
-
Deepak started the discussion How to set Task Reminder Date/Time using apex in Salesforce? in the forum Salesforce® Discussions 5 years ago
How to set Task Reminder Date/Time using apex in Salesforce?
How to set Task Reminder Date/Time using apex in salesforce?
-
Deepak started the discussion How to set body of the HTTP request in Salesforce Apex? in the forum Salesforce® Discussions 5 years ago
How to set body of the HTTP request in Salesforce Apex?
How to set body of the HTTP request in Apex?
-
Deepak started the discussion How to loop over child objects of master object in batch object in salesforce? in the forum Salesforce® Discussions 5 years ago
How to loop over child objects of master object in batch object in salesforce?
How to loop over child objects of master object in batch object in salesforce?
-
Deepak replied to the discussion What does it actually mean by the error “Arithmetic expressions must use numeric arguments”in Salesforce? in the forum Salesforce® Discussions 5 years ago
You nearly made me forget the syntax there !! I've corrected the trigger above, try that to see if it works.
You need to have a for loop to iterate over all the records that have invoked the trigger.
Also a before trigger makes more sense, since you're manipulating values on the triggering records.
trigger Peachtree_items_process… Read more
-
Deepak replied to the discussion What are apex best ways of parsing new line delimited json in apex in Salesforce? in the forum Salesforce® Discussions 5 years ago
Reply to What are apex best ways of parsing new line delimited json in apex in Salesforce?
JSON Deserialization Techniques in Salesforce
Brenda FinnIf you have ever been given a JSON object and needed to parse it in Apex, then you may have run into some of the same issues I did so read on. JSON, which stands for JavaScript Object Notation, is widely used due to its ability to define the structure of an object and its values at the… Read more -
Deepak replied to the discussion How to create the below Appointment table in Salesforce? in the forum Salesforce® Discussions 5 years ago
Reply to How to create the below Appointment table in Salesforce?
VF page:
<apex:page controller="Account_Filter" docType="html-5.0">
<apex:form >
<apex:pageBlock ><!--Search and filter button-->
<apex:pageBlockButtons location="top">
<apex:commandButton value="Search" action="{!searchaccounts}" />
<apex:commandButton value="Show Selected Accounts"… Read more -
Deepak replied to the discussion How to use apex:actionsupport such that it only saves the last radiobutton in repeat in Salesforce? in the forum Salesforce® Discussions 5 years ago
<apex:outputPanel id=”repeating”>
<apex:repeat value=”{!change}” var=”c”>
<apex:selectRadio value=”{!save}” action=”{!saveInformation}”>
<apex:selectOption itemValue=”{!c}” itemLabel=”{!c}” />
</apex:selectRadio>
</apex:repeat>
<apex:actionSupport event=”onchange” reRender=”repeating”… Read more -
Deepak replied to the discussion How to identify a User from 3-rd party in salesforce? in the forum Salesforce® Discussions 5 years ago
Reply to How to identify a User from 3-rd party in salesforce?
Use Third-Party Data to Update and Add Records to Salesforce
A rule set up by your Salesforce admin compares your accounts, contacts, and leads to data from a third-party source—Lightning Data or Data.com. Depending on how your admin sets up the rule, your records are updated as information changes. Or your admin can give you purchase credits to… Read more -
Deepak replied to the discussion How to insert a csv file "OrderProduct" related list of "Order" standard object with apex in Salesforce? in the forum Salesforce® Discussions 5 years ago
Fulfill Orders Faster
Seamlessly generate orders from quotes to quickly get products and services delivered to your customers.
Flexible for Evolving Customer Needs
Split quotes into multiple orders, manage future dated orders, and modify with point- and-click.
360-Degree View of the Customer
Quickly generate contracts with all contract… Read more -
Deepak replied to the discussion How to read email and Phone number in pdf or any attachment file and save Data in salesforce? in the forum Salesforce® Discussions 5 years ago
for (Messaging.Inboundemail.BinaryAttachment bAttachment : email.binaryAttachments) {
Attachment attachment = new Attachment();
// attach to the newly created contact record
attachment.ParentId = contact.Id;
attachment.Name = bAttachment.filename;
attachment.Body = bAttachment.body;
insert attachment;
} -
Deepak replied to the discussion How to fix lookup filter issue which turns into picklist in Salesforce? in the forum Salesforce® Discussions 5 years ago
Reply to How to fix lookup filter issue which turns into picklist in Salesforce?
Considerations for Lookup Filters
REQUIRED EDITIONS AND USER PERMISSIONS
Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience
Available in: All Editions except for Database.com.USER PERMISSIONS NEEDED
To manage lookup filters:
Customize Application
On the Fields page, the icon indicates all fields… Read more -
Deepak replied to the discussion How to build Quote view page and editable view page in Salesforce lighting? in the forum Salesforce® Discussions 5 years ago
Reply to How to build Quote view page and editable view page in Salesforce lighting?
Create, Preview, and Activate Quote Templates
Define the look of your company’s quote PDFs by creating templates that your sales reps can choose when they create quote PDFs.REQUIRED EDITIONS AND USER PERMISSIONS
Available in: Salesforce Classic (not available in all orgs) and Lightning Experience
Available… Read more -
Deepak replied to the discussion How to schedule apex to update related records based on the Parent in Salesforce? in the forum Salesforce® Discussions 5 years ago
Reply to How to schedule apex to update related records based on the Parent in Salesforce?
We generally avoid applying for loop in apex code as it will break governer rule so do the query for your program.
-
Deepak replied to the discussion How can we use same aura:id for multiple Salesforce lightning tags in a component? in the forum Salesforce® Discussions 5 years ago
Reply to How can we use same aura:id for multiple Salesforce lightning tags in a component?
Presuming that you're dynamically creating components (e.g. c1 and c2), you have total control over the aura:id. A component cannot define its own aura:id, only the aura:id for children within itself. From here, it follows that you're trying to figure out what type of component you're dealing with. For that, we use Component#getType. This… Read more
-
Deepak replied to the discussion What is the use case of <lightning:notificationsLibrary /> tag in Salesforce lightning? in the forum Salesforce® Discussions 5 years ago
Reply to What is the use case of <lightning:notificationsLibrary /> tag in Salesforce lightning?
Messages can be displayed in notices and toasts. Notices alert users to system-related issues and updates. Toasts enable you to provide feedback and serve as a confirmation mechanism after the user takes an action.
Include one <lightning:notificationsLibrary aura:id="notifLib"/> tag in the component that triggers the notifications,… Read more
-
Deepak replied to the discussion How to Create a Batch class which append Account's name after each related contact in Salesforce? in the forum Salesforce® Discussions 5 years ago
I believe you are trying to associate a single contact to multiple accounts. This functionality was released in Spring 16' and is implemented through a Salesforce Junction object - AccountContactRelation.
I assume you have already enabled this functionality through the UI and a parent Account is declared for this Contact.
I have modified your… Read more
-
Deepak replied to the discussion How to share downloadable link of file to external system in Salesforce? in the forum Salesforce® Discussions 5 years ago
Reply to How to share downloadable link of file to external system in Salesforce?
Share Files Via Link
Available in: Salesforce Classic
Available in: Essentials, Group, Enterprise, Professional, Performance, Unlimited, Contact Manager, and Developer Editions
You can share a file with anyone by creating a file link and sending it through email or IM. Creating a link generates an encrypted URL that you can send to any… Read more - Load More