Questions tagged [spring17]

Salesforce Spring release for year 2017. This corresponds to API 39.

Filter by
Sorted by
Tagged with
1 vote
1 answer
202 views

Summer '17 sandbox for a Spring '17 org

I have an org that is currently in Spring '17, and I want to create a sandbox in Summer '17. Is there a way I can declare what version of sandbox I want and will the sandbox always be created in the ...
Bartley's user avatar
  • 5,226
2 votes
1 answer
869 views

Passing id parameter in New action

I have a org with lightning experince is enabled. In that, i have overridden New action of a object with visualforce page. I was passing id value into that new action as below, Pagereference pRef = ...
ChamingaD's user avatar
  • 313
1 vote
1 answer
74 views

Newly available Standard objects with the latest Salesforce API version

Is there a way we can find out the newly available Standard objects with the latest Salesforce API version (currently 39.0)? This may be useful for any future version too.
Sajid's user avatar
  • 83
5 votes
0 answers
3k views

Strange Lightning Error: "Action failed: aura:if$controller$handleTheTruth"

In our Salesforce Lightning components we're running into a very strange error: Action failed: aura:if$controller$handleTheTruth [null is not an object (evaluating 'b.Aa')] Failing descriptor: {aura:...
joshuadelange's user avatar
5 votes
1 answer
523 views

Resizing VisualForce in page layout dynamically - Spring 2017

I totally understand this question have been discussed hundreds of times, however all discussions I have found are up to the 2016 release. Is it possible to resize a Visualforce page inside a Page ...
Edmondo's user avatar
  • 1,672
2 votes
1 answer
889 views

Service Setup missing in new developer org Spring '17

I tried to test the new Lightning service console but I can't seem to find where I need to activate it. In the Spring '17 release notes they talk about Service Setup which should be located under the ...
Sven Delporte's user avatar
2 votes
0 answers
244 views

How to test getContent() calls in Spring '17?

Now that the Apex Mocks API and its Stub API complement are available is it possible to properly test for a getContent() call? In the past I would just branch out if unit test was running and returned ...
Mossi's user avatar
  • 3,866
1 vote
3 answers
8k views

Unable to display icon in the lightning component

for accessing standard lightning SLDS resource image i am using below tag in visualforce page and i can able to see the image. <img src="{!$Asset.SLDS}/assets/icons/utility/chevrondown_60.png" /&...
Gopalakrishna Boddepalli's user avatar
2 votes
1 answer
83 views

Tooling WSDL in Visual Studio Web Reference

I am attempting to do web reference of Tooling WSDL in MS Visual studio but I am unable to do so. I am getting below error: Is there any fix? I have tried it in different version of MS Visual ...
Avijit's user avatar
  • 760
2 votes
1 answer
2k views

Critical Update - Allow CSRF Protection on GET Requests to Visualforce Pages - Confusion as to what is being enabled

I'm unclear as to what this critical update changes for our Org in particular. Allow CSRF Protection on GET Requests to Visualforce Pages In our org, we already have the ability to require CSRF on ...
Bigears's user avatar
  • 1,069
1 vote
1 answer
622 views

openPrimaryTab() with lightning service cloud console in Spring '17

I have one lightning component which I have added in console openPrimaryTab() method is no longer working in new Lightning service console introduced in Spring '17 <ltng:require scripts="{!$...
Himanshu's user avatar
  • 10.4k
3 votes
0 answers
53 views

Spring17 new favorites access

is their a mean to get access to the favorites defined by specific user in lightning ? We did'nt find any new salesforce object that is storing the new spring 17 lightning favorites. If salesforce isn'...
vanessen's user avatar
  • 2,495
8 votes
1 answer
13k views

Picklist API name in Formulas

In Spring '17 I am trying to use picklist value API name in a formula. How can I access a picklist value API name in a formula like ISPICKVAL?
Dedo's user avatar
  • 4,957
2 votes
0 answers
441 views

System error occurring when we Edit a Record in Lightning App with Console Navigation?

I'm getting multiple system error dialog when trying to execute System Events in Lightning Components (in Console Navigation app). I've tried a link action and action button, and both return errors. ...
VarunC's user avatar
  • 5,768
4 votes
1 answer
125 views

Salesforce Communities Spring '17 Error

I woke up the morning after the Spring '17 release and my Koa community template is permanently in mobile mode. I removed all of my custom CSS and everything is still stuck in mobile. Has anyone ...
Ross Bassett's user avatar
25 votes
3 answers
641 views

SObjectException No More. Intentional Change?

I found a pretty surprising change in platform behavior today. Minimum Viable Reproduction (MVR) Script It's simple to reproduce. Just run this script in Execute Anonymous: Account a = [SELECT Id ...
Adrian Larson's user avatar
  • 148k
1 vote
1 answer
220 views

Bug in Lightning Button Base Component with `afterRender` in Spring 17

Having an afterRender in a Lightning Component makes the Icon not show in Lightning Base Component <lightning:button /> Here is a quick Test App: TestApp.app <aura:application extends="...
VarunC's user avatar
  • 5,768
17 votes
3 answers
1k views

Method removed by critical update: getFieldsDescribes

I have a managed package installed in a subscriber org. Today I just tried to call some of the packages managed Apex in the subscribers org. It failed with: Dependent class is invalid and needs ...
Daniel Ballinger's user avatar
3 votes
1 answer
1k views

Not full URL in Referer header in Visualforce since Spring '17

I have a Visualforce page and controller relying on the HTTP Referer header. ApexPages.currentPage().getHeaders().get('Referer') Before my org was upgraded to Spring '17 this returned e.g.: https://...
Robert Sösemann's user avatar
4 votes
1 answer
3k views

Editing Converted Leads and Spring 17

I am working with a customer who (despite my reservations) has set up their system to continue to modify Leads after they have been converted. They are doing this using the Spring 16 technique here: ...
Aidan's user avatar
  • 13.3k
1 vote
0 answers
72 views

Skype for SalesForce Question

I am in the process of enabling Skype for Business in Salesforce. When I send someone a message, there is no notification within Salesforce that a message has been received. But if the user finds the ...
Alex Waddell's user avatar
3 votes
1 answer
131 views

Script not being executed but rendered instead - Lightning - Spring 17 - Patch 6.0

Using Chart.js (v.2.3.0) and Moment.js (v.2.9.0), I am rendering a Chart.js bubble chart in a lightning component and I am setting a custom tooltip and the x-axis labels to formatted dates. sample ...
PKolyCloudApps's user avatar
1 vote
1 answer
4k views

Where is the Spring 17 "Approval Requests" tab?

I am trying to see the "Approval Requests" tab and list that is supposed to come in the Spring 17 release, but I cannot find it to add it to my app. On my custom app - I am searching for the "...
Itai Shmida's user avatar
  • 4,935
1 vote
0 answers
28 views

Issue after spring 17 on sandbox (.cs41) - Batch not working and permission set not getting inserted as expected?

I wrote a batch which insert the permission set based on criteria. My code worked perfectly in dev sandbox (.cs17) But after i moved to test sandbox(.cs41) then the issue raised by tester. where ...
bharath's user avatar
  • 1,664
3 votes
2 answers
167 views

How to check effects of spring 17 release notes on our org?

I need to check a few feature like: Supported Browsers for Lightning Experience Supported Browsers for Salesforce Classic Rich-Text Editors Disabled When LockerService Critical Update Is Active ...
user avatar
2 votes
0 answers
329 views

Visualforce page is throwing error on Chrome for Spring 17 release

For a sandbox which has been upgraded with Spring 17 release, I am getting error (screenshot of the error message is mentioned below) from a Visualforce page which is embedded in the standard page ...
Sandip's user avatar
  • 27
-2 votes
1 answer
863 views

Getting error: TypeError: Cannot read property 'field_name__c' of undefined from VF Page

I have a visualforce page embedded in the standard page layout of a custom object and it is throwing the below error for a sandbox which was refreshed from production a month before Spring 17 release ...
Sandip's user avatar
  • 27
5 votes
2 answers
872 views

Getting FIELD_INTEGRITY_EXCEPTION with double quotes in regex

As shown in the image, when trying to create a regular expression in a lightning component controller, the save from the developer console fails because of an error parsing the data.
Etienne Rocheleau's user avatar
3 votes
1 answer
532 views

batch class doesn't execute all the batches

I want to send salesforce data to another system, but when I send the data through a batch class when I call the web service in the execute method doesn't execute all the batches, but if in the ...
Angello Camacho's user avatar
1 vote
1 answer
671 views

Failed to save undefined: The attribute "onactive" was not found on the COMPONENT markup://lightning:tab: Source

I'm trying to create a lightning tabset through an iteration. Every tab should call the controller when clicked. The SFDC Doc tells, that the Action onactive can be used for this, but it does't ...
CarnVanBeck's user avatar
10 votes
2 answers
3k views

How to pass current record context in a Utility Bar Lightning Component?

I'm trying to access current record id in a Lightning Component when put into Utility Bar. But it comes out to be empty all the time. I've implemented force:hasRecordId interface in my component but ...
VarunC's user avatar
  • 5,768
8 votes
1 answer
232 views

Spring '17 bug: SOQL filter on Set with value null now returns nullpointer exception

Previously this used to work fine: Set<Id> testSet = new Set<Id>(); Set<Id> testSet2 = null; List<Account> accountList = [Select Id From Account Where Id in :testSet OR Id in ...
Guy Clairbois's user avatar
2 votes
2 answers
1k views

Custom labels with placeholder in Visualforce

I'm using Custom Labels on a Visualforce page but those needs to contain a variable inside them, I'm used to it like this in Lightning: {!format($Label.c.myLabel, v.attribute1, v.attribute2)} Where $...
Nordine Hammache's user avatar
26 votes
3 answers
15k views

Get file from Lightning input type file

With the Spring 17 release one of the new change on the markup is the introduction of the type file to the lightning:input, however I can't seem to get the file back, only a fakepath with the name of ...
Nordine Hammache's user avatar
6 votes
2 answers
2k views

SVG Icons not displaying in Spring '17 pre-release environment

I'm seeing SVG icons not rendering in a Spring '17 environment. I'm using custom SVG lightning component from SLDS framework. The icons in my component continue to display correctly in existing Winter ...
VarunC's user avatar
  • 5,768
3 votes
2 answers
2k views

inputRichText not updating value on field change

Since Spring 17 my input rich text field is not updating the value anymore when I change the value. See the following code: <ui:inputText label="{!v.label}" value="{!v.value}" change="{!c....
joshuadelange's user avatar
4 votes
1 answer
872 views

jQuery DataTables not working in Lightning Component Spring 17

I'm having issues with jQuery Datatables in a lightning component. I just tested on a Spring 17 sandbox. I'm getting this error thrown when the datatable tries to initialize. I'm using jQuery v2.2.4 ...
Derek Hall's user avatar
2 votes
1 answer
1k views

Do composite subrequests count toward API limits?

With Spring '17, the Composite REST API becomes generally available. It allows to bundle multiple subrequests into a single HTTP request by describing them in a JSON payload. Will this composite ...
Alex Brausewetter's user avatar
3 votes
0 answers
320 views

Lightning Experience Visualforce Component has extra Padding in Spring '17 and thus making VF pages look awkwardly spaced

When we place a Visualforce component container in Lightning Page, the current release displays them correctly without extra spacing, thus allows a developer to control the look and feel of the ...
VarunC's user avatar
  • 5,768