Weird event issues in UI Builder

Andrew Bettcher
Kilo Sage

I have a simple calendar showing change records based on planned start date. I have a "Range Updated" event that updates two client state parameters (startMS and endMS) with the visible start and end dates of the calendar when the date range is changed on the calendar and I have a client script that logs these values to the console.

I then have log statements in my data broker script and my script include.

The date values seen when the event is called (i.e. those I can see in the console) are different from the ones that arrive at the data broker. It seems, no matter what, the dates it thinks I want to see are the ones from last week.

 

I've cleared the cache several times. 

The thing is, it's clearly something I've done because the dates are for last week. Why would it randomly fix on those dates. But, what can it be that I've done? There is nothing else between the client state parameter and the data broker, at least, that I can see.

Any ideas?

I have a similar issue with sending the sys_id of a clicked event to a "display record only" component as part of a popover. The client state shows the correct sys_id is set in the client state but when I bind that to the component I get....nothing. I've tried binding it by script and by pill selection and tried different ways of using the pill (i.e. clicking into the selected pill and manually updating the target.

Nothing seems to work.

Could there be an underlying issue causing all of these issues?

0 REPLIES 0