<div dir="ltr"><div><div>Hi,<br><br></div><div>I have a "Role Template" (taken from Midpoint Wiki), as follows:<br></div><div><br><objectTemplate xmlns="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>"<br>                xmlns:q="<a href="http://prism.evolveum.com/xml/ns/public/query-3">http://prism.evolveum.com/xml/ns/public/query-3</a>"<br>                xmlns:c="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>"<br>                xmlns:t="<a href="http://prism.evolveum.com/xml/ns/public/types-3">http://prism.evolveum.com/xml/ns/public/types-3</a>"<br>                xmlns:icfs="<a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3</a>"<br>                xmlns:ri="<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>"<br>                oid="10000000-0000-0000-0000-000000000241"<br>                version="0"><br>   <name>Role Template</name><br>   <metadata><br>      <createTimestamp>2016-10-29T09:30:35.745-02:00</createTimestamp><br>      <creatorRef oid="00000000-0000-0000-0000-000000000002" type="c:UserType"><!-- administrator --></creatorRef><br>      <createChannel><a href="http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport">http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport</a></createChannel><br>   </metadata><br>   <item><br>      <c:ref>roleType</c:ref><br>      <valueEnumerationRef oid="d5fa5e92-e450-11e4-b281-001e8c717e5b"/><br>   </item><br>   <mapping><br>      <name>Responsibility metarole assignment</name><br>      <authoritative>true</authoritative><br>      <strength>strong</strength><br>      <source><br>         <c:path xmlns:ext="<a href="http://midpoint.evolveum.com/xml/ns/story/orgsync/ext">http://midpoint.evolveum.com/xml/ns/story/orgsync/ext</a>">extension/ext:responsibility</c:path><br>      </source><br>      <expression><br>         <assignmentTargetSearch><br>            <targetType>c:RoleType</targetType><br>            <oid>10000000-0000-0000-0000-000000006602</oid><br>         </assignmentTargetSearch><br>      </expression><br>      <target><br>         <c:path>assignment</c:path><br>      </target><br>      <condition><br>         <script><br>            <code>responsibility as Boolean</code><br>         </script><br>      </condition><br>   </mapping><br></objectTemplate><br><br><br></div><div>2. I have a lookup table to list the possibilities for the "role type" attribute:<br></div><div><br><br><lookupTable xmlns="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>"<br>             xmlns:q="<a href="http://prism.evolveum.com/xml/ns/public/query-3">http://prism.evolveum.com/xml/ns/public/query-3</a>"<br>             xmlns:c="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>"<br>             xmlns:t="<a href="http://prism.evolveum.com/xml/ns/public/types-3">http://prism.evolveum.com/xml/ns/public/types-3</a>"<br>             xmlns:icfs="<a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3</a>"<br>             xmlns:ri="<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>"<br>             oid="d5fa5e92-e450-11e4-b281-001e8c717e5b"<br>             version="0"><br>   <name>Role Types</name><br>   <metadata><br>      <createTimestamp>2016-10-29T09:36:04.102-02:00</createTimestamp><br>      <creatorRef oid="00000000-0000-0000-0000-000000000002" type="c:UserType"><!-- administrator --></creatorRef><br>      <createChannel><a href="http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport">http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport</a></createChannel><br>   </metadata><br>   <row id="2"><br>      <key>application</key><br>      <label>Application</label><br>      <lastChangeTimestamp>2016-10-29T09:36:04.138-02:00</lastChangeTimestamp><br>   </row><br>   <row id="4"><br>      <key>business</key><br>      <label>Business</label><br>      <lastChangeTimestamp>2016-10-29T09:36:04.138-02:00</lastChangeTimestamp><br>   </row><br>   <row id="3"><br>      <key>it</key><br>      <label>IT</label><br>      <lastChangeTimestamp>2016-10-29T09:36:04.138-02:00</lastChangeTimestamp><br>   </row><br>   <row id="1"><br>      <key>system</key><br>      <label>System</label><br>      <lastChangeTimestamp>2016-10-29T09:36:04.138-02:00</lastChangeTimestamp><br>   </row><br></lookupTable><br><br><br></div><div>3. However, when I try do add a new role, I cannot see the lookup table options while filling the "role type" attribute. What is missing?<br><br><br></div><div>Carlos Antonio Ferreira<br></div>Tribunal Regional do Trabalho da 3ª Região<br></div>MG Brasil<br></div>