Please follow below instructions to deploy this to your dev org using VS Code.
Deploy the appCustom.css
file as a new Static Resource. ( Optional - Needed for data table padding while scrolling )
- Create a new Static Resource named:
appCustom
. - Upload the CSS file. The file is present in
force-app\main\default\staticresources
. - Make sure to choose Cache Control as Public.
- Name: Request_Catcher_Order_Submit
- URL: https://mco.requestcatcher.com
git clone https://github.com/m-debnath/OrderableProductsComponent.git
or, if you have ssh setup for Github
git clone [email protected]:m-debnath/OrderableProductsComponent.git
It is expected that you have required Salesforce Extension, Salesforce CLI, nodejs, npm etc. already setup. If not, follow instructions here.
Authorize your dev org. SFDX: Authorize and Org
Locate the package.xml in manifest/package.xml
Right-click and choose SFDX: Deploy Source in Manifest to Org
Below objects should be successfully deployed.
Classes:
- OrderProductsController
- OrderProductsControllerTest
- OrderableProductsController
- OrderableProductsControllerTest
- OrderServices
- TestDataFactory
Lightning Web Components:
- orderProductsListLWC
- orderableProductsListLWC
Lightning Message Channels:
- AvailableProductsToCart
- CartsToAvailableProducts
Named Credentials:
- Request_Catcher_Creds
Flexi Pages:
- Order_To_Cart_Record_Page
Go to Setup > Object Manager > Order > Lightning Record Pages.
A new page Order_To_Cart_Record_Page
should be available.
Open it in Lightning App Build and Activate it as Org Wide Default.