Creating a filter for 'Edit Members' page.

georgimavrodiev
Mega Guru

Hello,

I had a requirement — to create a customized filter in the 'Add / Remove multiple' button which will show in the slushbuckets only the users, associated to the country of the currently logged in user. I managed to achieve this by overriding the button itself. The way I created the filter gives me the opportunity to break it at any time I want. This way, I will be in a position to see all the users in the system (as the default one).

Here is a screenshot of it:
111.png

This creation of mine covers the request I had.


Yet, I would like to check if another solution exists, which may serve the same purpose (lists only users, associated to the country of the logged in user) and also to have a break option.
I performed several tests in order to achieve this, but all of my attempts did meet the requirements.


Best Regards,
Georgi Mavrodiev

6 REPLIES 6

Chuck Tomasi
Tera Patron

Hi Georgi,



This thread may prove helpful. You can use a dynamic "javascript:" call to the value in the list collector filter.



Pre-filter slushbucket


Hi Chuck,





Thank you for helping me out!




I tried the solution, proposed in the thread you sent me. Yet, I cannot complete the test.


Here, I may add that my target filed is list type, referring to sys_user table.



Do you know what sys_m2m_template.do is?
And where is it located?
Can it be modified?




Best Regards,


Georgi Mavrodiev


Hi Georgi,



That appears to be a system level UI page that is not modifiable by the customer. Where did you see a reference to that?


Hi Chuck,





I see the reference when I use the Application Navigator and navigate to Self-Service > Requested Items > pick one of the records and open it -> then click on 'Edit Watch list' button on the Watch list field - > then click on 'Add / Remove multiple' button. It directs me to the Edit Members form (included in the above screenshot). There, in the URL I see a reference to sys_m2m_template.
Yet, I cannot find it in the UI Pages of my instance.




Best Regards,


Georgi Mavrodiev