157 questions
0
votes
0
answers
13
views
lightning-input of type date behaving strangely in lwr sites
I have the below lwc which I am planning to use inside lwr. But the behavior is different/strange. For example: when I am giving some wrong date like Nov 39, 2025. it automatically chooses the next ...
-1
votes
1
answer
428
views
how to wrap lwc lightning datatable header text
how to wrap lwc lightning datatable header text,
i'm already using wrapText: true, for table sorting its workig for table data but not for table header
<lightning-datatable data={pagedRecords} ...
0
votes
0
answers
126
views
How to gather predictions aligned with dataset from lightning trainer.predict?
When we use lightning in multigpu setting with strategy ddp,
predictions = trainer.predict(model, dataloaders=predict_dataloader)
the predictions are from a single gpu. From Combining loss, ...
0
votes
0
answers
769
views
Conflicting dependencies while installing torch==1.10.0, torchaudio==0.10.0, and torchvision==0.11.0 in my Python environment
I'm having trouble installing the following dependencies in my Python environment:
torch==1.10.0+cpu
torchaudio==0.10.0
torchvision==0.11.0
pyannote-audio==0.0.1
lightning==2.3.3
numpy
scipy
pandas
...
0
votes
1
answer
336
views
How to change the Button background color in lightning Data Table on onrowaction?
I have a button in each row of the data table, So I want to change the color once it is click.
Below is my code snipeet.
{
label: 'Include GST',
type: 'button',
fieldName: 'invoiceNumber',
...
0
votes
0
answers
79
views
Scene lighting acting strangely when I change scene
I have been encountering this problem when I use SceneManager to change the scene or restart. where the new scene looks darker and the shadows more prominent even though the values are the same.
See ...
0
votes
1
answer
113
views
Bug when logging models using Lightning Trainer, WandB and Hydra?
Our setup:
Training script using pytorch lightning Trainer & WandB Logger. Further, Hydra is used to configure the training setup (Datasets, Hyperparameters, Optimizer...)
The Model object is an ...
0
votes
1
answer
161
views
Why is a dynamic picklist query in my Custom LWC component executing twice when added to App Builder and click save?
I have a Custom LWC component exposed on a Record Detail page in Salesforce. This component includes a Design attribute that dynamically queries picklist values. When I drag and drop this component ...
1
vote
0
answers
178
views
Pyarrow error with ray & lightning on databricks
I am trying to train a neural net with pytorch lightning on ray on a databricks cluster. As a start, I copied the example from https://docs.ray.io/en/latest/train/getting-started-pytorch-lightning....
0
votes
0
answers
2k
views
Torch Not Detecting CUDA on NVIDIA Tesla T4 GPU Despite Proper Setup
I am currently working on a medical image analysis project where GPU acceleration is crucial for performance. Despite enabling the GPU through the green icon in the top right corner of the Lightning....
0
votes
2
answers
245
views
DML operation error handling in record trigger flow
I have created record trigger flow on account object. my requirement is when specific filed is update on the account record then all related custom object record status goes change. Now, on custom ...
1
vote
1
answer
1k
views
MPS device and Pytorch
I want to rum mpnn with a lightning trainer on my mac.
These are my trainer settings:
trainer = pl.Trainer(
logger=False,
enable_checkpointing=True, #
enable_progress_bar=True,
...
1
vote
1
answer
326
views
Script freezes when pytorch lightning's Trainer is instantiated
I'm trying to train a model using pytorch lightning in a cluster with Ubuntu 20.04. However, the code freezes once when the lightning.Trainer is instantiated. There are no error messages, it just ...
1
vote
0
answers
68
views
How to redirect to parent object after child record creation
Looking for a standard ways to redirect to parent Object after Child record creation on salesforce Lightning by using URL's on Master Object List view button
Could not find a way to redirect to parent ...
0
votes
0
answers
1k
views
Hover popup expanding entire row of lightning datatable
I am trying to show User info on hover over Name field in datatable, which is resulting in expansion of entire row rather than just hover popup.
Below is the code for datatable where I am using custom ...
0
votes
1
answer
43
views
Can't I use `lnurl` npm library in Nextjs14?
In the first Nextjs14 boiler project you start, use the
npm i lnurl
After installation,
API, just by importing 'lnurl', the following error occurs.
Import trace for requested module:
./node_modules/...
0
votes
1
answer
168
views
Salesforce date from lightning calender parse in apex
I am passing the lightning date picker value to apex class as a string. In apex trying to parse date to insert into the database but getting an error that date format is invalid. I am doing it the ...
0
votes
1
answer
2k
views
Id is returned as undefined onclick event
I am trying to fetch the Id of the record when user clicks on edit, this is little different out of box implementation rather than regular edit functionality in lightning datatable. Using custom ...
0
votes
0
answers
1k
views
How to show edit and delete buttons in single column in lightning datatable
I have requirement to show edit and delete button in single row rather than two different rows in lightning datatable of lwc.
Currently it is displaying as shown below
Instead of this want to display ...
0
votes
0
answers
123
views
How to get 2D lighting behind and in front of certain objects in Unity 2D
Hello guys I have an Universal renderer pipeline asset installed in my Unity editor, the problem that I am facing is I want to get that 2D lightning in front of and behind certain objects.
I have ...
0
votes
0
answers
2k
views
Using lightning-input in Lightning Record edit form lwc
With record-edit form i'm using Lightning-input instead of lightning-input-field(for validation and other purpose)
<lightning-record-edit-form record-id={recordId} object-api-name={objectName} >...
1
vote
1
answer
2k
views
Salesforce lightning card header background
I am trying to change the header color of the card and also there is line after the data table how to get rid of that line. Is it the border of data table.
I want to get this result
Is it the ...
1
vote
0
answers
3k
views
Salesforce LWC custom lightning-datatable with picklist
Within a component of a child component that I'm trying to develop, a list containing records to be modified in a datatable is passed to me by a parent component.
However, one field of this datatable ...
2
votes
0
answers
427
views
"parent error" when using callbacks in lightning.pytorch Trainer
I am trying to replicate the multimodal transformer tutorial shown here in a colab notebook. However, this is a relatively old script and lightning.pytorch has changed significantly. I've adapted it ...
0
votes
1
answer
528
views
How Can Use Dynamic Shadows In my unity AR project?
I am trying to create a AR project to place furnitures by using camera. The shadows of the application do not change depending on the light. I need dynamic shadows that respond to light.
I used Shadow ...
0
votes
0
answers
74
views
Crop webpage(url) content inside an iframe
I have a requirement to embed an url inside iframe, which fits inside a lightning component. I would like to request you all to help me with an approach, where webpage contents can be disabled/cropped ...
1
vote
1
answer
3k
views
Lights pass through the objects in unity
I'm having a trouble, I'm trying to create a dark scene for my project, but, when I add lights, the lights pass through the objects, it has no sense, becouse it pass through the walls.
Light beside of ...
0
votes
1
answer
209
views
Ride-The-Lightning/c-lightning-REST/ "Authentication Failed!"
installed https://github.com/Ride-The-Lightning/c-lightning-REST/
my cl-rest-config.json is
{
"PORT": 3001,
"DOCPORT": 4001,
"PROTOCOL": "http",
...
0
votes
1
answer
5k
views
LWC : How to make lightning-input-address fields read-only while the address search bar is still available for use?
In order to maintain data integrity, we are trying to implement the lightning-input addresses in show-address-lookup mode. This mode renders a lookup field integrated with google places API, which ...
0
votes
2
answers
3k
views
LWC wire returning Error as [Object Object]
I am trying to get a data table with Account hierarchy using the Lightning tree grid lwc. I have a community page and when I open an account record, there is a parent Id field on each account. I am ...
0
votes
1
answer
524
views
JAWS screen reader breaking keyboard navigation in select list
We are using a component that creates a drop down select that ends up looking like this.
With the JAWS software closed keyboard navigation works perfectly well to move between the items in the search ...
1
vote
1
answer
98
views
Lightning LND Rest API in Django API Handling POST requests when encoding/decoding, getting Incorrect Padding
I am trying to make a Django API for handling lightning payments, and I need to implement some functionalities such as unlocking wallet, changing password etc. I am getting "Incorrect padding&...
0
votes
1
answer
938
views
URP Lit Shader on 2D sprite delayed reaction to directional light - Unity 2021.3.11f1
So I have a HD2D Setup in Unity, meaning a 3D world containing 2D sprites (billboards). I am using URP and created a Lit Shader with the following configuration:
This Shader is attached to a material ...
0
votes
1
answer
677
views
Does realtime light or baked light consume more ram?
I want to improve the performance of my game. I've done many things and there have been drastic changes in performance. I also want to change the light. but I don't know which light is more ...
0
votes
1
answer
2k
views
field not appearing in lightning-datatable from query in controller
I am working on a datatable to create a user view and bring in permissionSetAssignments related to the user record page for each user by AssigneeId
I am able to get the table to populate as if there ...
0
votes
1
answer
1k
views
I am using button in Lightning table and i wish to remove the button border. I try to give css class in typeAtributes but it doesn't work
{ label: 'Name', fieldName: 'Name', type:'button',initialWidth:200,typeAttributes: { label: {fieldName: 'Name'},class:"borderRemove" },sortable: true}
//css class
.borderRemove{ border:none; ...
1
vote
1
answer
11k
views
This page has an error. You might just need to refresh it. Action failed:
'cmp file'
<aura:component >
<aura:attribute name="aval" type="Integer"/>
<aura:attribute name="bval" type="Integer"/>
<...
2
votes
2
answers
585
views
How to convert a lightning table into excel file in Salesforce?
I have a table which include a image in one column. I want to download table in Excel format with image data. Is there any way tot achieve this. My table looks like this
[![enter image description ...
1
vote
1
answer
712
views
How can I train the last few layers of RegNet-800MF backbone using PyTorch Lightning
I am trying to get better results by allowing a few final layers of a previously frozen backbone (RegNet-800MF) to be trained. How can I implement this in PyTorch Lightning? I am very new to ML so ...
2
votes
1
answer
142
views
How to get a specific hash value from a specific string?
I am looking at some docs for Lightning invoices creation at https://github.com/lightning/bolts/blob/master/11-payment-encoding.md#now-send-24-for-an-entire-list-of-things-hashed.
They say a SHA256 ...
1
vote
0
answers
22
views
Not displaying pi chart component on opportunity
`My requirement is to create dynamic pi chart component to count stages on opportunity.
Here is my code which displaying only parent component not pi chart which is child one plz help
public class ...
0
votes
1
answer
938
views
I want to trigger aura method on the click of lightning input checkbox. How i can do that?
Below i am pasting my code from cmp file and controller file>
cmp file>
<div class="slds-p-around_small slds-grid slds-gutters">
<lightning:input ...
0
votes
1
answer
1k
views
update availableOptions for multiselect Picklist through Apex trigger
I have created a multiselect picklist which shows the list of users on a custom object. I want to update the available values on this picklist through trigger on User object whenever there is a new ...
0
votes
1
answer
237
views
Salesforce lightning case lookup autocomplete
How to enable lookup/autocomplete feature in cases. I am doing a migration from classic to lightning. In classic this feature is enabled. I am new to salesforce. Please help.
0
votes
1
answer
2k
views
How to edit lightning-textarea programatically in Lightning
I'm trying to find a way to modify the value of my lightning-textarea.
Not the variable that holds the value internally.
Things like document.getElementById('textarea').value = 'value'; are not ...
0
votes
1
answer
1k
views
Salesforce custom button should show in lightning not classic
I am trying to add a link to redirect from opportunity page to a vfp page. There are two pages one for classic and one for lightning. I want to add two links. If user is in classic mode one button ...
0
votes
1
answer
178
views
How to make a Lightning Web Components?
I need to make a Lightning Web Components with this Apex Class but I don't know how to pass the data to the JS and the HTML and how to create that lwc. I want to make a lwc that shows every email ...
0
votes
1
answer
1k
views
Issue when using Salesforce ConnectAPI.CommerceSearchSettings
I got requirement to recalculate B2B Webstore index programatically.
Found documentation here: https://developer.salesforce.com/docs/atlas.en-us.232.0.apexref.meta/apexref/...
0
votes
2
answers
1k
views
Thunderbird Lightning corrupted calendar file
My Thunderbird's Lightning calendar file (local.sqlite) became corrupted and I can no longer view or add events. How to fix the file? Terminal states "database disk image is malformed" and &...
0
votes
1
answer
569
views
Issue in applying css on lightning:tab in Aura
I want to apply custom CSS on lightning:tab of lightning:tabset I tried using inline CSS, external CSS but there is no luck, I want a way to check below:
(Used to create tab section which is ...