Resolving salesforce modules on Heroku

0 votes
My business has a Salesforce Platform app that we intend to enhance. I'm looking into the benefits and drawbacks of hosting the extended functionalities on Heroku rather than on Salesforce. One of the greatest issues I'm seeing right now is that I can't access @salesforce modules, but I can't find any documentation on this. Do you know if you can import @salesforce modules?
Mar 16, 2022 in SalesForce by surbhi
• 3,810 points
63 views

1 answer to this question.

0 votes
Base Lightning Web Components can be utilised in open source LWC-based applications produced on the Heroku platform or elsewhere, but not all of them. At Trailhead, you can learn more about LWC OSS.

Other aspects of the Lightning Web Component ecosystem, on the other hand, are exclusive to the Salesforce platform. You can't import from @salesforce/apex, for example, in LWC OSS. When you're not deploying code and metadata in your org, you won't be able to import from modules like @salesforce/schema, which offers schema details for your org.

The parts of LWC that are built on ordinary JavaScript will work, but the interface with your Salesforce org will not.

If you need to communicate with the organisation, you'll need to set up your own API connection and make all of the calls yourself.
answered Mar 17, 2022 by CoolCoder
• 4,360 points

Related Questions In SalesForce

0 votes
1 answer

Salesforce Apex/JSON serialization with change on variable name

Apex does not support annotation for serialization. But, ...READ MORE

answered Mar 2, 2022 in SalesForce by surbhi
• 3,810 points
1,581 views
0 votes
1 answer

Salesforce Formula Text Value Based on Custom Field Picklist Value

You should update the fields using the ...READ MORE

answered Mar 2, 2022 in SalesForce by surbhi
• 3,810 points
3,439 views
0 votes
1 answer

sharing rules on case object in salesforce

Is it possible for the user to ...READ MORE

answered Apr 5, 2022 in SalesForce by CoolCoder
• 4,360 points
212 views
+2 votes
2 answers

Salesforce Interview questions

Here are some questions very important for ...READ MORE

answered Jan 11, 2019 in Career Counselling by Suresh
• 720 points
2,107 views
0 votes
1 answer

How to connect to salesforce from tableau?

Hi, follow these steps to connect to Salesforce: 1. ...READ MORE

answered Mar 25, 2019 in Tableau by Cherukuri
• 33,050 points
398 views
0 votes
1 answer

Power BI - Salesforce

Hi, Follow below steps: 1. Go to Data source. 2. ...READ MORE

answered Mar 25, 2019 in Power BI by Cherukuri
• 33,050 points
261 views
0 votes
1 answer

What is the best training for Salesforce ADM-201 Exam?

Hi @Vardhan, I took Edureka's Salesforce Training that covers all ...READ MORE

answered Jun 3, 2021 in Others by Jaya
• 140 points

edited Dec 22, 2021 by Soumya 294 views
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP