Skip to main content
Nintex Community Menu Bar
Question

skuid.utils.redirect to a record page

  • Jul 9, 2024 9:53 PM UTC
  • 4 replies
  • 29 views
  • Translate All

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?

Translate

Forum|alt.badge.img+6
  • Nintex Employee
  • Jul 9, 2024 11:59 PM UTC

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.

Translate

Forum|alt.badge.img+4

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

Translate

Forum|alt.badge.img+6
  • Nintex Employee
  • Jul 9, 2024 11:59 PM UTC

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

Translate