Marziya Sarwar
IndividualForum Replies Created
-
Marziya
MemberJanuary 30, 2020 at 2:48 pm in reply to: What is the use of aura:iteration tag in Salesforce Lightning Aura Component?hii Arun,
aura:iteration iterates over a collection of items and renders the body of the tag for each item. Data changes in the collection are rerendered automatically on the page. It also supports iterations containing components that are created exclusively on the client-side or components that have server-side dependencies.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
Marziya
MemberJanuary 30, 2020 at 2:40 pm in reply to: What is the work of $A.enqueueAction(action)in Salesforce?Hi Shubham,
enqueueAction(action) adds the server-side controller action to the queue of actions to be executed. All actions that are enqueued will run at the end of the event loop.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
Marziya
MemberJanuary 30, 2020 at 2:38 pm in reply to: What is the use of Renderer in Salesforce Aura Component Bundle?Hii Udit,
Renderer service in the lightning component bundle modifies the DOM elements which are created by the framework for a component. We use the custom renderer to change or override the default rendering behavior of the component.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
Marziya
MemberJanuary 29, 2020 at 2:27 pm in reply to: Why do we use doInit function in the Salesforce Controller Class?Hii Manish,
init is a predefined event sent to every component. After the component is initialized, the doInit action is called in the component's controller. In this sample, and thecontroller action sets an attribute value, but it could do something more interesting, such as firing an event.
-
hii Shubham,
BLOB data type. A BLOB (binary large object) is a varying-length binary string that can be up to 2,147,483,647 characters long. Like other binary types, BLOB strings are not associated with a code page. In addition, BLOB strings do not hold character data.Blob is a collection of Binary data which is stored as Object. This data types converts the attachments into a single object.
-
Marziya
MemberJanuary 29, 2020 at 2:09 pm in reply to: What is the purpose of enqueueAction in helper.js in lightning in Salesforce?Hii Deepak,
$A.enqueueAction(action) sends the request the server. More precisely, it adds the call to the queue of asynchronous server calls. That queue is an optimization feature of Lightning.
-
Hii Ayush,
A Dynamic Dashboard enables multiple users to access a dashboard that was previously accessed only by a single static user. This means that thedynamic dashboard can be used by a specific user alongside a logged-in user, and display data specific to both users accordingly.
-
Marziya
MemberJanuary 28, 2020 at 2:50 pm in reply to: What is the difference between <apex:inputfield> and <apex:inputtext> tag in visual force page in Salesforce?Hii Pooja,
apex:inputText: An HTML input element of type text. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object.
apex:inputField: An HTML input element for a value that corresponds to a field on a Salesforce object. The <apex:inputField> component respects the attributes of the associated field, including whether the field is required or unique, and the user interface widget to display to get input from the user. For example, if the specified <apex:inputField> component is a date field, a calendar input widget is displayed. When used in an <apex:pageBlockSection>, <apex:inputField> tags automatically display with their corresponding output label.
-
Marziya
MemberJanuary 28, 2020 at 2:49 pm in reply to: Is SOSL search a record across the multiple objects in Salesforce?Hii Pooja,
Salesforce Object Search Language (SOSL) is aSalesforce search language that is used to perform text searches in records. Use SOSL to search fieldsacross multiple standard and custom object recordsin Salesforce. ... You can specify, which fields to return for each object mentioned in SOSL query
-
Marziya
MemberJanuary 28, 2020 at 2:47 pm in reply to: What is the significance of keyset() method of MAP in Salesforce?Hii Shradha,
keySet() Returns a set that contains all of the keys in the map. put(key, value): Associates the specified value with the specified key in the map. putAll(fromMap) Copies all of the mappings from the specified map to the original map.
-
Marziya
MemberJanuary 27, 2020 at 2:11 pm in reply to: What is the difference between a dynamic dashboard and a normal dashboard? And How to create a dynamic dashboard in Salesforce?Hii Shweta,
Dynamic dashboards are used to display information tailored to a specific user, while a normal dashboard shows data only from a single user's perspective. Use dynamic dashboards when you want to show each user user-specific data, such as their personal quotas and sales, or number of case closures, or leads converted, etc. Use a normal dashboard when you want to show regional or organization-wide data to a set of users, such as a region's sales, or a support team's performance on case closures.
-
Marziya
MemberJanuary 27, 2020 at 2:08 pm in reply to: What is the difference between the old and the new version of sobject records in Salesforce Trigger?hii pooja,
Trigger.New and Trigger.Old are both the context Variables which returns records in Lists.
Trigger.New => works for the NEW values that are entering either it may be Insert or Update.
Trigger.Old=> works for the OLD values that are already in the Fields, it may be to Delete or Update the records.********************#########################***********************************
Trigger.old: Returns a list of the old versions of the sObject records.Note that this sObject list is only available in the update and delete triggers.
Trigger.oldMap: A map of IDs to the old versions of the sObject records. Note that this map is only available in the update and delete triggers.
suppose you have a custom object Custom_obj__c
Trigger.old means it is a List<Custom_obj__c>.
-
Hello Udit,
“Cascade delete” is not a term specific to salesforce.com. It's actually a general relational database term used to describe the process by which child records are automatically deleted when their parent record is deleted or in salesforce.com (Master / Detail records
-
Hello Aman,
Custom tabs let you display custom object data or other web content in Salesforce. When you add a custom tab to an app in Salesforce Classic, it displays as a tab. When you add a custom tab to an app in Lightning Experience, it displays as an item in the app's navigation bar.
-
Marziya
MemberJanuary 25, 2020 at 1:05 pm in reply to: What is the use of <apex : detail> tag in visual force page in Salesforce?Hello Pooja,
The standard detail page for a particular object, as defined by the associated page layout for the object in Setup. This component includes attributes for including or excluding the associated related lists, related list hover links, and title bar that appear in the standard Salesforce application interface.
-
Marziya
MemberJanuary 25, 2020 at 1:03 pm in reply to: What is the character limit of custom label in Salesforce?Hello Anjali,
You can create up to 5,000 custom labels for your organization, and they can be up to 1,000 characters in length.
-
Marziya
MemberJanuary 24, 2020 at 2:40 pm in reply to: How to add javascript remoting to a Visualforce page in Salesforce?Hello Ratnesh,
To use JavaScript remoting in a Visualforce page, add the request as aJavaScript function call. A simple JavaScript remoting invocation takes the following form. The namespace of the controller class. This is required if your organization has a namespace defined, or if the class comes from an installed package.
-
Hello Ratnesh,
SOSL statements evaluate to a list of lists of sObjects, where each list contains the search results for a particular sObject type. The result lists are always returned in the same order as they were specified in the SOSL query. If a SOSL query does not return any records for a specified sObject type, the search results include an empty list for that sObject.
-
Marziya
MemberJanuary 24, 2020 at 2:35 pm in reply to: What is the difference between insert() and database .insert() in Salesforce?Hello Ratnesh,
(Insert)()------
If we use the DML statement (insert), then in bulk operation if error occurs, the execution will stop. In that case Apex code throws an error and none of the record is inserted to the database.
Database.Insert()-----
If DML database methods (Database.insert) used, then if error occurs the remaining records will be inserted / updated means partial DML operation will be done. The only record throwing an error will not be inserted / updated.
-
Marziya
MemberJanuary 23, 2020 at 1:54 pm in reply to: Whats is attributes in Visualforce page tags in Salesforce ?Hello Arun,
There are different attributes:--
- access
- assignTo
- description
- id
- required
- type
Thanks.
-
Marziya
MemberJanuary 23, 2020 at 1:51 pm in reply to: How to find the API name of Standard object Field in Salesforce?Hello Mohit,
you can find API name of Standard object field in Salesforce in following ways:-
1) Sign in to Salesforce with a Salesforce administrator account.
2) Click Setup in the upper right corner of the page.
3) In the navigation pane, click Build > Create > Objects. ...
4) Click the object name. ...
5) Under Object Definition Detail, note the API name value, for example, "Inventory__c". -
Marziya
MemberJanuary 23, 2020 at 1:45 pm in reply to: What is the Syntax to Search through SOSL in query Editor in Salesforce?Hello Mohit,
The Syntax to search through SOSL is :-
FIND {Wingo} IN ALL FIELDS RETURNING Account(Name), Contact(FirstName,LastName,Department)
-
Marziya
MemberJanuary 22, 2020 at 2:44 pm in reply to: why Synchronous Web service callouts are not supported from scheduled Apex ??Hi Ayush,
No, Synchronous Web service callouts are not supported from scheduled Apex. To be able to make callouts, make an asynchronous callout by placing the callout in a method annotated with @future(callout=true) and call this method from scheduled Apex. However, if your scheduled Apex executes a batch job, callouts are supported from the batch class.
-
Marziya
MemberJanuary 22, 2020 at 2:37 pm in reply to: How can we call a controller method from JavaScript in Salesforce?Hello Ratnesh,
Use apex:actionFunction within vf page and define “action” attribute to Function to call. For e.g
<apex:actionFunction action=”{!displayMethod}” name=”displayMethod”/>
here action=”{!displayMethod}” is my function name to call and within javascript call name attribute within action function according to your condition.
Thanks.
-
Hii Ratnesh,
An Apex transaction represents a set of operations that are executed as a single unit. All DML operations in a transaction either complete successfully, or if an error occurs in one operation, the entire transaction is rolled back and no data is committed to the database. The boundary of a transaction can be a trigger, a class method, an anonymous block of code, a Visualforce page, or a custom Web service method.