Forum Discussion
5 Replies
kavithams, can you share the url where you are seeing this attribute in your community?
- kavithams7 years agoGuide
Parshant , this "data-lia-action-token" seems to be there every where. Please view the page source of any community page https://community.cisco.com/t5/technology-and-support/ct-p/technology-support and there are many places where this token is there.
For example, as part of sign out button anchor tag too its present.
Kindly help the same.
You can use javascript or jquery to get the value of "data-lia-action-token".
Some thing like this to get attribute value.
var token = $('.lia-link-navigation.addBoardUserEmailSubscription.lia-component-subscriptions-action-add-board-user-email#addBoardUserEmailSubscription').attr('data-lia-action-token');
and add this variable value to your html.
- kavithams7 years agoGuide
Parshant Okay thanks, this is for accessing this attribute. But what exactly is this token and how can I generate one myself ?
Also by accessing this attribute using jquery, I'm unable to assign it or use it in freemarker yet.
Please let me know the same.
- luk7 years agoBoss
kavithams as far as I know you can't get them on FreeMarker level, had this problem a few times already. Maybe DougS knows some magic here?