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,820 points
371 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,420 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,820 points
4,057 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,820 points
6,103 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,420 points
797 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
3,393 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,030 points
1,038 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,030 points
755 views
0 votes
2 answers

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

Hi @Vardhan, I took Edureka's Salesforce Online Training, ...READ MORE

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

edited Dec 22, 2021 by Soumya 726 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