Forum Replies Created

Page 2 of 3
  • Hi,

    JavaScript remoting in Visualforce is used to call methods in Apex controllers from JavaScript.

  • Hariom Chaudhary

    Member
    August 27, 2019 at 11:02 am in reply to: What kind of data Type Wrapper Class Contains in salesforce?

    Hi,

    There are following data types in wrapper class.

    a. Abstract Data Type

    b. Collection Data Type

    c. Structure Data Type

  • Hariom Chaudhary

    Member
    August 27, 2019 at 5:09 am in reply to: What is lightning event in Salesforce?

    Hi, Deepak

    Lightning events are those which are fired from JavaScript controller actions that are triggered when  a user interacts with the user interface.

  • Hariom Chaudhary

    Member
    August 23, 2019 at 5:26 am in reply to: What is Hybrid Cloud and Public Cloud in salesforce?

    Hi, Piyush

    Public clouds are the most common way of deploying cloud computing. The cloud resources (like servers and storage) are owned and operated by a third-party cloud service provider and delivered over the Internet. Microsoft Azure is an example of a public cloud. With a public cloud, all hardware, software and other supporting infrastructure is owned and managed by the cloud provider. In a public cloud, you share the same hardware, storage and network devices with other organisations or cloud “tenants.” You access services and manage your account using a web browser. Public cloud deployments are frequently used to provide web-based email, online office applications, storage and testing and development environments.

    Hybrid clouds combine on-premises infrastructure, or private clouds, with public clouds so organisations can reap the advantages of both. In a hybrid cloud, data and applications can move between private and public clouds for greater flexibility and more deployment options. For instance, you can use the public cloud for high-volume, lower-security needs such as web-based email and the private cloud (or other on-premises infrastructure) for sensitive, business-critical operations like financial reporting. In a hybrid cloud, “cloud bursting” is also an option. This is when an application or resource runs in the private cloud until there is a spike in demand (such as seasonal event like online shopping or tax filing), at which point the organisation can “burst through” to the public cloud to tap into additional computing resources.

  • Hi,

    Salesforce has introduced a concept called AJAX ToolKit, which help us to make REST API call from the JavaScript in Visualforce Page.

  • Hi, Deepak

    Yes,we can query  but for that we need to setup the test data that is being queried in the SOQL.

     

  • Hi,

    Before triggers are used to update or validate record values before they're saved to the database. After triggers are used to access field values that are set by the system (such as a record's Id or LastModifiedDate field), and to effect changes in other records.

    For more info visit :

    https://salesforce.stackexchange.com/questions/96263/what-is-the-exact-difference-between-before-update-and-after-update-trigger

     

  • Hariom Chaudhary

    Member
    August 22, 2019 at 4:58 am in reply to: What is Named Credential in Salesforce?

    Hi,

    A named credential specifies the URL of a callout endpoint and its required authentication parameters in one definition. Salesforce manages all authentication for Apex callouts that specify a named credential as the callout endpoint so that your code doesn’t have to. You can also skip remote site settings, which are otherwise required for callouts to external sites, for the site defined in the named credential.
    By separating the endpoint URL and authentication from the callout definition, named credentials make callouts easier to maintain. For example, if an endpoint URL changes, you update only the named credential. All callouts that reference the named credential simply continue to work.

    For more info visit:

    https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts_named_credentials.htm

  • Hariom Chaudhary

    Member
    August 21, 2019 at 6:22 am in reply to: Which fields are automatically Indexed in Salesforce?

    Hi,

    Only the following fields are automatically indexed in Salesforce:

    Primary keys (Id, Name and Owner fields).
    Foreign keys (lookup or master-detail relationship fields).
    Audit dates (such as SystemModStamp).
    Custom fields marked as an External ID or a unique field.

  • Hariom Chaudhary

    Member
    August 21, 2019 at 5:42 am in reply to: When are Data Validation Rules enforced in Salesforce?

    Hi,

    Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record. A validation rule can contain a formula or expression that evaluates the data in one or more fields and returns a value of “True” or “False”. Validation rules also include an error message to display to the user when the rule returns a value of “True” due to an invalid value

  • Hariom Chaudhary

    Member
    August 21, 2019 at 5:30 am in reply to: What does the Roles Hierarchy control in Salesforce?

    Hi,

    Role hierarchy is a mechanism to control the data access to the records on a salesforce object based on the job role of a user. For example, a manager needs to have access to all the data pertaining to the employees who report to him, but the employees have no access to the data that is only owned by their manager.

  • Hariom Chaudhary

    Member
    August 20, 2019 at 10:38 am in reply to: What is Apex Scheduler in Salesforce?

    Hi,

    When you want to run a piece apex code at some particular time within a period of time.Schedule apex is class which runs at a regular interval of time. To schedule an apex class we need to implement an interface Schedulable. If you want to run a piece to schedule code at the first of every month or day wise  you can use to make your life easier when you have to redeploy/change this code Scheduler apex runs as system mode that means whether the user has permission to execute the class or not, they can execute  the class.

  • If we see carefully, all our Visualforce pages are served like “c.YOURSERVER.visual.force.com/apex/YOURPAGENAME” ,
    And because of this most of time, we run into Same-Origin Policy error in Javascript if we try to access parent page from Iframe. Following reason is explained by one of the evangelists of Salesforce:

    “The move to separate domains has one very specific purpose: leverage the browser security model (same domain policy) to protect our customers and the salesforce.com service from cross-site scripting and cross-site request forgery attacks.

    Moving to the serving pages from separate domains is a critical component of our ongoing commitment to ensure the highest level of security and availability for everyone.

    In the world where everything is served from the same domain any custom page that you visit had full access to any other page in your org and also any page served from salesforce.com itself. This included potentially malicious code that was installed as part of a force.com package.”

  • Hariom Chaudhary

    Member
    August 20, 2019 at 5:14 am in reply to: What is Skinny table in Salesforce?

    Salesforce uses skinny table to store the frequently used fields. Because of skinny table it’s easy to access used fields and increase the performance. Skinny tables are sync with salesforce table do when it get modified skinny tables automatically get reflects.

  • Hariom Chaudhary

    Member
    August 19, 2019 at 12:33 pm in reply to: Can dynamic dashboards be scheduled in Salesforce?

    Hi,

    Dynamic dashboard always show data integrated with real time so we can not scheduled dynamic dashboard.

  • Hariom Chaudhary

    Member
    August 19, 2019 at 12:10 pm in reply to: Why are dynamic dashboards used in reports in Salesforce?

    Hi,

    Dynamic dashboards in salesforce reports are used to display information which is for specific user. Let us consider an example of Team leader who want to view the information regarding his team members only in this case dynamic dashboard is used because it shows the user specific data on the same dashboard.

  • Hariom Chaudhary

    Member
    August 19, 2019 at 10:38 am in reply to: Is there a limit for data.com records in Salesforce?

    Yes there is limit on data.com and the user can see their limit form setup. Go to setup and click on data.com administration/Users. Then select users section. Here in user section you can see monthly limit and as well as how many records are exported during the month.

  • Hariom Chaudhary

    Member
    August 14, 2019 at 9:58 am in reply to: how to create tables in a Salesforce vf page?

    Hi,

    Some Visualforce components, such as <apex:pageBlockTable> or <apex:dataTable>, allow you to display information from multiple records at a time by iterating over a collection of records.

    To illustrate this concept, the following page uses the <apex:pageBlockTable> component to list the contacts associated with an account that is currently in context:

    <apex:page standardController="Account">
    <apex:pageBlock title="Hello {!$User.FirstName}!">
    You are viewing the {!account.name} account.
    </apex:pageBlock>
    <apex:pageBlock title="Contacts">
    <apex:pageBlockTable value="{!account.Contacts}" var="contact">
    <apex:column value="{!contact.Name}"/>
    <apex:column value="{!contact.MailingCity}"/>
    <apex:column value="{!contact.Phone}"/>
    </apex:pageBlockTable>
    </apex:pageBlock>
    </apex:page>

  • Hariom Chaudhary

    Member
    August 14, 2019 at 7:41 am in reply to: How does Apex handle security and sharing?

    Hi Achint, I think

    Apex gives flexible user interface to add security level user permissions to share your code.To do this apex enforce sharing  rule as well as it also enforce object and field permissions

  • Hariom Chaudhary

    Member
    August 14, 2019 at 7:33 am in reply to: What is TxnSecurity Namespace in salesforce?

    Hy Achint, According to me,

    Tax Security namespace has two interfaces which take care of transaction security in salesforce. It mainly include following interface and class.

    Policy Condition interface: this allows the class implementing it to specify actions for certain events occur to perform transaction security as per policy.
    Event Class : It has collection of all events that can be used by PolicyCondifition interface.

  • Hi Achint,

    There are some key differences between apex, workflow rules, process builder.

    Workflow can perform only the following actions.

    1. Update a field
    2. Send an email
    3. Create a Task

    Send an outbound message (communication with another system)

    Process builder have some extra features as:

    1. Create a record (not just Tasks!)
    2. Update related records
    3. Launch a Quick Action
    4. Post to Chatter
    5. Launch a Flow
    6. Call Apex code
    7. Submit for approval
    8. Invoke another process

    And apex is for any kind of business requirement, like

    1. Delete records
    2. Update unrelated records
    3. Share records with more complex criteria than Sharing Rules permits
    4. Add/remove users in Chatter Groups and Public Groups
    5. Create email templates that pull info from multiple records and Objects (combined with Visualforce)
    6. And more
  • Hello Piyush,

    Accumulations are the sort of factors which can be utilized to store numerous number of records (information).
    It is helpful in light of the fact that Governor Limits confine the quantity of records you can recover per exchange. Henceforth, we can utilize accumulations to store various records in a solitary variable characterized as sort gathering and by recovering information as accumulations. Accumulations are like how exhibits function.
    There are 3 accumulations composes in Salesforce:

    1.Records
    2.Maps
    3.Sets
    We utilize maps to store information as key-esteem sets, where every one of a kind key maps to a solitary esteem.
    Sentence structure:

    Map<String, String> country_city = new Map<String, String>();

  • Hariom Chaudhary

    Member
    August 13, 2019 at 4:25 am in reply to: Can two clients have a similar profile in salesforce?

    Hello Piyush,

    I think a profile can be assigned to many users, but a user can be assigned a single profile at a time.

  • Hariom Chaudhary

    Member
    August 12, 2019 at 12:27 pm in reply to: What is the difference between empty and null in Salesforce?

    IS Blank:

    Its a function which validates whether the field has some value or not. Value can be some digit( 0-9), alphabet( a-z A-Z), special character ( %,$,--). If your  field contains any of them then this function will return  false. If it contains Blank (" ") or no value then it will return True.

    IS NULL:

    This function will consider Blank (" ") as some value. And if your field has Blank(" ") then it will return false considering 'Blank' also as some value.

    For more information visit:

    https://developer.salesforce.com/forums/?id=906F00000008nV0IAI

  • Hariom Chaudhary

    Member
    August 12, 2019 at 12:06 pm in reply to: What is a Fiscal Year in Salesforce?

    A fiscal year or financial year is a period of time used to calculate annual (yearly) financial statements in businesses and other organisations. The system administrator can set the fiscal year for your organisation. The fiscal year settings are used to report on the fiscal year timeline.

    Salesforce supports two types of fiscal years:

    1.Standard fiscal year
    2.Custom fiscal year

Page 2 of 3