Skip to main content
Nintex Community Menu Bar
Question

skuid.utils.redirect to a record page

  • July 9, 2024
  • 4 replies
  • 8 views

Forum|alt.badge.img+4

Hi MyContactRow.Id has the right value, but when this is called,

             skuid.utils.redirect({
                url: ‘/{{{’+MyContactRow.Id+‘}}}’,
                title:‘hi’,
                window:‘blank’
               
            }); 


It’s not going to the contact record, instead it goes to the homepage.

Any Ideas?

This topic has been closed for replies.

4 replies

Forum|alt.badge.img+20

backslash vs. forward slash?


Forum|alt.badge.img+6
  • Nintex Employee
  • July 9, 2024

If MyContactRow.Id already has a value, you don’t need the curly braces:

url:'/' + MyContactRow.Id,

skuid.model.Model.getFieldValue is the officially supported way to get field values (rather than referencing the row properties directly), but I think that will still work.


Forum|alt.badge.img+4

yes, that worked. You just need to add the / there too. Thanks.


Forum|alt.badge.img+6
  • Nintex Employee
  • July 9, 2024

Good catch! I’ve updated my response accordingly. Thanks!