Hi
I am not able to integrate Scheduler Component in Oracle Jet application
i am getting error,
unexpected token export in scheduler.module.js
Can you please provide more details about your environment. Sounds like a legacy web context?
The error message "unexpected token export in scheduler.module.js" typically occurs when JavaScript code is trying to run in an environment that doesn't support ES module syntax (which includes the export statement) or where the code is incorrectly parsed.
Here are some common reasons this error might occur:
Incompatible Environment:
The code is using ES module syntax (import and export), but it's being run in an environment that only supports CommonJS syntax (which uses require and module.exports).
This often happens when Node.js is configured to run CommonJS modules (which it does by default) but is trying to execute a file that uses ES module syntax.
Hi Mats
I am madhu from Rite, i got reply from you
Sounds like you might need to use the UMD version without exports. Try using that? Please also ask further technical questions in our support forums: https://link.edgepilot.com/s/21238a4c/0ryxBsXsg0We_pX5prqEEg?u=https://forum.bryntum.com/
Hey Madhu,
We have a guide for that, please read the following documentation https://bryntum.com/products/schedulerpro/docs/guide/SchedulerPro/data/displayingdata#using-inline-data and if you need further clarification, please let us know.
Best regards,
Márcio
Hi
I have issue with MapPanel, I want integrate Maps, is there any UMD version for MapPanel, Please let me know
mapPanel = new MapPanel({
ref : 'map',
appendTo : 'main',
flex : 2,
eventStore : schedule.eventStore,
timeAxis : schedule.timeAxis,
listeners : {
// When a map marker is clicked, scroll the event bar into view and highlight it
markerclick : async({ eventRecord }) => {
await schedule.scrollEventIntoView(eventRecord, { animate : true, highlight : true });
schedule.selectedEvents = [eventRecord];
}
}
})