Questions tagged [winter18]

Salesforce Winter release for the year 2018. This corresponds to API 41.

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

How to override Salesforce lightning:input type: datetime in summer18 in onchange event

Aura Init: <aura:attribute name="DTValue" type="String" default="{!'2019-03-06T10:17:36.789Z'}"/> <aura:attribute type="DateTime" name="selectedActionDate" default="{!v.DTValue}"/> Input ...
1
vote
2answers
771 views

Lightning DataTable Component Issues in SF1 — and other idiosyncrasies not mentioned in the docs

I have just implemented the Winter '18 Lightning DataTable Component in a project set to go live early next year. I have a love hate relationship with this base component here are my issues, and I am ...
2
votes
0answers
159 views

findDuplicates method - Not returning duplicates which are captured in User Interface

We have a matching rule on Contact which defines a dupe using the following logic: A fuzzy match on the first Name and Last Name and EITHER a fuzzy match on address (using street or postcode) OR a ...
3
votes
1answer
368 views

Adding the isParallel annotation to existing test class

Currently, I have a test class defined as follows: @isTest(seeAllData=false) public with sharing class UnitTest { //Test class } With the introduction of the Winter '18 release, I would like to also ...
2
votes
0answers
346 views

Orientation change issue in Highcharts after navigating to an inner component | Winter '18 release

I am facing an issue in iPad where the Highcharts width and height are not being reset after navigating to an inner component and changing the screen orientation and coming back. Here's the code:- ...
3
votes
1answer
465 views

Tests fail (only) during upload with “CalloutException ..uncommitted work pending”

This must have its root cause in a Winter '18 change/bug as this worked before for years. When uploading a big (takes a while to upload) managed packaged that contains Apex Tooling API - REST edition ...
3
votes
0answers
171 views

Has anyone else seen the issue of Lightning Component, if updated to version 41.0, changes the Component Label by appending namespace

No COMPONENT named markup://namespace:namespace_MyComponent found This error pop up after I updated my Lightning Component to API version 41.0, and the error comes when the component has a dedicated ...
2
votes
1answer
3k views

Call Apex method from lightning component fails to execute

I have developed a lightning component to upload files into the File Salesforce object. This component has been developed based on Peter Knolle article on how to do that in the lightning framework. ...
3
votes
1answer
337 views

Where can I find the full documentation for new Winter 18 lightning components?

The release notes for Winter 18 (v41) include a number of new advanced components like lightning:notificationsLibrary. However, when I visit both the documentation app in my org and the standard web ...
4
votes
2answers
363 views

Winter 18 is “breaking” my aura:method call

With Summer '17 I was able to dynamically set an onclick event that would fire an aura:method and everything worked just fine. This is the code declared in my controller and loaded during the ...
1
vote
1answer
637 views

Chatter Out of Office Winter '18

I am looking into the new chatter feature in Winter '18 which is Out of Office, I have the custom component handling Out of Office for the approval process functionalities etc and I wanted to connect ...
1
vote
1answer
161 views

Lightning:tabset does not refresh on mobile devices?

Noticed that Lightning tabset is not refreshing on mobile devices. This can be simulated on browser as well. When it appears on a mobile device initially it appears as, After clicking on different ...
0
votes
1answer
995 views

Manage External User button from Lightning Experience

With Winter 18, Salesforce has provided the ability to Manage External users from Lightning Experience.But, I don't see the Manage External User button on Lightning Experience. I did go through below ...
3
votes
2answers
1k views

Can't add lightning:progressStep in lightning:progressIndicator using aura:iteration

With the Winter'18 new Lightning Base components I tried to create a lightning:progressIndicator with lightning:progressStep dynamically using an aura:iteration: <aura:component> <aura:...
5
votes
1answer
191 views

Find The Window URL In A Visualforce Sidebar Component

So the question "Know previous page in Winter '18" answers my question as to why my packaged Visualforce sidebar component is now failing to find the window's URL correctly to work out the context of ...
2
votes
2answers
121 views

Winter18 override sizes on compound forms

With Winter18, elements sizes in compound forms are overridden to something like slds-size--1-of-1, despite the slds-size specified. For example, this code from the SLDS Documentation used to work, ...
4
votes
1answer
264 views

Know previous page in Winter '18

I was using document.referrer to know the previous page but right now in winter '18 document.referrer has only the host Previous winter '18 document.referrer // "https://prefix.na50.visual.force.com/...
7
votes
1answer
401 views

Unit Test Error: REQUIRED_FIELD_MISSING, Required fields are missing: [Status, Priority]: [Status, Priority]

As of Oct. 12, any unit tests we have in a Winter '18 org that create Tasks are failing with a message of: REQUIRED_FIELD_MISSING, Required fields are missing: [Status, Priority]: [Status, Priority] ...
3
votes
1answer
670 views

lightning:buttonIcon not showing the icon (iconName) in Winter 18

The code snippet below is directly out of the Dreamhouse app's MapCard component. It's supposed to show the close icon (X) at the top right conner of the dialog box. It works like a charm when it is ...
3
votes
2answers
492 views

lightning:tree - Component API version

I have a lightning component that was created on API 40, but now I want it to use the new lightning:tree. The sandbox I work on is in preview mode for Winter'18, API 41 is apparently available. ...
2
votes
0answers
99 views

Global Header viewable by all after winter 18' deployment

Our org was upgraded to winter '18 this weekend. The black global header is now viewable at the top of Classic for all users. This was not the case before the upgrade. All users have the 'View Global ...
0
votes
0answers
58 views

lightning fields distorted with winter 18

i am not sure if any has faced this problem but looks like our lightning fields have been distorted with winter 18 release , i have tried manual sizing , and below lds 2.2.2 but nothing seems to get ...
1
vote
1answer
365 views

Winter '18 - Is it now possible in LEX to add mass action buttons to invoke Lightning components?

With Winter '18 SF has added checkboxes to object lists in LEX, with some built in mass actions. Is it now possible to add a mass action to invoke a custom Lightning Component from the same list? I'...
10
votes
5answers
8k views

How to close lightning:overlayLibrary custom modal?

The documentation shows how to close an overlay immediately after showing the modal, however, this is not very useful for real-life situations. I have a component which has a lightning:...
-1
votes
2answers
128 views

Migrate Chatter Answers to Chatter Questions due to Chatter Answers going to Retire ASAP

We are using the chatter answers in community which is going to retire after Winter 18 release. Wanted some suggestions to perform the migration...below are the research... Investigated on Q&A ...
6
votes
3answers
4k views

Winter 18 <lightning:datatable> problems

Since I face many questions with this new base lightning component: lightning:datatable, I think it is better to have all the questions here in one place: I want to have a clickable row for "Click to ...
7
votes
5answers
6k views

Winter 18 <lightning:datatable> does not get values from a parent record

I am testing the new <lightning:datatable>, it is really good, and is a good replacement for most of my use cases which today I use a custom list component that I have developed. I am getting ...
3
votes
0answers
50 views

Global Picklist Defaults in Winter '18 release

In my winter '18 release preview sandbox (cs11), picklist fields referencing global value sets no longer populate the default defined in the global value set on record create. Record type defaults and ...
3
votes
2answers
1k views

customizing header in Communities (Winter 18)

Prior to winter 18, we were able to customize the display of the pageHeader image by referencing the class .no-assigned-image in our markup. We used this to create a custom theme and provide our ...
4
votes
1answer
318 views

lightning:dataTable not available in Version 41.0 yet(Winter '18)

I was trying to use the lightning:dataTable in my Winter '18 preview enabled sandbox with Version 41.0(shown in snapshot) But unfortunately it fails to identify the base lightning component(lightning:...
2
votes
1answer
316 views

Redirect link error in Winter '18 with lightning theme

I have a Visualforce page with following code to redirect page abcd when click link: <apex:outputLink value="/apex/abcd?sfdc.tabName={!tabName}&state=group" >abcd</apex:outputLink&...
2
votes
1answer
110 views

DML external Id relationship throwing Internal Salesforce.com error in sandboxes with Winter 18 release

I'm facing an issue with one of my batch process when trying to relate records through an external Id. I have a csv file with info about the record to upsert, and a external id of the account that i ...
0
votes
1answer
299 views

AccountTeam Member is not getting Read/Write access on Account?

We have an existing code in our application where whenever we create an account,we add certain team member and provide them Read/Write access for Account. Below is the apex ocde: private void ...
0
votes
1answer
58 views

Translations metadata missing in Winter '18

I am having trouble to retrieve "Translations" metadata from our sandboxes which are updated to Winter '18. Folder is just not there ( yes it is in package.xml ) There is no problem to get this ...
1
vote
0answers
21 views

Customizable pages for different audiences, Communities configuration

Is there any possible way of adding a different CSS for different Branding Sets? I'm asking about this new feature from 18' release, Dynamic Branding. From what I can see we can only edit standard ...
1
vote
2answers
626 views

Notes and attachment in Winter'18 release

In winter'18 Notes & Attachments related list will no longer have an Upload File button. In my application, I am inserting the attachment using apex code. I just want to confirm if we can still ...
0
votes
1answer
241 views

force:createRecord is not working properly in Winter 18

force:createrecord is not working properly in winter 18. I have overriden "New" button of opportunity with custom lightning component. for opportunity creation, I have used force:createRecord at ...
1
vote
0answers
79 views

Winter18-Event fields are not displaying in activity timeline (compact layout)

Event fields are not displaying in activity timeline(Compact Layout) after lead/opportunity page refresh. It will appear once i create new Event in Lead/Opportunity. It was working fine before w18 ...
1
vote
2answers
532 views

CSS updates in winter 18 release

After salesforce gave us the winter 18 App I saw that many css classes which i were relied on were changed\deleted. Suddenly I saw that a lot of components in my App are css broken. I've tried to ...
6
votes
1answer
506 views

Aura error message on existing page even though we're not Lightning enabled

Got a standard page layout in Classic with two chart controls on it. Today it's rending the following error under the chart This page has an error. You might just need to refresh it. [Assertion ...
1
vote
2answers
725 views

Winter 18 Error with reports and dashboards after enabling Lightning Report Builder

I have tried to enable the Winter 18 new Lightning Report Builder. So I have added a permission set to my user that has Report Builder (Lightning Experience) permission. After doing that - I cannot ...
8
votes
1answer
492 views

Winter 18 Community - all custom components disappeared!

On my sandbox I have winter 18 now. I have played around to see all new community features, and suddenly I realize that the component list does not have any custom components: As you can see - no ...
4
votes
1answer
845 views

Receiving error when using UtilityBarAPI in Winter '18

I'm trying to set a custom icon in a Utility Bar component using the new Utility Bar Component in Lightning. TestComponent.cmp <aura:component implements="flexipage:availableForAllPageTypes" ...