
Prachi Agarwal
Individual-
Prachi replied to the discussion What is the difference between with sharing and without sharing keywords in Salesforce? in the forum Salesforce® Discussions 5 years ago
Reply to What is the difference between with sharing and without sharing keywords in Salesforce?
Hi,
With Sharing - Enforce the sharing rules that apply to current user.
Without Sharing - Doesn't enforce the sharing rules. If a class is not declared as either with or without sharing, the current sharing rules remain in effect.
Thanks.
-
Prachi replied to the discussion What is inherited sharing in Salesforce? in the forum Salesforce® Discussions 5 years ago
Reply to What is inherited sharing in Salesforce?
Hi,
Inherited sharing keyword to define apex class as Inheritedsharing is available with the Salesforce winter’19 release in both Salesforce classing and lighting versions.
– If the class is declared as inheritedsharing, it runs in the sharing mode of the class that called it.
– The keyword ‘inheritedsharing’ is used to define an Apex class… Read more -
Prachi replied to the discussion What is with sharing and without sharing in salesforce? in the forum Salesforce® Discussions 5 years ago
Reply to What is with sharing and without sharing in salesforce?
Hi,
With Sharing- Enforce the sharing rules that apply to current user
The with sharing keyword allows you to specify that the sharing rules for the current user are considered for the class. You have to explicitly set this keyword for the class because Apex code runs in system context. In system context, Apex code has access to all objects… Read more -
Prachi started 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
What are apex best ways of parsing new line delimited json in apex in Salesforce?
What are ways of parsing new line delimited json in apex?
-
Prachi started the discussion How to create the below Appointment table in Salesforce? in the forum Salesforce® Discussions 5 years ago
How to create the below Appointment table in Salesforce?
How create it?
-
Prachi started the discussion Hoe to override new button to choose the record type automatically in Salesforce for below use case? in the forum Salesforce® Discussions 5 years ago
Hoe to override new button to choose the record type automatically in Salesforce for below use case?
I have a Quote related list on Opportunity.
I want to customize the entire related list.
Right now, it has newbutton and it displays certain quotes already present.
My use case:
the related list will always display the related list like before.The new button will automatically redirect to one of record type based on the customfield… Read more
-
Prachi posted a new blog 5 years ago
How Variable Types Operate in the Lightning Component FrameworkWhen writing a component or application, you can set an attribute to have a specific type. But how is the type being used by Aura, the underlying framework of Lightning Components? What benefits do you get…
-
Prachi started the discussion How to send an email notification to specific set of users when a Salesforce Visualforce Page gets updated? in the forum Salesforce® Discussions 5 years ago
How to send an email notification to specific set of users whenever a Visualforce Page gets updated ?
-
Prachi started the discussion What is the user external id in the upsert operation? Which fields can be external id fields in Salesforce? in the forum Salesforce® Discussions 5 years ago
What is the user external id in the upsert operation? Which fields can be external id fields in salesforce?
-
I have picklist field industry in account If I added new picklist value 'ABC' to that industry that 'ABC' should be displayed as value in industry field and as a picklist field in account object.
-
Prachi started the discussion How to schedule apex to update related records based on the Parent in Salesforce? in the forum Salesforce® Discussions 5 years ago
How to schedule apex to update related records based on the Parent in Salesforce?
I am trying to design a schedule class which updates the lookup fields on the custom object based on the look up fields selected in Account.
This custom object is related to Account?
I am stuck if I have to choose a for loop or a soql query nested inside the execute method or the schedule class?Please give me some ideas.
-
Prachi started 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
How to read email and Phone number in pdf or any attachment file and save Data in salesforce?
How to read email and Phone number in pdf or any attachment file and save Data in salesforce?
-
Prachi started the discussion How to build Quote view page and editable view page in Salesforce lighting? in the forum Salesforce® Discussions 5 years ago
How to build Quote view page and editable view page in Salesforce lighting?
I have requirment where i need to develop a quote page with new and edit button and also editable view page for lighting environment . Can anyone help me out.
-
Prachi started the discussion How to fix lookup filter issue which turns into picklist in Salesforce? in the forum Salesforce® Discussions 5 years ago
How to fix lookup filter issue which turns into picklist in Salesforce?
I have one input field for lookup in vf page and there is look filter on this. It is working in generally, however when I enter some text in the lookup and click next then lookup turns into picklist and suggest all the value related to entered text, I want is only value related to filter to show. Is there any way to get solution.
-
Prachi started 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
How to insert a csv file "OrderProduct" related list of "Order" standard object with apex? please help me with this.
-
Prachi started 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
How to use apex:actionsupport such that it only saves the last radiobutton in repeat in Salesforce?
I build a radiobutton within a repeat of a list and then use actionsupport with event set to "onchange".
Example,
<apex:outputPanel id="repeating">
<apex:repeat value="{!change}" var="c">
<apex:selectRadio value="{!save}">
<apex:selectOption itemValue="{!c}" itemLabel="{!c}"… Read more -
Prachi started the discussion How can we query Opportunity records based on list View selected on a Lightning Components in Salesforce? in the forum Salesforce® Discussions 5 years ago
How can we query Opportunity records based on List View selected on a Lightning Components in salesforce?
-
Prachi started the discussion How to identify a User from 3-rd party in salesforce? in the forum Salesforce® Discussions 5 years ago
How to identify a User from 3-rd party in salesforce?
How can I differ a User that is an inner one or someone from Google or Facebook?
Is there anything with which I can differ? -
Prachi started the discussion How can I test Messaging.MassEmailMessage with checking targetobjectids in Salesforce? in the forum Salesforce® Discussions 5 years ago
How can I test Messaging.MassEmailMessage with checking targetobjectids in Salesforce?
We have some User with UserRole. I need to verify that the email has been sent to the user with the role 'TestRole'. How can I do that?
I try:List<Messaging.MassEmailMessage.targetobjectids> emails = [SELECT Id FROM User
WHERE Id =: createUser('TestRole').Id]; -
Prachi started the discussion How to schedule batch class based on country in Salesforce? in the forum Salesforce® Discussions 5 years ago
How to schedule batch class based on country in Salesforce?
I have requirment i need to run my batch class in different time regions based on country
global class UpdateAccountCallList implements Database.Batchable<sObject>{
public String[] country = new String[] {'USA','Canada','Austrila','Japan'}; // these are the countires which i need to run my batch class , can anyone tell me me how to do that please. - Load More