Content Publishing Organization Chart filter - Help filtering users...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2022 01:25 PM
Good afternoon, Experts.
We are looking to utilize the org chart widget from Content Publishing app as an employee directory. The problem is, the employee search field searches all active users. We have multiple types of users. customers, dealers and employees. I would like to limit the employee search to users in our company...but so far it has eluded me. I have cloned the org chart widget... but the scripting in there is a little too much for me to parse.
Can anyone point me in the right direction? And if I was already on the right track with the widget clone... maybe suggest how I might modify the code to filter out the users we don't want?
Thank you!
Additional Progress:
Well...NOW I see that there is another section called "Eligible Users" where you can define parameters for the users that show up in the org chart. However, even though I have created one...and activated it...and marked it default.... it has no effect on the results of the Org Chart... Same with the profile card configuration.
Any insight as to why that might be?
Thank you!!
- Labels:
-
Content Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 09:08 AM
Hi
<sn-record-picker field="c.user" table="'sys_user'" default-query="PLACE YOUR QUERY HERE" display-field="'name'" value-field="'sys_id'"
display-fields="'email'" search-fields="'name'" page-size="100" >
</sn-record-picker>
in default-query attribute add the query you want to use/filter sys_user table.
Regards,
Vamsi S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 09:28 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 09:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 09:34 AM