Account Tools - Conditional Rendering

  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
Is there a way to conditionally render the Account tools (Merge Accounts, Mass Delete Accounts) from a custom skuid page?  I'm assuming I can do it by explicitly naming the profiles that already have permissions to use Account tools, but since the Profile IDs will change from Sandbox to Production, this is a little cumbersome.

Within the Standard Salesforce page, if I don't have access to the Account Tools, the links do not display.  I'd like to mirror this functionality in Skuid.
Photo of Jay Steinberg

Jay Steinberg

  • 408 Points 250 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
You can set up conditional rendering based on profile name (rather than ID) and this way things will work in both sandbox and production environments. 
Photo of Jay Steinberg

Jay Steinberg

  • 408 Points 250 badge 2x thumb
Sorry, I don't see that as an option.  If I render by 'Running User Attribute', Profile name is not an option.

Photo of Jay Steinberg

Jay Steinberg

  • 408 Points 250 badge 2x thumb
Hi...just figured it out (with some help here!)  I created a separate model for Running User and then had access to the Profile Name.  Thanks for pointing me in the right direction!
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Glad to hear you got this figured out