Fixing the SailPoint WorkItem pages so that it displays type, owner, requester and allows searches.
<entry key="debugWorkItemArchiveSearchProperties" value="id,name,type,description,owner.name,requester.name"/>
<entry key="debugWorkItemArchiveGridColumns">
<value>
<List>
<ColumnConfig dataIndex="id" groupProperty="id" headerKey="Id" property="id" sortProperty="id" sortable="true" stateId="id" width="250"/>
<ColumnConfig dataIndex="name" groupProperty="name" headerKey="Name" property="name" sortProperty="name" sortable="true" stateId="name" width="150"/>
<ColumnConfig dataIndex="type" groupProperty="type" headerKey="Type" property="type" sortProperty="type" sortable="true" stateId="type" width="150"/>
<ColumnConfig dataIndex="description" groupProperty="description" headerKey="Description" property="description" sortProperty="description" sortable="true" stateId="description" width="400"/>
<ColumnConfig dataIndex="created" dateStyle="short" groupProperty="created" headerKey="Created" property="created" sortProperty="created" sortable="true" stateId="created" width="150"/>
<ColumnConfig dataIndex="modified" dateStyle="short" groupProperty="modified" headerKey="Modified" property="modified" sortProperty="modified" sortable="true" stateId="modified" width="150"/>
<ColumnConfig dataIndex="owner" groupProperty="owner.name" headerKey="Owner" property="owner.name" sortProperty="owner.name" sortable="true" stateId="owner" width="150"/>
<ColumnConfig dataIndex="requester" groupProperty="requester.name" headerKey="Requester" property="requester.name" sortProperty="requester.name" sortable="true" stateId="requester" width="150"/>
</List>
</value>
</entry>
<entry key="debugWorkItemSearchProperties" value="id,name,type,description,owner.name,requester.name"/>
<entry key="debugWorkItemGridColumns">
<value>
<List>
<ColumnConfig dataIndex="id" groupProperty="id" headerKey="Id" property="id" sortProperty="id" sortable="true" stateId="id" width="250"/>
<ColumnConfig dataIndex="name" groupProperty="name" headerKey="Name" property="name" sortProperty="name" sortable="true" stateId="name" width="250"/>
<ColumnConfig dataIndex="type" groupProperty="type" headerKey="Type" property="type" sortProperty="type" sortable="true" stateId="type" width="150"/>
<ColumnConfig dataIndex="description" groupProperty="description" headerKey="Description" property="description" sortProperty="description" sortable="true" stateId="description" width="400"/>
<ColumnConfig dataIndex="created" dateStyle="short" groupProperty="created" headerKey="Created" property="created" sortProperty="created" sortable="true" stateId="created" width="150"/>
<ColumnConfig dataIndex="modified" dateStyle="short" groupProperty="modified" headerKey="Modified" property="modified" sortProperty="modified" sortable="true" stateId="modified" width="150"/>
<ColumnConfig dataIndex="owner" groupProperty="owner.name" headerKey="Owner" property="owner.name" sortProperty="owner.name" sortable="true" stateId="owner" width="150"/>
<ColumnConfig dataIndex="requester" groupProperty="requester.name" headerKey="Requester" property="requester.name" sortProperty="requester.name" sortable="true" stateId="requester" width="150"/>
</List>
</value>
</entry>
Thanks for viewing my blog on Identity Management and Engineering (mostly IDM). Please follow and check out the advertisers.
Search This Blog
Friday, October 25, 2019
Wednesday, October 16, 2019
Finding all children of a Role
When you search on a Role and need all of its children, you can't just call getInheritance() method on the role. That method returns its parents, either an Organizational role or another Business role.
To get the children there is a method getHierarchy(Resolver r) but not much info on how this works. Starting with null in the method call, this generates an error. The resolver is context itself.
String testRole="TestOrg";
Bundle btest=context.getObjectByName(Bundle.class,testRole);
List children=btest.getHierarchy(context);
You will have to pick through the list to see if it's a self reference, and also have to determine what depth you want to read.
To get the children there is a method getHierarchy(Resolver r) but not much info on how this works. Starting with null in the method call, this generates an error. The resolver is context itself.
String testRole="TestOrg";
Bundle btest=context.getObjectByName(Bundle.class,testRole);
List children=btest.getHierarchy(context);
You will have to pick through the list to see if it's a self reference, and also have to determine what depth you want to read.
Subscribe to:
Posts (Atom)