Solved
how to get currentPage object in javascript, as javascript file resides in clientlibs folder of the component. please give me example code snippets.
No text available
Hi @karthick1356
When you say you want currentPage object in JS which is inside your clientlib, for what purpose you need it? You will not be able to get the currentPage object in JS as the context will not be avilable on clientside and it's either available on HTL or Java which is on server side.
If you can provide the use case we can come with a concrete answer.
Thanks!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.