Enumeration

0
I use enumeration to create accounts for user jobs. But I want to limit the user of this enum based on their role. I want some jobs not to appear.I just want the recruiter and supervisor to appear here. Is it possible?
asked
5 answers
0

If you want to know how to put new style check it here:

  1. Create new scss file in web folder 
  2. Import it in main.scss, same way as “custom-variables”’s import. 

 

answered
0

there are 3 solutions

1. You may create Entity, and in after starup method create necessary number of objects, for each value you have.
Then you can create assosiation and select filtered object for different cases . 
 

2. The other solution can be to have separate enumeration for each case. 

3. Just hide the last option with css

 

answered
0

Find the last child of your container and hide it.
Example:
.my-div:last-child {
   display: none;
}

You just need to find the right class and put it instead of .my-div.
You may also specify custom class so that style does not apply on every element in every page.

 

It is also  possible to access n-th child 
Example:
.my-div:nth-child(2n+1), {
   display: none;
}

answered
0

There's a widget for that:
https://marketplace.mendix.com/link/component/111237

 

It gives you full control over which of the enums you wish to show and hide by following the documentation

answered
0

Guess App admin function will be limited used in a specific process.

Thus you could opt to not add this to the Enumeration at all, and cover the process of adding app admins differently.

 

answered