bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
55 stars 6 forks source link

Wrapper for `CrudManager` to work with server side in Salesforce #7905

Open chuckn0rris opened 1 year ago

chuckn0rris commented 1 year ago

Forum post

Hi all,

The past few weeks I've been working on a Lightning Web Component (LWC) that displays events defined in Salesforce. I can load the events and resources on the initialisation of the component, and I can save events. I had to implement that by using a dataChange listener for saving and I load the events by getting them via @wire and building the scheduler by passing the array.

It's not possible to use the CrudManager with Salesforce. Communicating via AJAX from a LWC is not possible due to how Apex handles preflight requests. (source).

Using the scheduler without the CrudManager makes it a lot harder for me to dynamically update the scheduler with changes in Salesforce. For my question: Are there any plans for an integration with the Lightning Data Service or is there another way I can use the CrudManager? How do you Salesforce people handle running the scheduler from an LWC?

bmblb commented 1 year ago

Related issue: https://github.com/bryntum/bryntum-salesforce-showcase/issues/4