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
Dea73Dea73 

Overriden View Page script does not work for all profiles

All,

 

I have created a visualforce page that overrides the view layout of a custom object.

For new button in a related list in the visualforce page i wrote a script for it to take the user to a recordtype selection page.

 

/setup/ui/recordtypeselect.jsp?ent=01I30000001mHL0&retURL=%2F{!Maintenance_Window__c.Id}&save_new_url=%2Fa04%2Fe%3FCF00N30000009pOlA%3D{!Maintenance_Window__c.Name}%26CF00N30000009pOlA_lkid%3D{!Maintenance_Window__c.Id}%26retURL%3D%252F{!Maintenance_Window__c.Id}

 

It works for me, I'm system administrator, but it doesn't work for other profiles.

 

Any ideas or suggestions,

 

Thanks in advance