Removing or hiding "role added to user" message from consumer portal.

smfoister
Giga Expert

We're deploying our customer service portal and we have noticed that when a consumer registers with the site the roles being added to the consumer are displayed on the portal just like they are internally when a role is applied to a user.

It appears the only way to remove this message is to comment out lines on the RoleManager script include, which is not ideal because this is an incredibly important script. Is there any other way, such as a system property or something that this can be disabled?

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

Unfortunately, the only way to stop the InfoMessages from appearing it to comment out those lines in the RoleManager script include. It shouldn't really be a problem to do this if it's a request platform wide to not have those show when adding roles. It would need to be reviewed every upgrade, but that isn't too bad of a task.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

11 REPLIES 11

Allen Andreas
Administrator
Administrator

Hi,

Unfortunately, the only way to stop the InfoMessages from appearing it to comment out those lines in the RoleManager script include. It shouldn't really be a problem to do this if it's a request platform wide to not have those show when adding roles. It would need to be reviewed every upgrade, but that isn't too bad of a task.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

That was my fear... I know these are small things to check but we have an incredibly small team and upgrades are hard enough. Thanks!

Hello,

I can understand that, but my comments come from someone who has literally worked upgrades as the only person...numerous times. So if you generally follow the practice of not editing OOB records, etc. You'll have just a few skipped changes to review. So...it's up to you/your company if this is worth the 1 extra skipped change to review.

All we can do is tell you the pros and cons, right?

Take care!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hello Allen,

 

I have a similar requirement where I don't want to display the Adding/Removing messages. I tried with this solution. But The messages are still appearing. I searched in all BRs and Script Includes. This is the only file. What should I do to hide these info messages.

 

Thanks in Advance.

Gouri