We are re-using the out-of-box tag component which is already available inside the /libs/foundation/component/forms folder.
In Author mode, everything is working fine as expected but when it comes to Publish mode the fields associated with tag component are not getting displayed to perform the tagging operations.
Moreover, when I checked for the errors available in the console of the browser. I'm getting the below error
Uncaught TypeError: Cannot read property 'TagInputField' of undefined
Please check the attachment - I have added the screenshot of the issue I'm facing
Kindly help me out in resolving the issue.
Solved! Go to Solution.
Views
Replies
Total Likes
From Administering Tags : Setting Tag Permissions :
"As of AEM 6.1, 'secure (by default)' is now a best practice for the publish environment that requires read permission to be explicitly allowed for tags. Bascially, this is done by creating a package of the Tag Namespace after permissions have been set on author, and installing the package on all publish instances."
- JK
Views
Replies
Total Likes
Hi
Please have a look at this forum post, i hope this could help you.
Link:- https://forums.adobe.com/thread/1188441?tstart=0
I would request you to also look at error.log to further debug this.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
I have looked at the error.log there is nothing wrong/peculiar with respect to the tagging component.
Everything seems to be fine
Please check the attachment on the type of error I'm getting when the link is being clicked
Views
Replies
Total Likes
ShyamSundar wrote...
We are re-using the out-of-box tag component which is already available inside the /libs/foundation/component/forms folder.
In Author mode, everything is working fine as expected but when it comes to Publish mode the fields associated with tag component are not getting displayed to perform the tagging operations.
Moreover, when I checked for the errors available in the console of the browser. I'm getting the below error
Uncaught TypeError: Cannot read property 'TagInputField' of undefined
Please check the attachment - I have added the screenshot of the issue I'm facing
Kindly help me out in resolving the issue.
I have looked at the error.log there is nothing wrong with respect to the tagging component. Everything seems to be fine.
Please check the attachment on the type of error I'm getting when the link is being clicked
Does anyone have faced a similar kind of an issue and any suggestions on how to troubleshoot the issue.
Kindly let me know
Thanks
Views
Replies
Total Likes
From Administering Tags : Setting Tag Permissions :
"As of AEM 6.1, 'secure (by default)' is now a best practice for the publish environment that requires read permission to be explicitly allowed for tags. Bascially, this is done by creating a package of the Tag Namespace after permissions have been set on author, and installing the package on all publish instances."
- JK
Views
Replies
Total Likes