locked
Filter subject according to user role RRS feed

  • Question

  • Hi! 

    I have an request to filter the subject lookup results according to user role.

    I made an plugin on the multiple retrieve of the subject entity.

    And it works on the definitions.

    But on the case entity when im trying to insert the subject on the record the lookup gets a really strange behavior.

    Basicly the aspx that is suppose to appear when we click on the subject dont appear and only show the root subjects.

    The really strange part is that if i enable the ddl with the form open it have the behavior i want.

    If anyone have any solution or have faced the same problem and could help, would be nice.

    Thanks in advance.

     

    Friday, October 13, 2017 5:35 PM

All replies

  • I have built a multi level selection based on subject tree but think it’s cached sometime so you might want to try static tree for each role and just show the relevant root(s)?
    Saturday, October 14, 2017 7:10 PM
  • Hi Chris!

    Thanks for the answer.

    I dont think is possible to have multiple trees  for the subject.

    Monday, October 16, 2017 9:21 AM