Skip to main content
Nintex Community Menu Bar
Question

How to enable the button for customer portal on Contact

  • July 9, 2024
  • 1 reply
  • 1 view
  • Translate

Forum|alt.badge.img+3

Hi All,

I want to enable the Manage external user/Enable customer user/log in to portal as user in our Skuid page.

Thanks,
Shaik

1 reply

Forum|alt.badge.img+17
  • Nintex Employee
  • 3763 replies
  • July 9, 2024

These buttons are URL redirect actions.     We’d reccomend that you implement these as buttons in the page title of your Contact Detail page.  The Page title will be connected to the Contact Model.   The trick is to get the full URL from a standard layout page, and then hack the URL and replace all static values with merge syntax. 

You can make the create /  manage buttons conditional if you create a UserModel on your contact detail page,  with a condition on the ContactId field of the user record.  If there is a UserRow returned - you can show the “View” button.  If none is returned you can show the “Create” button.  

The URL redirect code for Enable Customer User button looks like this. 

/005/e?ut=c &retURL=%2F{{{Id}}} &cntc={{{Id15}}} &Email={{#urlEncode}}{{Email}}{{/urlEncode}} &Username={{#urlEncode}}{{Username}}{{/urlEncode}} &Phone={{{Phone}}} &MobilePhone={{{MobilePhone}}} &name_firstName={{{FirstName}}} &name_lastName={{{LastName}}} &Alias={{{Alias}}} &Addressstreet={{#urlEncode}}{{Street}}{{/urlEncode}} &Addressstate={{{State}}} &Addresszip={{{PostalCode}}} &Addresscountry={{#urlEncode}}{{Country}}{{/urlEncode}} &CommunityNickname={{{CommunityNickname}}} 


(Obviously you need to take out the carriage returns) 


The Manage Custom User code is more straightforward,  but does call the UserModel that  you created for the conditional rendering. 

/{{$Model.UserModel.data.0.Id}} ?ut=P &amp;retURL=%2F{{{Id}}} &amp;id={{$Model.UserModel.data.0.Id}} &amp;cntc={{{Id}}}<br>




Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings