We have recently updated Epicor to Kinetic 2023.1 (We were using Kinetic 2022.1) today I continue debugging some code I left pending before the update and noticed that all PublishInfoMessage are not working anymore.
Here’s my code.
Clearing all the code leaving only the PublishInfoMessage part
Using grid instead of individual message
Asked a coworker to show a message from his code
Also read new article: What’s New in This Release - Controlled Release Version but there is nothing related to this.
The message widget does have that flag but have you tried setting that flag in c# code instead of the widget?
I thought that maybe this flag would do something but It doesn’t.
Click a custom button to select data from payment entry table and show it in a message.
I replaced the retireved text for a fixed value “TEST”.
Also replaced the whole code for the snippet Jose provided.
Nothing worked.
Also, if you open up the dev-tools in the browser, you should be able to find where the function was called in the network tab. Look in the response headers under CallContext.
You should see if data is being returned. If it is in there, something else is wrong.
I’m not sure that Info message was ever supposed to work in a function… Functions are mostly to be invoked via REST I’m not sure how that would translate to a Kinetic Layer… It seems you said it worked before but from a design perspective it doens’t make sense to me.