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
NaishadhNaishadh 

Need help on Idea Page

Hi,

 

We have multiple categories and each categories points to different customer portal client. We want that user from one categories can not edit ideas of other categories. Is their any way to do so?

 

Thanks

Ispita_NavatarIspita_Navatar

In which object the Category object is stored? Say for example it is stotred in User so you can compare the group of person who created the idea and the group of logged in user , in case they are not same and the value of "Idea Body " has been changed then raise an error.

Please try the following validation rule:-

AND(if( $User.Category <> CreatedBy.Category ,true,false), ISCHANGED(Body ))

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.

WesNolte__cWesNolte__c

Hey

 

I've recently implemented something similar to this and category information is hidden 'under the hood' so it's inaccesible as data or metadata. You'll have to maintain a list of categories somewhere - either custom settings, or static class var - and then using that list, and a combination of profile Ids or names determine what needs to be displayed. It's an ugly solution since you have to maintain the lists of information but at this time it is your only option.

 

Cheers,

Wes