Forum Replies Created

Page 3 of 21
  • Hello,

    You can't delete the scheduled workflow.

    Thanks.

  • Hello,

    Blob is a sequence of Bytes and it need to be converted to string representation for concatenation. In Apex there are only two ways to convert Blob to String, either use base64Encode or convertToHex as suggested above. base64Encode will not work in this case as base64Encode appends additional information during encoding and this causes corrupted data if two base64Encoded Blob values are combined and converted back to Blob using EncodingUtil.base64Decode() method.

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 4:07 am in reply to: What is the default namespace of Salesforce lightning component?

    Hello,

    If your organization hasn’t set a namespace prefix, use the default namespace c when referencing Lightning components that you’ve created.

    Thanks.

  • Hello,
    A sandbox is an environment that is associated with a particular production environment, runs on the sandbox pods (CS1, CS2, etc). Developer editions are their own independent environments, and run on the products pods (NA1, NA2, etc).
    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 4:02 am in reply to: In below code snippet in Salesforce, what is going wrong?

    Can you explain to me how it is working? Because I didn't get it.

    Thanks in advance.

  • Avnish Yadav

    Member
    September 30, 2018 at 4:00 am in reply to: Salesforce.com Certification Study Guide

    Hello,

    Here is the pdf link - certification.salesforce.com/SG_CertifiedDeveloper.pdf

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 3:58 am in reply to: Can you use Group by clause inside inner query in Salesforce SOQL?

    No we cannot use  aggregate expression.
    Thanks.

  • At max you can use 10 Field Dependencies in Visualforce Page.

    Thanks

  • Hello,

    No, it will not removed.

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 3:51 am in reply to: How to avoid recursive trigger calls in Salesforce?

    Here is the code-

    Apex class:-

    public Class checkRecursive {
        private static boolean run = true;
        public static boolean runOnce(){
            if(run){
                run=false;
                return true;
            } else{
                return run;
            }
        }
    }

    Trigger -

    trigger updateTrigger on anyObject(after update) {
        if(checkRecursive.runOnce())
        {
            //write your code here
        }
    }

    Thanks.

  • Hello,

    Let`s see how we can display Salesforce data using Visual force pages.

    Generation of pdf file:

    Salesforce data can be displayed in Visualforce page using Controllers as per the client template format

    Visualforce can be easily converted to PDF documents automatically—simply add “renderAs” attribute of <apex:page> tag

    Example:
    <apex:page  renderAs=”pdf”>
    ……
    Code to display data in the desired format
    ……
    </apex:page>

    Generation of word file:

    To generate Ms-word file, we just use contentType=”application/vnd.msword” attribute of <apex:page> tag.

    Example:
    <apex:page  contentType=”application/vnd.msword”>
    ……
    Code to display data in the desired format
    ……

    </apex:page>

    Generation of excel file:

    Now if we need to generate Excel file, we just use contentType=”application/vnd.ms-excel” attribute of <apex:page> tag .

    Example:

    <apex:page  contentType=”application/vnd.ms-excel”>
    ……
    Code to display data in the desired format
    ……

    </apex:page> server headers site information expiration of domains .

    Thanks.

  • Lightning Components for Visualforce is based on Lightning Out, a powerful and flexible feature that lets you embed Lightning components into almost any web page. When used with Visualforce, some of the details become simpler. For example, you don’t need to deal with authentication, and you don’t need to configure a Connected App.

    In other ways using Lightning Components for Visualforce is just like using Lightning Out. Refer to the Lightning Out section of this guide for additional details

  • Hello,

    There are three steps to add Lightning components to a Visualforce page.

    1. Add the Lightning Components for Visualforce JavaScript library to your Visualforce page using the <apex:includeLightning/> component.
    2. Create and reference a Lightning app that declares your component dependencies.
    3. Write a JavaScript function that creates the component on the page using $Lightning.createComponent().

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 3:44 am in reply to: Flex security cross-domain issue in Salesforce

    Hello,

    You need to use your domain's copy of the crossdomain.xml file. For example, if you're on ap1, you need to load https://ap1.salesforce.com/crossdomain.xml.

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 3:43 am in reply to: How to extend a standard Salesforce lightning ui component?

    Hello,

    Extension can be very confusing! Try adding {!v.body} to your child component so that it knows where to put the content passed in from grandchild.

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 3:42 am in reply to: Can we perform mass delete reports using Salesforce Apex?

    Hello,

    With the summer 14 release, You can delete mass reports in Salesforce. In Setup, under Data Management > Mass Delete Records, select mass Delete Reports and configure a filter to find reports that need to be deleted. Reports that you delete go into the recycle bin.

    Thanks.

  • Hello,

    Time-dependent actions remain in the Workflow Queue until processed or therule criteria for the Workflow Rule are evaluated as "false." If a record no longer matches the rule criteria when the rule is evaluated, Salesforce removes the time-dependent actions queued for that record.

    Thanks.

  • Hello,

    1. First, create a Visualforce email template:Click Setup | Email | My Templates. If you have permission to edit public templates, click Setup | Communication Templates | Email Templates.
    2. Click New Template.
    3. Choose Visualforce and click Next.
    4. Choose a folder in which to store the template.
    5. Select the Available For Use checkbox if you would like this template offered to users when sending an email.
    6. Enter an Email Template Name.
    7. If necessary, change the Template Unique Label.
    8. Select an Encoding setting to determine the character set for the template.
    9. Enter a Description of the template. Both template name and description are for your internal use only.
    10. Enter the subject line for your template in Email Subject.
    11. In the Recipient Type drop-down list, select the type of recipient that will receive the email template.
    12. Optionally, in the Related To Type drop-down list, select the object from which the template will retrieve merge field data.
    13. Click Save.
    14. Click Edit Template.
    15. Enter markup text for your Visualforce email template.
    16. Click Save to save your changes and view the details of the template, or click Quick Save to save your changes and continue editing your template. Your Visualforce markup must be valid before you can save your template.

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 3:34 am in reply to: In what piece the salesforce Id composed of ?

    Hello,

    The first 3 digits are a prefix that specifies the type of sObject.

    I believe the rest of the Id is reference to the record itself. I should also add that the ID's are 15 digits long but can be 18 digits long with the last 3 digits for error correction making the the Id case-insensitive.

    So:

    3 Digits (Object) / 12 Digits (Record) / (Optional) 3 Digits (Error Correction)

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 3:32 am in reply to: Download Attachments in Salesforce View

    Hello,

    I would suggest you to use Dataloader.IO website = http://dataloader.io/
    You can logIn and just follow through the UI and I am sure you will find a way to export notes and attachments. You can definitely export attachments from here

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 3:32 am in reply to: How to get Dynamic value in picklist by Javascript in Salesforce?

    Hello, I suggest use

    Use aura attribute to bind ui:inputSelect value. You can populate selected value in doInit using component.set("v.selectedValue", selectedOption);

    <aura:attribute name="selectedValue" type="String" />

    <ui:inputSelect aura:id="inputPicklistId"
    class="slds-input question-input"
    change="{!c.onBlurQuestion}"
    multiple="false" value="{!v.selectedValue}">

    istead of going to javascript.

    Thanks.

  • Hello,

    The following components can’t be retrieved or deployed with Metadata API, and changes to them must be made manually in each of your organizations:

    Account Teams
    Activity Button Overrides
    Analytic Settings
    Automated Case User Settings
    Auto-number on Customizable Standard Fields
    Campaign Influences
    Case Contact Roles
    Case Feed Layouts
    Case Team Roles
    Console Layouts
    Multiline layout fields for contract line items
    Currency Exchange Rates
    Data Category Visibility Settings
    Delegated Administration
    Divisions
    Fiscal Year
    File Upload and Download Security Settings
    Lead Settings
    Live Agent chats routed with Omni-Channel
    Mail Merge Templates
    Mobile Administration
    Mobile Users and Devices
    Multiline layout fields for opportunity teams
    Offline Briefcase Configurations
    Opportunity Big Deal Alerts
    Opportunity Update Reminders
    Organization Wide Email Addresses
    Outlook Configurations
    Partner Management
    The following standard picklists: IdeaTheme.Categories, Order.Status, Question.Origin. (All other standard picklists are supported.)
    Predefined Case Teams
    Product Schedule Setup
    Public and Resource Calendars
    Quote Templates
    Salesforce to Salesforce
    Self-Service Portal Font and Colors
    Self-Service Portal Settings
    Self-Service Portal Users
    Self-Service Public Solutions
    Self-Service Web-to-Case
    Service report templates
    Site.com
    Social Account/Contact Settings
    Social Business Rules
    Social Customer Service Settings
    SoftPhone Layout
    Solution Categories
    Solution Settings
    Standard fields that aren’t customizable, such as autonumber fields or system fields
    Tag Settings
    Territory Assignment Rules
    User Interface Settings (except calendar features, which are supported in ActivitiesSettings)
    Web Links on Person Account Page Layouts
    Web-to-Lead

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 3:28 am in reply to: Quickbooks online authentication from Salesforce

    Hello,

    Kindly read my blog for integration of QuickBooks to salesforce. Here is the link

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 3:26 am in reply to: What is TestVisible Annotation in Salesforce?

    Adding more @testvisible is released before winter 15 .So you can use in your version to 30 or more

    Thanks.

  • Hello,

    A properly formatted CSV can contain commas in its field values and can be used to import data.

    Thanks.

Page 3 of 21