How to enable the button for customer portal on Contact

  • 1
  • Question
  • Updated 4 years ago
Hi All,

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

Photo of Shaik


  • 370 Points 250 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,678 Points 20k badge 2x thumb
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. 


(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.