Skip to main content

Posts

Showing posts from April, 2017

Save Visualforce Chart as Image in Attachment

The issue that brought me here is a user wants to render chart as PDF as we all know that Visualforce Chart is not renderable into PDF. Visualforce Chart is renderd by Javascript that is why it is not PDF renderable. Please refer here for limitations: Visualforce PDF Rendering Considerations and Limitations Visualforce Charting Limitations and Considerations In order to bypass those limitation, we need to save chart as image and after that use the image in PDF.Currently there a lot chart library that offers saving the chart to user machine.In my scenario, user want to be able to get chart along with Opportunity information in PDF.So saving chart into the local machine and upload it back as Attachment is not ideal solution. In order to achieve this, we must include canvg library that you can get it here .This library will help to convert SVG to PNG[also please checkout other format].I get this information from here  . Note that Visualforce Chart only render in browsers that

Determine the Salesforce Edition for Your App

How does Enterprise Edition differ from Professional Edition? Enterprise Edition has features that aren't available in Professional Edition Professional Edition is only sold to Accountants, Dentists, and Lawyers Enterprise Edition supports more users than Professional Edition Professional Edition has higher limits than Enterprise Edition Which list correctly orders editions from smallest to largest? Enterprise Edition, Professional Edition, Group Edition, Performance Edition Professional Edition, Group Edition, Enterprise Edition, Performance Edition Group Edition, Professional Edition, Enterprise Edition, Performance Edition Professional Edition, Group Edition, Performance Edition, Enterprise Edition You’re building an ISVforce app that reuses Account, Contact, Lead, and Opportunity objects to vet vendors who resell products for your customers. You use Record Types to ensure that the fields you add don’t interfere with the customers existing use of those obj

Global Picklist fail to deploy : Duplicate label: xx xx xx

I am deploying Global Picklist and got Duplicate label error.I am really confident that there is no duplicate label except deactivated picklist. The issue is known as raised here :  Deploying picklist values via change set causes "Duplicate Label" error. It seem like not my case and it said that it's already fixed.I already deactivated the duplicate picklist.Now I suspect, the deactivated picklist causing the error.So I go to Change Set Detail, click at View Source on the picklist.Surely, it will deploy the deactivated picklist.So I delete all the deactivated picklist and redeploy again.It's really annoying because uploading Change Set is not so fast procedure. The result is SUCCESS. Okay take note if you just deactivate the picklist similar label with the active picklist because it will make your deployment life miserable until you find this blog. =) Have a nice day.Take care.

Chatter Basic : Getting Started with Chatter

Group types Public group s: Public groups are visible and open to all employees. Anyone in the company can join a public group, post, comment, and add files. Private groups : Private groups are open only to group members. People must request to join a private group. Only group members can post, comment, and add files. Nonmembers can see the group’s picture and description, but they can’t see the group feed or files . Unlisted groups: Unlisted groups are i nvitation-only and don’t appear in list views and search results. An unlisted group is hidden from everyone except group members. Only the group’s owner or manager can invite people to join an unlisted group. Groups with customers : Groups with customers are private or unlisted groups that allow external users to be members . The group owner or manager must invite external users to join. Need to Allow Customers option to private and unlisted groups. Broadcast only: In broadcast only groups, only group owners and ma