This is form a TYPO3 extension and object.DetailActionUri contains the Uri to an action which i created in the Controller and gave it as a property to my object. The function "createLink" is called within the Fetch API. I was receiving a TYPO3 page not found error, even though the URI worked when i copied and pasted it to the URL-bar of my browser. The problem was, that i forgot to delete some TYPO3 Viewhelpers inside the template string. After deleting them, the link works now when i am clicking on it.
object.DetailActionUri? And when you say it’s not working... how? We can’t read your mind.