Jeff Hube

Search Results

Salesforce: Globals and Breaking Changes, Part 1

Salesforce has a number of rules regarding what changes can be made to global ... breaking customers' code. Let's examine a couple scenarios where Salesforce falls short of this goal. Here's a sampling of the rules surrounding ... managed package with a prefix of TEST, and install it into another Salesforce organization which I will call the subscriber org. In the subscriber ... of the TEST package. Why does this happen? My best guess is that Salesforce only looks at the explicitly defined constructor and sees that it ... constructor and introduce a global one afterwards, if needed. 3. Wait for Salesforce to fix it I reported this issue to Salesforce and they acknowledged back in November of 2015. You can follow the ...

Salesforce: Globals and Breaking Changes, Part 2

In my last post we examined a scenario where replacing an implicit constructor with an explicit one was a breaking change. Now we'll look at a similar issue where overriding a virtual method can be a breaking change. This time we'll create two global classes ...

Welcome!

... development since 2011. Here I plan to post content about .NET, Salesforce, game development, and programming in general that I hope you'll find ...

Implementing Search on a Static Site

... matchData.metadata will contain an entry for each word in the search terms ('Salesforce', represented in the index as "salesforc"). The entry includes which fields were matched (title and body), and ... "ref": "1", "score": 0.5428010575976667, "matchData": { "metadata": { "salesforc": { "title": { "position": [ [0, 11] ] }, "body": { "position": [ [0, ... "2", "score": 0.45306026606028593, "matchData": { "metadata": { "salesforc": { "title": { "position": [ [0, 11] ] } } } } } ] The last step is ...