Hello,
I am having issues with localization context filter on Client Script.
When I set a localization filter in the Context Filtering tab in the deployment the script does not trigger (on a transaction record, that I am sure is in the specified context because in another script I log the record context via 'N/recordContext' module). I assume this is the expected behavior since in the Documentation there is information that in order for context filtering defined in the Script tab to work in a client script, we should also use two new Entry Points - "localizationContextEnter" and "localizationContextExit".
I searched quite a lot but was not able to find info on how exactly to use those entry points.
I have added them in my script and just logged the context. Nothing happens.
Could anybody help me with a sample?
Thank you.