Forum Replies Created

  • Rajan

    Member
    June 3, 2019 at 1:56 pm in reply to: Explain Wave Dashboard Component in Salesforce.
  • Rajan

    Member
    April 29, 2019 at 10:56 am in reply to: How to install Salesforce Marketing Cloud Connected App?

    Hi sindhuja,

     

    Please use this link :

     

    Production org – https://login.salesforce.com/packaging/installPackage.apexp?p0=04t0H000000ggVV
    Sandbox org –https://test.salesforce.com/packaging/installPackage.apexp?p0=04t0H000000ggVV

     

    Thanks

  • Assume that you are inserting 100 records. If any one of the records fails due to error then entire operation will fail. None of the records will be saved into the database. With insert/update if we use try-catch then we can capture only one error which will cause to stop the operation. Assume that you are inserting 100 records. If any one of the records fails due to error then it will perform partial operation (valid records will be inserted/updated) if we use
    Database.insert(list,false)/ Database.update(list,false). With Database.insert/Database.update we can capture all the errors by saving result in Database.saveResult[].

  • Hi avnish ,

    if you want to use salesforce look and feel then use pageblocktable and for datatable you can not use salesforce look and feel .

    Thanks !

  • Rajan

    Member
    July 27, 2018 at 2:48 pm in reply to: Why we need currency data type in Salesforce?

    Hi Avnish,

    Currency Data Type - Allows users to enter a dollar or other currency amount and automatically formats the field as a currency amount. This can be useful if you export data to Excel or another spreadsheet.

    Number Data Type - Allows users to enter any number. Leading zeros are removed.

  • Rajan

    Member
    May 1, 2018 at 8:40 am in reply to: How to track response for forwarded email in Salesforce?

    Hello Aman,

     

    Email Service class is the best way to achieve this thing by creating this class you will get a link, and provide this link to user and ask him to forward the email to given link. link will look like new_email_respose@s-2oiev8kcbmop0wfXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.29-dv4keag.cs19.apex.XXXXXX.sXXXXXXXXe.com

     

    Thanks !

    • This reply was modified 6 years, 5 months ago by  Rajan.
  • Hello Aman ,

     

    This can be accessed via :

    1- Email Studio > Tracking > Journey Builder Sends
    2- Query Activity on the _Sent, _Open data views
    3- Tracking Extract

    For More Information - Reply Management System(In Marketing cloud)

  • Hello Aman,

    following code are used ---

     

    $client = new SoapClient('http://magentohost/api/v2_soap/?wsdl');

    // If some stuff requires api authentification,
    // then get a session token
    $session = $client->login('apiUser', 'apiKey');

    // get attribute set
    $attributeSets = $client->catalogProductAttributeSetList($session);
    $attributeSet = current($attributeSets);

    $result = $client->catalogProductCreate($session, 'simple', $attributeSet->set_id, 'product_sku', array(
    'categories' => array(2),
    'websites' => array(1),
    'name' => 'Product name',
    'description' => 'Product description',
    'short_description' => 'Product short description',
    'weight' => '10',
    'status' => '1',
    'url_key' => 'product-url-key',
    'url_path' => 'product-url-path',
    'visibility' => '4',
    'price' => '100',
    'tax_class_id' => 1,
    'meta_title' => 'Product meta title',
    'meta_keyword' => 'Product meta keyword',
    'meta_description' => 'Product meta description'
    ));

  • Hello Aman,

    following Steps are used -

     

    In the Marketing Cloud, navigate to Email Studio.
    --->Click Admin.
    --->Click My Users.
    -->Click Create.
    ---->Name the user so it can be easily identified (example: api-user-1234).
    --->Enter your email address as the Reply Email and Notification Email Addresses.
    --->Enter a unique username.
    --->Leave the External ID field blank (unless required by your organization).
    ---Set a Time Zone.
    ---Set a Culture Code.
    ---Select API User.
    ---Create a temporary Password.
    ---If you are using a non-enterprise 2.0 account, set the following roles and permissions on this page: User Permissions: NONE Marketing Cloud Permissions and Roles: NONE Select Email Application Select Mobile Connect (if applicable) ---Select Marketing Cloud Administrator role
    ---Click Save.

  • Rajan

    Member
    April 26, 2018 at 1:18 pm in reply to: How to learn Salesforce Einstein?

    hi ,

    Help from Sales force Trail Head to learn more  things

     

     

    Thanks !

  • Rajan

    Member
    March 30, 2018 at 3:58 am in reply to: Can we use mixed sobjects dml in one transaction?

    Hi ankit ,

    You can’t use the following sObjects with other sObjects when performing DML operations in the same transaction.
    You can only insert and update a group in a transaction with other sObjects. Other DML operations aren’t allowed.

  • Rajan

    Member
    March 29, 2018 at 5:43 pm in reply to: what are system objects in salesforce?

    Hi

    All standard objects are systems objects like account , contacts ,lead and many other which are available in salesforce org.

    • This reply was modified 6 years, 6 months ago by  Rajan.
  • Rajan

    Member
    March 29, 2018 at 5:36 pm in reply to: What is the role of Scope parameter in Salesforce Batch Apex

    Hi ankit

    Scope parameter specifies the number of records to pass into the execute method. Use this parameter when you have many operations for each record being passed in and are running into governor limits.

    Hope this help!

  • Rajan

    Member
    March 29, 2018 at 5:20 pm in reply to: How is schedule apex different from batch apex?

    Hi ankit

    Schedule apex - you can call the apex classes on a specific time interval . This apex uses
    Schedulable interface.

    Batch apex- there are three method used in batch classes.
    Start
    Execute
    Finish
    This apex classes uses batchable interface.
    Database.batchable like this.

    Hope this help!

  • Hi parv ,

    I think you need to check your code . check SaveasActivity as is true or false in your code . It is basically by default true so you do not write in your code .

     

    Thanks !

  • Rajan

    Member
    March 15, 2018 at 8:17 am in reply to: Value not shown in a Picklist Field?

    Hello Shubham,

    Please check I think this field may be dependent to other field. so first you must enable that new value in that field.

    Thanks!

  • Hi saurabh,

    1- validation rule

    2- by using page layout

    3- when we create a object then check it from required check box .

     

     

  • Rajan

    Member
    March 15, 2018 at 8:08 am in reply to: What is the difference between a Role and Profile in Salesforce?

    Hello Kapil ,

     

    profile - profile is basically a object level access and field level access and It is required for  the users .

    role - role  is basically a record level access and It is not required for users .

  • Rajan

    Member
    January 12, 2018 at 12:28 pm in reply to: How to perform inner query in SOQL (Salesforce Object Query Language)?

    Hi Ankit ,

     

    Here is the example of inner SOQL query(parent to child ) -(Account and contact)

    [SELECT ID , Name, (SELECT id FROM Contacts ) FROM Account ]

     

     

     

  • Hi Ankit ,

    Sales cloud - sales cloud basically a sales module  in salesforce.com . It includes  a features of web to lead  to support online lead capture
    It includes lead ,Accounts ,contacts  etc (not a cases )

    Auto-response rules is used .

    Service cloud - service cloud basically a service module in salesforce.com .It includes a features a web to case and call center .
    Escalation rules ,Assignments rules is used in service cloud .
    It is designed to Allow you to support past ,current and future clients for Assistance with a product ,service billing etc

  • Rajan

    Member
    January 4, 2018 at 2:46 pm in reply to: How to create test class for big object in Salesforce?

    Hi Satish ,

     

    I have created a dummy Data of big object . hope it may be helpful in test class .
    <Customer_Interaction__b> bo = new Customer_Interaction__b();
    bo.Account__c = "001R000000302D3";
    bo.Game_Platform__c = "PC";
    bo.Play_Date__c = "2015-01-01T23:01:01Z";
    bo.In_Game_Purchase__c = "A12569";
    bo.Level_Achieved__c = "41";
    bo.Lives_This_Game__c = "3";
    bo.Score_This_Game__c = "5500";
    bo.Play_Duration__c = "25";
    database.insertImmediate(bo);

    Thanks !

     

  • Hi Archit ,

    I have tried the following steps this was  helpful for me .

    Thanks !

  • Rajan

    Member
    December 29, 2017 at 9:54 am in reply to: How to create trigger using apex class to count the no of contacts?

    Using Apex classes------------------

    public class mytriggercount{
    public static void counttrigger(contact [] cts){
    set<id> accidlist = new set<id>();
    for(contact con:cts){
    accidlist.add(con.Accountid);
    }
    list<account> acc = new list<account>();
    for(Account a:[select id,my_contacts__c,(select id from contacts)from Account where id IN:accidlist]){
    a.my_contacts__c = a.contacts.size();
    acc.add(a);
    }
    update acc;
    }
    }

    trigger-------------------------------

    trigger countcontacts1 on Contact (after insert,after update,after delete,after undelete) {
    if(trigger.isafter){
    if(trigger.isinsert){
    mytriggercount.counttrigger(trigger.new);
    }
    }
    if(trigger.isafter){
    if(trigger.isundelete){
    mytriggercount.counttrigger(trigger.new);
    }

    }
    if(trigger.isafter){
    if(trigger.isupdate){
    mytriggercount.counttrigger(trigger.new);
    }
    }
    if(trigger.isafter){
    if(trigger.isupdate){
    mytriggercount.counttrigger(trigger.old);
    }
    }
    if(trigger.isafter){
    if(trigger.isdelete){
    mytriggercount.counttrigger(trigger.old);
    }
    }
    }