Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 21 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,41 @@
# salesforce-integration-in-ej2-javascript-scheduler

A complete integration of Syncfusion EJ2 JavaScript Scheduler with Salesforce, enabling event management and synchronization within the Salesforce ecosystem as a custom component.

### Prerequisites

- [Salesforce CLI](https://developer.salesforce.com/tools/sfdxcli)

### Configure salesforce

1.[Sign up](https://developer.salesforce.com/signup) with salesforce developer account, if you don’t have salesforce account

2.[Log in](https://login.salesforce.com/) with salesforce account

3.After successful login with salesforce, search for `Dev hub` in quick find search box and select dev hub
### Setup Salesforce

4.Ensure the `Enable Dev Hub` option is enabled, if not enable it
1. [Sign up](https://developer.salesforce.com/signup) with a Salesforce developer account
2. [Log in](https://login.salesforce.com/) and enable Dev Hub in Setup > My Domain
3. Search for `Dev hub` in the quick find and enable it if needed

### Deployment

1.Clone this project

2.Open salesforce\scheduler-salesforce-app\sfdx-project.json file and update the `sfdcLoginUrl` with domain url, which is get from salesforce Setup > My Domain

3.Authorize the DevHub in the project
>sf org login web --set-default-dev-hub

4.In the cloned project create scratch org using below command

> sf org:create:scratch -f config/project-scratch-def.json
1. Clone this project
2. Update `salesforce\scheduler-salesforce-app\sfdx-project.json` with your domain URL from Salesforce Setup > My Domain
3. Authorize DevHub: `sf org login web --set-default-dev-hub`
4. Create scratch org: `sf org:create:scratch -f config/project-scratch-def.json`
5. Open scratch org: `sf org:open -o {scratch org user name}`
6. Deploy: `sf project:deploy:start -o {scratch org use name}`

5.Open your scratch org in brower using below cmd

> sf org:open -o {scratch org user name}
### Integration

6.Deploy the project using below command

> sf project:deploy:start -o {scratch org use name}


### Scheduler Integration

1.In scratch org url, click app launcher icon and search for `SyncfuionScheduler`.

2.Select syncfusion scheduler to load the scheduler as custom component in salesforce
1. Open your scratch org and click the app launcher icon
2. Search for `SyncfusionScheduler` to load the scheduler as a custom component

### Output Preview

![Preview](image.png)

### Documentation

- [JavaScript Introduction](https://ej2.syncfusion.com/javascript/documentation/introduction)
- [JavaScript Schedule Component](https://ej2.syncfusion.com/javascript/documentation/schedule/getting-started)

### Troubleshooting

**License banner:** Obtain and register a Syncfusion license key [Link](https://ej2.syncfusion.com/angular/documentation/licensing/overview).
**License banner:** Register a Syncfusion license key at the [Licensing Overview](https://ej2.syncfusion.com/javascript/documentation/licensing/overview).
Loading