on 06-28-2019 12:51 AM
Hi
i have requirement to add JavaScript code to the top head tag in sap portal , the script should display in all pages for specific roles , It's possible?? and What's the best scenario to implements?
<html><head><script>) ... </script>
thank you
Hi Yasser,
You could create a Document Hook for this purpose:
https://blogs.sap.com/2014/11/03/adding-html-to-all-portal-iviews-responses-portal-document-hooks/
Please also review the associated notice:
*Important note – Hooks affect every request to the portal, and are designed for special situations. Because hooks can have wide-ranging and dangerous side-effects that could harm performance or entire portal functionality, it is not recommended for wide usage and only for special conditions that suits.
Best regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.