function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Melisande PerronMelisande Perron 

VF Button Override Causing Infinite Browser Redirect for One Profile

I  didn't write the code for this, but have an issue that has me stumped: We have a VF page that overrides the "New Contact" on Account button.  It works perfectly for our System Admin, and most other Profiles, but for one Profile (has API Enabled), gets into an infinite browser redirect when he clicks on the button. When the Sys Admin logs in as that Profile, he can recreate the issue.
The page should resolve first to the Record Type selection page, but instead loops between these two urls, and the page never loads:

https://na4.salesforce.com/setup/ui/recordtypeselect.jsp?....
https://uniqueentry.na4.visual.force.com/apex/uniqueContact?....

Since it works fine for the Sys Admin, but not for that Profile, what kind of permissions or other things could be causing this?

Thanks!
kevin lamkevin lam
Have you checked the record type settings of that profile?