How to set currentSession object attribute values like id, name, zipcode within javascript of my header file?
I am planning to use currentSession HTL Global object to get user related information. And pass that to analytic javascript file included within my customheader file.
1. I wanted to know how can I setup currentSessoin object attribute value like (id, name, zipcode) in javascript before I actually passed it to analytic script?
2. Also how to retrieve the same set of attributes in javascript for setting up & passing to analytic array object.
currently i am getting values only for this method
alert('${currentSession.attributeNames @ context="scriptString"}');
output is: ip,oak.bound-principals,oak.relaxed-locking,referer,useragent
I have one more query regarding, how can i Overlay my files form /libs folder to my project folder under /apps.
If I do rightclick & do overlay then it moves inside /app/core. but I wanted to move that into /app/project folder structure. If I copy & move these files under my specific project folder inside apps, will it work?
Kindly share any inputs on above mentioned queries.