Scripting Question for Dropdown Field

We are currently using a to pull job positions for our Title field. I need to limit the job positions that show in the web interface, but need all titles to show in the thick client. Is there an easy way to do this? This is the script we are currently using to display all titles in the web interface now. In the future, I do not want the "Owner" title to display.

This script is run from a policy. The "C:\ARSModules\ARSQueryCmdlets.dll" pulls the csv file with the titles.

function onGetEffectivePolicy($Request)
    if($Request.Class -eq "user")
        Import-Module "C:\ARSModules\ARSQueryCmdlets.dll" -Force
        $testTitles = Get-SsoInfo Title
        $Request.SetEffectivePolicyInfo('title', $Constants.EDS_EPI_UI_RESTRICTED, $true)
        $Request.SetEffectivePolicyInfo('title', $Constants.EDS_EPI_UI_POSSIBLE_VALUES, [string[]]$testTitles)



Any thoughts or suggestions would be appreciated. Thanks!

Parents Reply Children
No Data