Skip to Content
avatar image
Former Member

Java Script for portal favorites in NW 7.5


We have implementation for Add to Portal Favorites in 7.0 version using Java script. After upgrade to 7.5, its not working.

We were using this standard script for portal favorites.

var url = "/irj/servlet/prt/portal/prtroot/"; url += ("NavigationTarget=" + getEscapedTargetUrl(target)); url += ("&Title=" + encodeURIComponent(title)); url += ("&Mode=" + mode);

Can anyone suggest, how it has to be done in portal 7.5 as we are getting the error as below:

XSRF Token incorrect or missing.

No xsrf token parameter is found in the request! request[com.sapportals.wcm.portal.util.PortalServletRequestWrapper@42d72514]

i think after 7.3, the java script is changed. Please suggest , where to find the new changes. Couldn't find it in the documentation.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 07, 2017 at 04:09 PM

    Hi Sumit,

    Please take a look at the below documentation:

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded