Tag Archives: salesforce

Determine by Apex if Custom Field allows setting Field Level Security

There is FieldDefinition standard object, which is available in usual SOQL and in Tooling API. However, this object has different fields available in different ways of accessing it. It has a field IsFlsEnabled which is only available in Tooling API, … Continue reading

Posted in apex, field, salesforce | Tagged , , , , , , , , | Leave a comment

Apex Data Generation library

Today I am opensourcing and introducing my Apex Data Generation library, which can be called as a framework or as builder as well. More than year back, I was considering of introducing my Salesforce unit test framework, however, I didn’t open source … Continue reading

Posted in salesforce, Uncategorized | Tagged , , , | Leave a comment

Minimum and maximum valid dates in Salesforce

What are the minimum and maximum valid dates in Salesforce? I spend a long time to find this place in the documentation https://developer.salesforce.com/docs/atlas.en-us.212.0.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_dateformats.htm?search_text=date%20format    Minimum and Maximum Dates Only dates within a certain range are valid. The earliest valid date … Continue reading

Posted in salesforce, Uncategorized | Tagged , , , , , | Leave a comment

Lightning Standard Component Availability

While reading Salesforce documentation about Lightning Standard Components and having found there 25 items, I felt very confused when I tried to add standard lightning component to app page and saw only 10 options available. Later I understood that some components are … Continue reading

Posted in lightning, salesforce, standard, Uncategorized | Tagged , , , , | Leave a comment

Salesforce: Territory Field.

One doesn’t simply query for standard Salesforce Territory Field. One has to query [ select RelatedId, Related.Name from Group where Id IN (select UserOrGroupId from AccountShare where AccountId = :accId and RowCause IN (‘Territory Management’,’Territory’,’TerritoryManual’)) ].Related.Name Thanks to eyescream who … Continue reading

Posted in Territory Management, Uncategorized | Tagged , , , | Leave a comment

PutsReq vs. Requestb for testing Salesforce Outbound Messages

Many people are using https://requestb.in to test Salesforce Outbound Messages. It is often suggested by different bloggers to use https://requestb.in/ service. Under such posts you could find plenty messages where users are complaining that outbound messages are not coming to that service but … Continue reading

Posted in salesforce, SOAP | Tagged , , , , , , , , , , , | 2 Comments