The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [spring17]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
198 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 ...
2
votes
1answer
674 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 = ...
1
vote
1answer
54 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.
5
votes
0answers
2k 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:...
5
votes
1answer
418 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 ...
2
votes
1answer
499 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 ...
2
votes
0answers
160 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 ...
1
vote
3answers
6k 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" /&...
2
votes
1answer
51 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 ...
2
votes
1answer
1k 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 ...
1
vote
1answer
443 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="{!$...
2
votes
0answers
46 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'...
5
votes
1answer
4k 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?
2
votes
0answers
370 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. ...
4
votes
1answer
116 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 ...
25
votes
3answers
518 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 ...
1
vote
1answer
196 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="...
17
votes
3answers
828 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 ...
3
votes
1answer
799 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://...
3
votes
1answer
2k 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: ...
3
votes
1answer
122 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 ...
1
vote
1answer
3k 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 "...
1
vote
0answers
25 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 ...
3
votes
2answers
114 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 ...
2
votes
0answers
190 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 ...
-2
votes
1answer
412 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 ...
5
votes
2answers
650 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.
3
votes
1answer
326 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 ...
1
vote
1answer
422 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 ...
8
votes
1answer
1k 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 ...
8
votes
1answer
223 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 ...
2
votes
2answers
320 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 $...
24
votes
3answers
6k 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 ...
6
votes
2answers
1k 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 ...
3
votes
2answers
1k 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....
4
votes
1answer
758 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 ...
0
votes
1answer
513 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 ...
3
votes
0answers
280 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 ...