Be Good & Do Good!

Year: 2010 (Page 2 of 8)

What salesforce.com network IP addresses do I need to whitelist?

Salesforce.com has an IP address block allocated directly to salesforce.com by the American Registry for Internet Numbers (ARIN).

To provide continuity of service if you utilize email or IP address security filters, white list or otherwise add salesforce.com’s IP address space to your list of trusted addresses

The IP address spaces are as follows:

204.14.232.0/25 East Coast Data Center (set one)
204.14.233.0/25 East Coast Data Center (set two)
204.14.234.0/25 West Coast Data Center (set one)
204.14.235.0/25 West Coast Data Center (set two)
202.129.242.0/25 Singapore Data Center

To clarify, the “0/25” that you see in the ranges refers to an abbreviated form of Classless Inter-domain routing notation. In essence this notation is a network number followed by a “/” and a number , the latter number indicates the number of 1’s (starting a the left most bit i.e MSB – most significant bit) in the subnet mask i.e the number of bits relevant to a network portion of the IP address. So “/25” means 25 bits constitute the subnet mask of 255.255.255.128, and really 25 bits reserved for network address which is identified by performing bitwise “AND” to the full network number.

For example 204.14.232.0/25 means 2 possible networks in the form of 204.14.232.0 and 204.14.232.128 each having possible 126 hosts i.e total 252 hosts or IP addresses per specified range.

Salesforce – Hide standard buttons display (Working version)

There are many a times where we want to remove few standard buttons from page layout, but there is no such option to remove such restricted buttons. Few such buttons are …

  • “New Note” or “Attach File” button on Google Docs, Notes, & Attachments Related list
  • “Save & Send Invitation” button on New Event page
  • Following is a solution which will hide “Save & Send Invitation” button on New Event page

    STEP1: JAVASCRIPT Code. Create a JS file with below code

    function hideBtns()
    {
    if(document.getElementsByName(“sendEmail”)[0]!=null)
    document.getElementsByName(“sendEmail”)[0].style.display = ‘none’;
    if(document.getElementsByName(“sendEmail”)[1]!=null)
    document.getElementsByName(“sendEmail”)[1].style.display = ‘none’;
    }
    if (window.addEventListener) {
    window.addEventListener(“load”, hideBtns, false);
    }
    else if (window.attachEvent) {
    window.attachEvent(“onload”, hideBtns);
    }

    STEP2: Upload the JS file as a DOCUMENT

    STEP3: Create a Home Page Component of type (HTML Area)

    <script src=”/servlet/servlet.FileDownload?file=01530000001OcDl”></script>

    Here 01530000001OcDl is ID of document created in STEP2

    STEP4: Add above created Home page component in your home page layout.

    That’s it you are all set, now open New Event and add invitees, automatically the “Save & Send Invitation” button will disappear.

    Please note : If you have some functionality which you want to work across all pages or on every form then navigate to Setup then go to Customize->User Interface, check “Show Custom Sidebar Components on All Pages” under the Sidebar section.

    Differences between the Import Wizard and the Apex Data Loader

    Salesforce CRM provides two tools for data migration—the Import Wizard and the Apex Data Loader.

    The Import Wizard

    is designed for less-technical users and smaller, simple imports of up to 50,000 records. It takes you through the process step by step and displays error messages to alert you to potential record duplications (“dupes”). For more information, go to Help & Training | Importing Data | Using the Import Wizards.

    Use the Apex Data Loader

    for complex imports of any size. It’s for technical users only. You’ll need access to the API to use this tool, which is included with Enterprise and Unlimited Edition. If you have another edition, you can purchase the API separately by contacting your account executive. The Data Loader doesn’t display error messages to alert you to potential problems. However, this tool includes several features that help make large data imports easier, such as being able to save your mappings. For more information, go to Help & Training | Data Loader.

    The table below summarizes the difference between the two tools. The instructions in the remaining steps refer to the Import Wizard.
    https://www.salesforce.com/assets/images/campaigns/insights_data_migration_table.gif

    Cloud Antivirus – an Anti virus hosted in the cloud

    The first question that comes to mind when we talk of the Cloud Antivirus is if the Antivirus is in the cloud how it will protect the PC? Tecnerd.com digs a little deeper to understand what exactly these services that claim themselves as Cloud Antivirus offer.

    How Cloud Antivirus is different from traditional antivirus products?

    Cloud Antivirus is a cloud based security solution that can be installed and managed from anywhere through a web console.

    Since it is a hosted service, it doesn’t require infrastructure investment. You typically have options to delegate your security management to expert service providers.

    So it is essentially more about management of Antivirus in any organization that goes in the cloud. There will still be an Antivirus product installed in each PC and laptop you have. However you have options to control the updates, profiles and levels of security from a cloud based control panel. However the installed part on PC is a thin version of traditional antivirus product.

    How the Cloud Antivirus is deployed?
    Normally the Cloud Antivirus can be deployed in two ways. One in which the user clicks on an email which includes a link that will install the protection agent. The other way is where administrator can push the installation to workstations choosing workstations by name, IP address, IP range or by domain.

    What are advantages of Cloud Antivirus?

    Cloud Antivirus is service not software and so has follwoing advantages:
    No installation required
    Update without users intervention – always up to date
    Access your account from anywhere
    Reduces bandwidth consumption (as large number of workstations look for updates in traditional software)

    What are Free Cloud Antivirus?
    They are similar to other free anti virus but hosted in cloud. You get advantage of low footprint and up to date packages. An example of free cloud anti virus is Panda Cloud antivirus.

    Page Break, Page number and Page layout Styles in Visualforce PDF Templates

    1. Page Break
    While generating PDF template from Visualforce, if you want to give the page break ,below code snippet is very useful.
    You can use the page break style properties to control where the browser will insert a page break. The Force.com PDF content converter will carry that over to the PDF.

    <apex:page renderas="pdf">
    <div style="page-break-after:always;">
    This is page one
    </div>
    </apex:page>

    2. Page layout and Page number
    The following snippet shows you have to switch the PDF page layout to landscape and add page numbers to your Visualforce page. Use the below code in CSS of Visualforce page.

    @page {
    /* Landscape orientation */
    size:landscape;

    /* Put page numbers in the top right corner of each page in the pdf document. */
    @top-right
    {
    content: “Page ” counter(page);
    }
    }

    Source : Kyle Roche / Pragya Kumari

    Messaging.SingleEmailMessage array and sendEmail limits

    Problem Statement
    The Apex Developers Guide says there is a maximum of 10 sendEmail methods per transaction (page 310). Is this counted by individual message sent, or by line of code executed? Example: What if you have 11 messages in a Messaging.SingleEmailMessage array and call the sendEmail method once using this array? (Each message in the array has slightly different content, which is why I’m not using mass email.)

    Solution (Ack : Anand)
    The limit is on the number of times “SendEmail(…)” method is called not the number of SingleEmailMessage int he Array. So theoretically you can send 10 x 1000 emails (assuming you have an array of 1000 SingleEmailMessage for every sendEmail call) .

    Salesforce.com Chatter is Generally Available …

    Salesforce Chatter is a new way to collaborate with people in your company, in real time, in a private, completely secure way.

    Transcript :

    • This is your homepage. Right away you can see how Chatter brings your business applications to life.The first thing you see is your picture and your latest status update.
    • When you click on your picture, or on the profile tab,you’re brought to your work profile where you can share your skills and background with everyone in your company.
    • In the middle of the page is where you post your status. It’s where you let everyone know what you’re working on.
    • You can also attach links and files to go with your updates whether you’re at a conference looking for new business or just asking your colleagues for advice.
    • People can see your status in real time, and respond immediately with helpful information.
    • Now let’s take a look at the people tab,here you have a private corporate directory that makes it easy to find colleagues and follow them if you want to see their updates.
    • Back on our homepage, you can open your main Chatter Feed. It puts all of your updates right in front of you in one place.
    • You can see updates from the people you’re following,plus you can immediately see when new files have been updated, like this presentation.
    • But Chatter helps you do a lot more than follow people, you can also keep track of everything that’s happening with your applications and specific records that matter to you.
    • Like updates from your deals, your customer cases, and your custom app records like this project. You can even get updates from Non-Salesforce apps like back office finance or HR systems. Here you can see an update to an account you’re following. From your feed you can drill right into the underlying detail.
    • Here we are on the account record. You can see all of the account details, and expand the Chatter feed to see the latest updates. At the top is where you can choose to follow this account.
    • Here you can see who else is following it. And if you created or own this record, you will automatically follow it.You will also automatically follow the people and records you work with most often.
    • With Chatter, every record also has it’s own feed. For example, people from across the company who work on this account can collaborate on it right here. When someone makes a change, or a document is modified, everyone who is following is immediately updated.
    • With Chatter, you can also create groups to collaborate on any team project whether it’s a Sales opportunity, an HR project, a product, or your team.
    • You can create groups in just a couple of clicks. You simply choose whether you want a public or private group,and then invite your colleagues to join. Here’s a group for a consulting project related to this account.
    • Chatter also makes it easy for groups to collaborate on documents. Here’s a project plan that someone just posted to the group. You can preview and comment on it right in the feed.
    • Finally, you can bring Chatter with you on the road. It works with your mobile device, like your iPad, iPhone or Blackberry. No matter where you go, Chatter makes sure you have your realtime updates right at your fingertips.
    • That was a quick look at Chatter. A powerful way to collaborate with people in your company in realtime, in a private, completely secure way. So what are you waiting for? It only takes a minute to get started. Simply create your profile, follow your colleagues, and let people know what you’re working on.

    Salesforce.com Setup Enhancer (Easy Search Setup)

    Setup Enhancer for Salesforce is about to make navigating the Setup tree a whole lot easier. It makes your life really easy by searching and showing you only the matched setup options. Full marks to this small yet useful script.

    Setup Enhancer for Salesforce is a Greasemonkey script that helps you find just what you’re looking for in Setup with a minimal number of keystrokes. Looking for Account Validation Rules? Don’t hit all those plus signs out there and scroll down endlessly. Type “val” and you’ll have one list of just validation rules. To learn more, check out the video.


    All you need to run Setup Enhancer for Salesforce is

    This is the Salesforce administrator’s new best friend. If you try it and like it, please leave a five-star review of it at UserScripts and leave some feedback.

    Source : CRM FYI

    Salesforce.com App ‘Action Plans’ – Reusable Task Templates

    Action Plans is a new, free app for Salesforce.com (from the Force.com Labs) that in a nutshell puts best practices into reusable “task templates”. Task templates can help you create automatic follow ups when your organization receives new donations and normalize the staff’s task generations on new leads.

    Action Plans allow your organization to create multiple tasks (independent and/or dependent) for a lead (or other Salesforce.com objects), assign tasks to a specific user, and supports the creation of up to 20 action plans at a time.

    PDF – World’s favourite document format!

    The PDF file format was created by Adobe Systems in the early 1990s for document exchange. PDF represents documents in a way that is independent of hardware, software and operating systems. While initially PDF was a proprietary format, it was officially released as an open standard in July of 2008 and was published by the International Organization for Standardization as ISO 32000-1:2008.

    Adobe recognized PDF’s intrinsic value for universal content exchange and chose to turn the specification over to AIIM, the enterprise content management industry association. AIIM, on behalf of ANSI (American National Standards Institute), in essence, serves as the custodian or steward for the PDF standard. Under the AIIM standards program, PDF continues to evolve to meet the diversified needs of the information management industry. There are currently five committees working to further develop the PDF standard. Subsets of PDF include:

    PDF/Archive, or PDF/A, is the electronic document file format for long-term preservation. PDF/A became an ISO standard (ISO 19005-1) in September 2005. It was developed to provide a file format with a mechanism for representing electronic documents in a manner that preserves their visual content over time. Documents stored in PDF/A will always be able to be viewed by future versions of the Acrobat Reader. A revision to ISO 19005-1 is currently being worked on by the ISO working group that will add some functionality to the archival electronic document file.

    PDF/Engineering, or PDF/E (ISO 24517-1), is the standard file format for the exchange of engineering documents. This standard enables organizations to streamline engineering workflows that incorporate diverse sets of complex engineering documents, resulting in improved productivity and the ability to more quickly deliver better products to market. In addition to improving workflows in engineering organizations, this standard specifies the proper use of PDF for on-screen display and printing of engineering documents.

    PDF/Universal Access, PDF/UA (ISO/CD 14289), is currently being developed to enable individuals with disabilities to be able to render PDF documents. The committee tasked with this standard is working on a PDF standard to produce electronic documents that are maximally accessible to those who use assistive technologies to read documents.

    PDF Healthcare is the latest standard spawned from PDF. This project is unique in that it is not initially a file format standard but rather a best-practices guide that will describe the attributes of the Portable Document Format (PDF) that facilitate the capture, exchange, preservation and protection of healthcare information. These best practices are especially valuable in aiding the compliance of regulatory guidelines such as the Health Insurance Portability and Accountability Act (HIPAA), which ensures patient information privacy and protection.

    PDF Healthcare best practices enables healthcare providers and consumers to develop a secure, electronic container that can store and transmit relevant healthcare information including (but not limited to) personal documents, clinical notes, lab reports, electronic forms, scanned images, photographs, digital X-rays, and EKGs, that are critical for maintaining and improving patient care.

    Source: AIIM Infomagazine March/April 2010

    « Older posts Newer posts »