<div dir="ltr"><div>I already have something like this working, but now need to use a 2nd Attribute definition to execute a CDATA script for a custom attribute. On startup I get the following:</div><div><br></div>Plugin 'foo' has a Data Connector dependency on plugin 'bar' which doesn't exist<br><div><br></div><div>I don't get it because there are no issues with the first script I already have. In fact I tried to copy/paste what I already have using different id but still no luck. This is my 2nd CDATA script in attribute-resolution.xml:</div><div><br></div><div><AttributeDefinition id="foo" xsi:type="Simple"><br>        <InputDataConnector ref="bar" attributeNames="foo"/><br>        <AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:foo" /><br>        <AttributeEncoder xsi:type="SAML2String" name="username" friendlyName="foo" /><br>    </AttributeDefinition><br></div><div><br></div><div> <AttributeDefinition id="bar" xsi:type="ScriptedAttribute" dependencyOnly="true"><br>         <InputDataConnector ref="myLDAP" attributeNames="uid cn"/><br>         <Script><![CDATA[<br>                bar.getValues().clear(); <br>                if(typeof uid != "undefined" && uid !=null)<br>                {<br>                    bar.addValue(uid.getValues().get(0));<br>                }<br>                else<br>                {<br>                    bar.addValue(cn.getValues().get(0));<br>                }<br>        ]]></Script><br>        </AttributeDefinition><br></div><div><br></div><div>my first script is exactly the same except using far/car instead of foo/bar and it works fine.</div><div><br></div><div>-psv</div></div>