Can I use third party library like Axios in Visualforce lightning components?   Thank you.
33742
Components often seem to work with external libraries until the Locker Service is enabled. What libraries work with locker service enabled and where can I go to find out?
45972
Has there been any sort of documentation or anything like that released for SharePoint 2013 Client-Side Rendering/JS Link?  Anthing unofficial? Any dates for when documentation might be released?
40453
Okay so, I know that I can use the Migration Tool to pull down Lightning Components from my sandbox, and then use the same tool to upload them to production, but so far I have had no luck in moving a single PAGE from my community site in my sandbox over to our community site in production. I've searched online but am having trouble finding any documentation or instructions specific enough for this scenario.  We are using the Lightning Community Builder, so the page itself is created within the Community Builder, and the content of the page is a series of lightning components, text boxes, HTML, styling, and images.  I'd like to move that entire page (and only that page) to our production environment, to avoid the need to re-create it manually and put all of the lightning components back on the page, copy/paste all of the text areas, images, etc into Production.   These pages don't appear under the "Visualforce Pages" or "Visualforce Components" sections - the only place I seem to find them is IN the Community Builder itself. As of now, I am able to get the Lightning Components into production, but I still end up re-creating the page in production and manually dragging all of the components back into the right place.      Question: This is tedious of course, is there a better way to get a   single Lightning Community Builder page pushed into production?
93441
We are trying to use lightning web component for a requirement in Salesforce where we try to capture the image of the user via webcam and this requirement is specifically for laptops and desktops. Below is how we were trying to access the webcam function  navigator.getMedia = ( navigator.getUserMedia ||         navigator.webkitGetUserMedia ||         navigator.mozGetUserMedia ||         navigator.msGetUserMedia);         navigator.getMedia(             {                 video: true,                 audio: false             },             (stream) =&gt; {                 /* Capture the stream */             },             (err) =&gt; {                 console.log("An error occured! " + err);             }         );   It seems the LWC compiler is not allowing navigator object to have getMedia function whereas with normal html and vanilla javascript we were able to do it.  Did anyone of you ever faced this scenario back and do we have a workaround as of now to fix this issue?
121852
Is it possible to reference a standard Lightning page component in a Lightning Web Component? And if so, how is this done? I have not been able to find any documentation on this subject.  (I am specifically wanting to reference the "Related Record" component in an LWC)
13940
Canonical Question  I want to do &lt;some really cool thing&gt; with a lightning:datatable, but I can't seem to figure out how to do it. I checked the , but I did not see a way to implement &lt;this really cool feature I need&gt;.  Perhaps I want to provide tooltips, or a pick list, or alter the behavior of the menus, or display images, or show a custom component I created, or define a new row-level click behavior, or alter the keyboard event handlers, etc.  Can I somehow do this?
116321
&lt;template&gt;            &lt;lightning-card&gt;                     &lt;lightning-input type=&quot;text&quot; label=&quot;field1&quot; name=&quot;field1&quot; onchange={handleChange}&gt;&lt;/lightning-input&gt;                     &lt;lightning-input type=&quot;text&quot; label=&quot;field2&quot; name=&quot;field2&quot; onchange={handleChange}&gt;&lt;/lightning-input&gt;                     &lt;lightning-input type=&quot;text&quot; label=&quot;field3&quot; name=&quot;field3&quot; onchange={handleChange}&gt;&lt;/lightning-input&gt;                     &lt;div if:true={errorMsg} style=&quot;margin-left: 0%;&quot;&gt;                         &lt;p style=&quot;color: red;&quot;&gt;{errorMsg}&lt;/p&gt;                     &lt;/div&gt;                 &lt;/lightning-card&gt;         &lt;div style=&quot;float: right&quot; class=&quot;slds-p-bottom--large&quot;&gt;         &lt;lightning-button class=&quot;slds-m-left_x-small&quot; label=&quot;Previous&quot; onclick={handlePrevious}&gt;         &lt;/lightning-button&gt;         &lt;lightning-button class=&quot;slds-m-left_x-small&quot; label=&quot;Next&quot; variant=&quot;brand&quot; onclick={handleNext}&gt;         &lt;/lightning-button&gt;     &lt;/div&gt; &lt;/template&gt;  We have above lwc component, which is embedded in screenflow. and the screen flow previous,next buttons are overrided by using Flow Navigation Events. So when we clicked on Previous button, we are facing  class java.lang.String cannot be cast to class java.lang.Boolean (java.lang.String and java.lang.Boolean are in module java.base of loader 'bootstrap')
74440
It's possible to define dependent picklist in the setup and the are supported out-of-the-box in Visualforce.  Are they also supported in Lightning natively? Is it on the roadmap to support them soon? If not: is there a best practice or a easily reusable workaround available right now?
84117
Old way (using event force:navigateToComponent is deprecated) and new way (lightnign:navigation) is not supported in communities. How can I implement navigation?
93052
I am used to of 'The Welkin Suite' editor for official development. I am not frequent user of VS code. Only using VS code for personal use. Yesterday I observed weird issue while deploying LWC component to my playground org. I did copy paste code(bikeCard component) from trailhead(below link) and it deployed but was not available in AppBuilder.  I checked the config file and change the version as well but didn't work. Then I deploy same code based from 'The Welkin Suite' and able to see component in App Builder. Please let me know if anyone faced same issue and have solution. Otherwise I will report bug to VS code. bikeCard.html &lt;template&gt;     &lt;div&gt;         &lt;div&gt;Name: {name}&lt;/div&gt;         &lt;div&gt;Description: {description}&lt;/div&gt;         &lt;lightning-badge label={material}&gt;&lt;/lightning-badge&gt;         &lt;lightning-badge label={category}&gt;&lt;/lightning-badge&gt;         &lt;div&gt;Price: {price}&lt;/div&gt;         &lt;div&gt;&lt;img src={pictureUrl}/&gt;&lt;/div&gt;     &lt;/div&gt; &lt;/template&gt;  bikeCard.js import { LightningElement } from 'lwc'; export default class BikeCard extends LightningElement {    name = 'Electra X4';    description = 'A sweet bike built for comfort.';    category = 'Mountain';    material = 'Steel';    price = '$2,700';    pictureUrl = 'https://s3-us-west-1.amazonaws.com/sfdc-demo/ebikes/electrax4.jpg';  }  bikeCard.js-meta.xml &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;LightningComponentBundle xmlns=&quot;http://soap.sforce.com/2006/04/metadata&quot;&gt;     &lt;!-- The apiVersion may need to be increased for the current release --&gt;     &lt;description&gt;Description for Bike&lt;/description&gt;     &lt;masterLabel&gt;bikeCard&lt;/masterLabel&gt;     &lt;apiVersion&gt;48.0&lt;/apiVersion&gt;      &lt;isExposed&gt;true&lt;/isExposed&gt;     &lt;targets&gt;         &lt;target&gt;lightning__AppPage&lt;/target&gt;         &lt;target&gt;lightning__RecordPage&lt;/target&gt;         &lt;target&gt;lightning__HomePage&lt;/target&gt;     &lt;/targets&gt; &lt;/LightningComponentBundle&gt;
11623
If we want to have custom lightning component in LWC lightning-datatable, for example Upload file for each of the records, how can we do that?
4344
Is there a location where I can drop in a custom JavaScript file in Drupal 7.x?  It just includes simple event actions for menus, and I don't want to edit the theme/module files.  Or do I have to just add the "include" hook to the theme/module?
67165
I have a client who wants external users to submit data via a Sites VF page and update Opportunity records.  Of course the Sites profile doesn't have permissions to update standard objects.  Also, the client does not want to purchase portal licenses for these external users.  I am considering two workarounds and am wondering if they are possible:  1 -- Write some Apex webservices and call them from the Sites page Visualforce controller.  Is it even possible to call your own webservices from a controller?  I presume the webservices would be running in system context?   2 -- Have the Sites page create a custom object record instead, and then write a trigger to update the opp record using the custom object.  Will the trigger be running in the system context and be able to update the opp?  Thanks David
107069
According to documentation, . So my question is: How I do to user  UI API?
11598
Can anyone help me? Trying to do very simple function to navigate from component to another. I copied the code from Developers guide, but for some reason it doesn't work for me.  My function to navigate to another component:  nav : function(component, event, helper) {             var evt = $A.get("e.force:navigateToComponent");             evt.setParams({                 componentDef : "c:navToComponentTest2",                 componentAttributes: {                     continent : component.get("v.continent")                 },                 isredirect : false             });             evt.fire();     }   And here's the error I get in my Lightning App   EDIT: Got it working in Lightning tab. Would it be somehow possible to get it working in communities as well? Or is there anyway to make same functionality?
84951
I would have expected that when a dynamically created lightning component is assigned as another component's attribute of type Aura.Component[],  also referencing it in the parent component's markup by including something like {!v.attributeName}, then the parent component's JavaScript would be able to find that Facet by calling component.find() and passing in the aura:id value of the dynamically created component.  I have attempted this, but the result of the find() call is undefined. Code samples are below.  The parent component with the "stepData" facet... (created to test the stepData component during the development process)  &lt;aura:component &gt; &lt;aura:attribute name="stepData" type="Aura.Component[]"/&gt;  &lt;aura:handler name="completedActionFired" event="c:actionComplete" action="{!c.captureDataResult}" /&gt; &lt;aura:handler name="init" action="{!c.doInit}" value="{!this}"/&gt;  {!v.stepData}  &lt;!-- Include the SLDS static resource (adjust to match package version) --&gt; &lt;ltng:require styles="{!$Resource.SLDS202 + '/assets/styles/salesforce-lightning-design-system.css'}"/&gt;  &lt;lightning:layout horizontalAlign="space"&gt;     &lt;lightning:layoutItem flexibility="grow" padding="horizontal-medium"&gt;         &lt;lightning:button variant="brand" label="Get Object Data" onclick="{! c.getObjectData }" /&gt;         &lt;br/&gt;&lt;br/&gt;         &lt;lightning:button variant="brand" label="Find Component and Get Object Data" onclick="{! c.findObjectData }" /&gt;         &lt;br/&gt;&lt;br/&gt;     &lt;/lightning:layoutItem&gt; &lt;/lightning:layout&gt; &lt;/aura:component&gt;   The parent component controller, where findObjectData() cannot find the Facet component by its aura:id, but getObjectData() can get it by using the attribute name...  ({ doInit : function(component, event, helper) {     var dataMap = {         "testString" : "test value",         "testMap" : {"key1":"value1", "key2":"value2"}     };      var attributes = {         "aura:id" : "stepData",         "dataMap": dataMap     };      $A.createComponents(         [[ "c:stepData", attributes ]],         function(results) {             component.set("v.stepData", results[0]);         }     ); }, findObjectData : function(component, event, helper) {     // try finding component by aura:id     var stepData = component.find("stepData");     if(stepData == null) {         console.log('stepData is not found');         return;     }      // try calling aura:method on stepData     var result = stepData.getObject("testString");     console.log(result); }, getObjectData : function(component, event, helper) {     // get stepData by accessing attribute     var stepData = component.get("v.stepData")[0];     console.log(JSON.stringify(stepData.get("v.dataMap")));      // able to get dataMap attribute from stepData component     var dataMap = stepData.get("v.dataMap");     console.log(dataMap.testString);      // able to call aura:method, but does not return any value to caller     var result = stepData.getObject("testString");     console.log(result); } })   Lightning Component Tree shows the aura:id included on the stepData component reference...    console log shows the "get" button clicked, then the "find" button clicked, where "stepData is not found" indicates find() and aura:id did not successfully locate the dynamically created Facet component.
108422
I was playing with a page that I am trying to put on to work for the community builder. The page uses the lightgallery library, to open up a popup gallery for some photos.   I verified that now the Community Builder supports the VF pages. If I am not wrong, initially they were supported only in the App Builder, for the Salesforce Lightning Experience.   After doing some testing, I found out, that the lightgallery plugin, works without any problem in a regular VF Page, but when I try to put it inside a Community Page, via Community Builder, that plugin simply doesn't work anymore.   Before going into dettails about that, I am trying to figure out what are the limits of this feature for the moment:    Should we be aware of any limitation regarding this scenario(what might be the best practice in this case)? How will be treated the 3rd party JS libraries called from withing a VF Page, used in a Community Template?   Thanks, E.