Forum Replies Created

Page 12 of 12
  • Hi Utsav,

    Salesforce Acquires SteelBrick in December 2015 for US$360 million.

    SteelBrick, a Salesforce company, is dedicated to making selling simple. SteelBrick helps companies accelerate growth by automating quoting, contracting, and billing processes with the next generation Quote-to-Cash product suite.

    For generating Quotations you have to purchase the steelbrick(pro or premium plans as per your need) ,then use its features as per your need as it is a maximum customizable product.

    Hope this helps you.

    Thanks

  • Hi Amit ,

    Yes , For now we can deliver error notification through voice messages in salesforce by using various apps (like Voice Memos  ;  Messaging made easy, send notifications or messages - voice, text, email - IoT  ;  CallHub - Automated SMS and Voice Messages  ;  etc) in appexchange (some are free and some are paid apps).

    Hope this helps you.

    Thanks

  • PRANAV

    Member
    August 30, 2016 at 8:45 am in reply to: How to connect a trigger from more than two sobject in salesforce?

    Hi Mohit,

    Yes, We can connect two object which has some sort of relationship between them like in account and contact.

    Here is a sample code, which is on account object. In this trigger when an account is inserted or updated, then its related contact has same phone number in its record.

    trigger CopyAccPhoneToConPhone on Account (after insert, after update)
    {
    list<contact> conlist = new list<contact>();
    for (contact a : [select id, phone, Contact.AccountId, account.phone from contact where Contact.AccountId IN: trigger.new] )
    {
    if(a.accountid != null)
    {
    a.phone = a.account.phone;
    conlist.add(a);
    }
    }
    update conlist;
    }

    Hope this helps you.

    Thanks

  • PRANAV

    Member
    August 30, 2016 at 8:28 am in reply to: How can we avoid to access/see the data of freeze user?

    Hi Mohit ,

    Here is the difference between Deactivating a User and Freezing a User .

    Deactivating a user in Salesforce means : User will not be deleted but will no longer be able to log in to Salesforce and their records can be transferred to another user. Deactivated users lose access to shared records immediately .

    Whereas Freezing a User is when you have to do some extra work to get the user deactivated .

    Users higher in the role hierarchy continue to have access until that access is deleted . If that visibility is a concern, remove the record access that’s granted to the users .

    For Example:- If your ORG is one among the larger ones which uses a lot of automated process or has custom hierarchy fields then you may already know deactivating a user selected in a custom hierarchy field is not a one step process . So you can freeze the user account to ensure you've enough time clean up, transfer the records and then finally deactivate the user .

    NOTE : Freezing user accounts doesn’t make their user licenses available for use in your organization . You must deactivate user accounts to make their user licenses available .

    Hope this helps you .

    Thanks

  • Hi Tanu,

    Queueable Apex allows you to submit jobs for asynchronous processing similar to future methods with the following additional benefits:

    • Non-primitive types: Your Queueable class can contain member variables of non-primitive data types, such as sObjects or custom Apex types. Those objects can be accessed when the job executes.
    • Monitoring: When you submit your job by invoking the System.enqueueJob method, the method returns the ID of the AsyncApexJob record. You can use this ID to identify your job and monitor its progress, either through the Salesforce user interface in the Apex Jobs page, or programmatically by querying your record from AsyncApexJob.
    • Chaining jobs: You can chain one job to another job by starting a second job from a running job. Chaining jobs is useful if you need to do some sequential processing.

    Queueable Versus Future

    • If you were exceeding a governor limit in your future method, or if you think a future method requires a higher limit, you can possibly increase the limits for your future method with the Future Methods with Higher Limits pilot.
    • Another reason to use future methods instead of queueable is when your functionality is sometimes executed synchronously, and sometimes asynchronously. It’s much easier to refactor a method in this manner than converting to a queueable class. This is handy when you discover that part of your existing code needs to be moved to async execution.
    • You can simply create a similar future method that wraps your synchronous method like so:

    @future
    static void myFutureMethod(List<String> params) {
    // call synchronous method
    mySyncMethod(params);
    }

    Hope this helps you.

    Thanks

  • PRANAV

    Member
    August 29, 2016 at 5:31 am in reply to: How to approve the record with an email?

    Hi Mohit,

    If you navigate to Setup > Workflow & Approvals > Manage the settings for workflow.

    There is a checkbox for enabling  Email Approval Response lets users reply to email approval requests by typing APPROVE or REJECT in the first line and adding comments in the second line.

    Make sure the checkbox is check and save the settings.

    Hope this helps you.

    Thanks

  • Hi Tanu,

    Try this code:

    trigger CopyAccPhoneToConPhone on Account (after insert, after update) {
    Map<Id, String> m = new Map<Id, String>();
    list<contact> conlist = new list<contact>();
    for (contact a : [select id, phone, Contact.AccountId, account.phone from contact where Contact.AccountId IN: trigger.new] ) {
    if(a.accountid != null){
    a.phone = a.account.phone;
    conlist.add(a);
    }

    }
    update conlist;
    }

    Hope this helps you.

    Thanks

  • PRANAV

    Member
    August 26, 2016 at 12:53 pm in reply to: I want to make columns of pageBlockTable hyperlink, how to do this?

    Hi Tanu,

    You can make pageBlockTable columns hyperlink by using outputLink.

    For eg.

    <apex:pageBlockTable value="{!Account}" var="a"  >
    <apex:column headerValue="Account " >
    <apex:outputLink value="/{!a.id}">
    <apex:outputText value="{!a.id}">
    </apex:outputText>
    </apex:outputLink>
    </apex:column>

    Hope this helps you.

  • PRANAV

    Member
    August 26, 2016 at 11:30 am in reply to: How can we give auto size the Salesforce visualforce page?

    Hi Mohit,

    Use this code for auto sizing Visualforce Page:

    <apex:page sidebar="false">
    <apex:iframe src="https://www.salesforce.com/" id="theFrame" />
    <script>document.getElementById('theFrame').height = window.innerHeight - 220;</script>
    </apex:page>

    Hope this helps you.

  • PRANAV

    Member
    August 26, 2016 at 11:20 am in reply to: How to delete all contacts which are not related to any account?

    Hi Tanu,

    You can delete all contacts with the help of Mass Delete Records in your org.

    • Click Your Name | Setup | Data Management | Mass Delete Records Or search in Quick Search box.
    • Select the Mass Delete Contacts option.
    • In Find Contacts that match the following criteria: choose AccountId equals to blank means no need to write in third box.
    • Select search, here you find all the contacts which are not related to any account.
    • Now select the contacts you want to permanently delete.

    Hope this helps you.

    Thanks

     

  • Hi Tanu,

    First make a custom field ( dateTest__c) of Formula Type and Formula return Type is Text then apply this formula
    Formula:
    IF(DAY( dateTest__c)>=15,
    (CASE(MONTH( dateTest__c), 1, "January", 2, "February", 3, "March",  4, "April",  5, "May",  6, "June", 7, "July", 8, "August", 9, "September", 10, "October", 11, "November", 12, "December", "None") & " - " & "Second Half"),
    (CASE(MONTH( dateTest__c), 1, "January", 2, "February", 3, "March",  4, "April",  5, "May",  6, "June", 7, "July", 8, "August", 9, "September", 10, "October", 11, "November", 12, "December", "None") ) & " - " & "First Half")

    Formula will return the result August - First Half or August - Second Half.

    Please remember to replace dateTest__c with the API name of your custom date field .

     

    Hope this helps you.

     

  • Hi Tanu,

    Follow these steps:

    • Try to access the isPersonAccount property on an Account and catch any exception that occurs if that property is missing.
    • If an exception is generated then person accounts are disabled. Otherwise they're enabled.
    • To avoid making person accounts required for the package you can assign the Account object to an sObject and use sObject.get( 'isPersonAccount' ) rather than accessing that property directly on the Account object.

    Hope this helps you.

  • PRANAV

    Member
    August 26, 2016 at 10:48 am in reply to: How can I convert a 15 char Id value into an 18 char Id value?

    Hi Tanu,

    1. Separate the 15 char Id (0012800000h7EFK)into 3 groups of 5 chars. You now have 3 strings (the triplet variable below): 00128, 00000 and h7EFK.
    2. Reverse each string. The three strings are now 82100, 00000 and KFE7h.
    3. In each string, convert all Uppercase chars to 1, all other chars to 0. The three strings are now 00000, 00000 and 11100.
    4. Look up the corresponding char in the BinaryIdLookup based. This gives us a suffix of AA2.
      The 3 chars generated (in order) are appended to the 15 char Id value, giving you an 18 char Id value of 0012800000h7EFKAA2.

    Hope this helps you.

  • PRANAV

    Member
    August 11, 2016 at 6:13 am in reply to: How to display Account Owner name in Visualforce Page?

    Hi Ajit,

    Yes , it works perfectly on setting the value of Account.Ownerid in the controller .

    Thanks

  • PRANAV

    Member
    August 4, 2016 at 6:30 am in reply to: How to display Account Owner name in Visualforce Page?

    Hi Shekhar,

    Yes,  I passed an account id ,the vf page shows the details of that particular account shown in image below.

    accid

    But I want to insert new account through my vf page for that I want to show account owner name as shown in default new account page . Please give some suggestion on it.

    Thanks

  • PRANAV

    Member
    July 29, 2016 at 2:03 pm in reply to: How can I use soql query on sobject in community user in apex?

    Hi Himanshu,

    Thank you for your solution , but I am asking for soql query in test class where user is of community type.

    Please give some suggestion on it.

  • PRANAV

    Member
    July 25, 2016 at 5:42 am in reply to: Is there any method to test a Visualforce page like an apex class?

    Hello,

    I am asking for Visualforce page controller.

  • Hi Shekhar,

    Yes , I had done some trailhead over lightning.

  • PRANAV

    Member
    July 22, 2016 at 7:52 am in reply to: Why I can't Edit or Delete my Domain name in Salesforce?

    More Information:

    In my org the Edit /Del options are shown but when I move cursor on them it shows a message that "This domain can't be edited or deleted. Please contact support if you want to edit/delete this domain name."

    Thanks

Page 12 of 12