Is it possible to add a recordtype field (to a table) such that in edit mode a user can select the recordtype, but in view mode it renders as text instead of Url. Right now when I add recordtypeId it renders as Url to the recordtype object which when clicked takes the user to “Insufficient Privileges” page.
Thanks Anna, This worked for me. However, there is one side-effect. With this custom renderer, the edit mode is Auto-Complete. Ideally, in this case it should be “picklist”. What should I add to the snippet to render the field as picklist?
Hi Andrey, Add this line to the beginning of the else portion of the snippet.
field.options.type = 'REFPICK';
Perfect! Thanks again.