Forum Discussion
kavithams, can you share the url where you are seeing this attribute in your community?
- kavithams8 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.
Sign in to react to this post- Parshant8 years agoBoss
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.
Sign in to react to this post- kavithams8 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.
Sign in to react to this post