New filed not available in role UI

swapnil kamble asked on September 18, 2014 16:07

Hi All, I added the new field in system table cms_role section through UI before that i run this query to show the cms_role table in system table. Update CMS_Class set ClassShowAsSystemTable=1 where classname in ('cms.role'); I added the testcheck filed. Its boolean filed and on UI its checkbox field. But that testcheck filed not available in below isdomain role checkbox even in its not appear on role UI. Need help aspa.

Recent Answers


Brenden Kehren answered on September 19, 2014 16:39

What version are you using? v8 it sounds like? That particular module control is hard coded and doesn't use a portal template so you'd have to modify the ascx file associated with it and add the field.

You can find the file here: /CMSModules/Membership/Controls/Roles/RoleEdit.ascx

0 votesVote for this answer Mark as a Correct answer

Richard Sustek answered on September 22, 2014 10:18

Hi,

Thank you for your message.

This seems to be coming from a version 7. Its possible to include your custom field by customizing following file:

~/CMSModules/Membership/Controls/Roles/RoleEdit.ascx

This is a system file and it doesn't use portal engine to generate the form. Please note that such customizations are not supported by default and it might get overriden by future hotfix/upgrade. Especially during upgrade to version 8 you might experience some issues which will need to be addressed.

In most cases I would recommend to create completely custom module which is the safest option.

Feel free to let me know if you have further questions.

Kind regards,

Richard Sustek

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.