Navigating to the URL created by url.resolveTaskLi...
# suitescript
a
Navigating to the URL created by url.resolveTaskLink({id: "EDIT_TRAN_VENDBILL"}) results in an error page that says: There are no records of this type. It is a valid task link ID. If I put an invalid task link ID into url.resolveTaskLink then I get a different error instead. What does that mean, "There are no records of this type"? The part of the URL before the '?' matches what I have when I click "Enter Bills". Besides, I'm not trying to navigate to an existing record, I'm trying to navigate to a page where the user can create a new Bill.
n
That's not how you get the task ID. suiteanswers.custhelp.com/app/answers/…/11611
a
That's actually what I did. But I solved it: The misleading error occurred because I included a reserved parameter name in the params part of the resolveTaskLink call. The reserved parameter name was 'e'.
✅ 2
n
Yes, e is used for "edit" mode.
👍 1