Questions tagged [web]
The web tag has no summary.
55 questions
0 votes
0 answers
55 views
How to access CSRF Token in Lightning Web Components
Some parts of the API's are requesting CSRF Token for security purposes. How can I access it from a lightning web component? "@salesforce/user" only exposes Id and isGuest. I can see that in ...
1 vote
1 answer
225 views
Web flow and access/refresh tokens via php
I'm trying to implement a web flow authentication process using php; so far, I've created the necessary index.php file which is used to get the first code: // Generate a random code verifier $...
-1 votes
1 answer
1k views
REST web Service to consume PDF in Binary Form from external System
I have a requirement where external system will be posting PDF to salesfore in binary form as REST Post call and I need to cosume the PDF to attach it to the Object as attachments. Following is my ...
4 votes
2 answers
488 views
LWS - Apparent difference in behavior using data returned from Apex call
Prior to enabling LWS in Spring '22 we were able to successfully 'modify' objects returned from an Apex Call. After enabling LWS we cannot modify the data. Allow me to give an example. Below is some '...
0 votes
1 answer
3k views
Trailhead Error: We can’t find the 'FirstName', 'LastName', and 'Email' fields imported into contactList.js
I'm trying to complete a Trailhead, but I keep getting the following error: We can’t find the 'FirstName', 'LastName', and 'Email' fields imported into contactList.js. I was able to push my code into ...
1 vote
1 answer
562 views
Can I build a SPA using lightning web component framework outside Salesforce
I want to build a single page web app (not in Salesforce). Just like when we write html using Angular, you import JS and CSS (from Angular or react framework CDN). Similarly is it possible to do such ...
3 votes
1 answer
2k views
Tooltips in LWC for template iterator are hidden by z-index
I have a tooltip slds div which is displayed when hovered over Task bar (task three in this case) Its just that the even after setting z index (100000) on the popover component (from slds), it hides ...
2 votes
2 answers
4k views
force:recordData's recordUpdated in LWC
So we have this Aura component that we are trying to convert to LWC. We have less than 10 small components, so we want to standardize to LWC before it grows big. but we have one Aura component that ...