Hi,
Are you invoking a form that has validation for the password field?
This is probably what is causing the error.
Maybe create and empty form and checkout the view
with this emty form:
<Argument name='Form' value='My Empty Form'/>
With regards to not storing the password in Lighthouse,
Do this:
<set name='userView.password.selectAll'>
<s>false</s>
</set>
Then loop over the resources you want to set the password on ($targets):
<set>
<expand>
<s>userView.password.accounts[$(target)].selected</s>
</expand>
<s>true</s>
</set>
John I
Johni,
The form bit is a possiblity. It is pulling the user form using our customized Tabbed User Form. As for the rest.. I'm doing two things, one is trying to set the NoSyncWavesetPassword option on the view checkout, it looks like this:
<Action id='0' name='Checkout View' application='com.waveset.session.WorkflowServices'>
<ReportTitle>
<s>Checkout View</s>
</ReportTitle>
<Argument name='op' value='checkoutView'/>
<Argument name='type' value='User'/>
<Argument name='id'>
<ref>theUser.waveset.accountId</ref>
</Argument>
<Argument name='options'>
<Map>
<MapEntry key='NoSyncWavesetPassword' value='true'/>
</Map>
</Argument>
<Return from='WF_RESULT_ERROR' to='toggleError'/>
<Return from='view' to='theUser'/>
</Action>
The other, is that I am trying to clean up the password section of the view, like this:
<dolist name='name'>
<ref>theUser.password.accounts[*].name</ref>
<set>
<concat>
<s>theUser.password.accounts[</s>
<ref>name</ref>
<s>].selected</s>
</concat>
<s>false</s>
</set>
</dolist>
<set name='theUser.password.required'>
<s>false</s>
</set>
I've also tried nulling out the targets:
<set name='theUser.password.targets'>
<list/>
</set>
or nulling out the whole theUser.password object. No luck with any of it.
I'll look into the form, thanks for you taking the time to look at this.
Jim
Why don't you try unchecking the required checkbox for the password attribute?
Going by what you said it dawns upon me that you don't want to set a password........so why keep it as a required field........I suppose this is the reason you are getting the error message you had specified.
Pls let us know if this worked for you.
regards,
Zebra7