Check out posts about Salesforce

Mar 282018

Salesforce – How to solve Insufficient Privileges error?

Have you ever received Insufficient Privileges error after trying to access some record. Or maybe one of your Salesforce users reported this problem?

Not everyone knows that Salesforce provides a handy feature that allows to check why specific user have access to some record (for standard or custom object). This only works if Sharing Settings are set to “Private” or “Public Read Only” (as sharing doesn’t make sense for “Public Read/Write”).

Read more …

Tagged with , , 0 comments
Oct 162015

Mobile statistics – tablets vs desktops

More than 3 years ago I’ve created a website with Siedlce dining menu with food for delivery. Short after that I added RWD, so could be easily viewed on mobile devices.

I wondered recently what the statistics from mobile devices look like. Because there are quite a lot, I decided to prepare a short summary. Due to the limited scope of the page (only my city – Siedlce and surroundings) numbers are not stunning, but the results are interesting.
Read more …

Tagged with 0 comments
Aug 202015

Script to backup an entire folder

I use Total Commander every day and it has an useful option to backup the entire folder.

Usually I’ve done this way:

  1. clicked ALT + F5 (poped up a window to compress files)
  2. I gave the name of the archive by adding a date at the beginning of the file
  3. clicked OK
  4. I’ve moved created ZIP file into a directory called “backup” where I kept all archives

It wasn’t a very convenient solution, which is why I created a simple .bat script that makes the work easier.

Read more …

Tagged with , , , , 0 comments
May 272015

Salesforce – What is the difference between a task and an event?

Tasks are things to do, a “point in time” (no duration), such a prepare meeting notes, set up conference room. They can be set in a future and they have dates and statuses. You can have assigned to yourself or that someone else has assigned to you.

Events are meetings (i.e. sales meeting on the 10th from 2pm to 3pm with Fred & Wilma), so they have a start time, an end time, a location, and invitees (tasks can’t).

Tagged with , , , 0 comments
May 222015

Salesforce – How can I get the code coverage of a class / org?

To get code coverage of a class or all classes you can use Tooling API on objects like:

  • ApexCodeCoverage – contains coverage per class per test class
  • ApexCodeCoverageAggregate – contains coverage per class for all test classes
  • ApexOrgWideCoverage – contains coverage overall for all classes in the org
The best way is run queries using Developer Console

Read more …

Tagged with , , , , , , 0 comments
1 2 3 10