Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • #32908
    Forcetalks

    Hi Madhulika,

    You’ll need to embed a short WAV file in the HTML, and then play that via code.It’s not possible to do directly in JavaScript.┬áIt’s not possible to do directly in JavaScript.

    <script>
    function PlaySound(soundObj) {
    var sound = document.getElementById(soundObj);
    sound.Play();
    }
    </script>

    <embed src=”success.wav” autostart=”false” width=”0″ height=”0″ id=”sound1″
    enablejavascript=”true”>

    Now, you can call above script in VF page.

    Thanks.

    VIEW CONVERSATION
    #29061
    Forcetalks

    Hi Shubham,

    Here are some of the top benefits of Salesforce CRM:

    1.Ensuring faster and better sales opportunity.
    2.Deploying an analytical approach to customer acquisition.
    3.Reducing cost and improving customer satisfaction.
    4.Automation of repetitive and less important tasks.
    5.Improved efficiency and enhanced communication on all fronts.

    VIEW CONVERSATION
    #29057
    Forcetalks

    Hi Shubham,

    Here’s the sample of code which you can use for conversion of Lead.

    Lead myLead = new Lead(LastName = ‘Fry’, Company=’Fry And Sons’);
    insert myLead;

    Database.LeadConvert lc = new Database.LeadConvert();
    lc.setLeadId(myLead.id);

    LeadStatus convertStatus = [SELECT Id, MasterLabel FROM LeadStatus WHERE IsConverted=true LIMIT 1];
    lc.setConvertedStatus(convertStatus.MasterLabel);

    Database.LeadConvertResult lcr = Database.convertLead(lc);
    System.assert(lcr.isSuccess());

    VIEW CONVERSATION
    #20923
    Forcetalks

    Hi Shariq,
    A Global Picklist means a picklist which you can access for all salesforce objects. In other words if you are creating any picklist, this picklist you can use for your Account, Lead, Opportunity and custom object etc.
    The reason why we use it and how to make it can be understood by taking a very small example, suppose you are creating one simple Picklist called Product Picklist, for creating it just go to “Setup” then search for “Picklist Value Sets”, in this page click on “New” and create new ‘Global Value Set’ by giving its Label as ‘Product’ and some values (e.g. Gold, Diamond, Silver) after this please check the below given check box. Now our Picklist is ready.
    Now we want to add this Picklist into Lead. So 1st we will go to “Customize” then “Lead” the go to “fields” then creat a “new custom field”, in which select Picklist data type then on next page give “Field Label” as ‘Product’ and in “values” select ‘Product Picklist’ then complete the process by saving it. Now your Picklist is ready, just go on Lead and easily you can see your ‘Product Picklist’ on this object. Repeat this same process for opportunity and other object which you want.Try this process once it will defiantly help you.

    Thanks

    VIEW CONVERSATION
Viewing 4 posts - 1 through 4 (of 4 total)