158 questions
0
votes
0
answers
12
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 ...
0
votes
0
answers
122
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
103
views
How to refresh datatable in child lwc without wire method when data is passed from aura component
I have an LWC component that serves as a child component within an Aura comopnent. I'm passing data from Aura to the LWC to display in a Data Table. There is a button in the LWC, and when clicked, it ...
0
votes
0
answers
78
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
157
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 ...
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....
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
0
answers
64
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
1
answer
36
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
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
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 ...
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 ...
2
votes
0
answers
425
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
0
answers
71
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 ...
0
votes
1
answer
204
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
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 ...
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
669
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
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; ...
2
votes
2
answers
579
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 ...
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 ...
0
votes
1
answer
934
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
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
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
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/...