Multiple values not synchronized when setting the dest value

Hi,

Based on the availability of MailActive attribute in Corporate 
Distribution Directory(CDD), I'm setting OtherRfc822Mailboxes attribute in 
phoenix directory. But the problem is OtherRfc822Mailboxes attribute is a 
multivalued attribute and it is having 2 values in CDD. but if use do-set-
dest-attr-value it sets only 1 value in phoenix. Even I tried for-each 
loop as well. I didn't get any breakthrough.

Would you please help me to resolve this problem?

Vijay
0
msj_vijay
3/11/2006 11:12:55 AM
novell.id-manager.drivers 10360 articles. 2 followers. Follow

5 Replies
456 Views

Similar Articles

[PageSpeed] 49
Get it on Google Play
Get it on Apple App Store

do-set-dest-attr-value removes all existing values, so if you want to 
end up with more than one value you need to use do-add-dest-attr-value. 
Something like:

do-clear-dest-attr-value
do-for-each
     do-add-attr-value

--

Father Ramon


msj_vijay@yahoo.com wrote:
> Hi,
> 
> Based on the availability of MailActive attribute in Corporate 
> Distribution Directory(CDD), I'm setting OtherRfc822Mailboxes attribute in 
> phoenix directory. But the problem is OtherRfc822Mailboxes attribute is a 
> multivalued attribute and it is having 2 values in CDD. but if use do-set-
> dest-attr-value it sets only 1 value in phoenix. Even I tried for-each 
> loop as well. I didn't get any breakthrough.
> 
> Would you please help me to resolve this problem?
> 
> Vijay
0
Father
3/11/2006 1:30:57 PM
Father Ramon,

I tried what you told. But still the first value only be populating. It 
seems the xpath expression what I'm using is not appropriate. I'he 
attached trace which attaches only the first value.

##################Start of Trace#########################
*nds dtdversion="2.0" ndsversion="8.x"*
  *source*
    *product version="2.0.0.28"*DirXML*/product*
    *contact*Novell, Inc.*/contact*
  */source*
  *output*
    *instance class-name="User" qualified-src-
dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
CCC\\Plc\People\701548192" src-entry-id="44176"*
      *association state="associated"*{843BEDB8-5EDA-5d45-9374-
9687E43A8577}*/association*
      *attr attr-name="OtherRfc822Mailboxes"*
        *value timestamp="1161705220#62257" type="string"*test*/value*
        *value timestamp="1161705220#62375" type="string"*best*/value*
      */attr*
    */instance*
    *status level="success"**/status*
  */output*
*/nds*
Drvrs   : 1CDD to PHOENIX Driver ST:       (if-attr 'OtherRfc822Mailboxes' 
available) = TRUE.
Drvrs   : 1CDD to PHOENIX Driver ST:     Rule selected.
Drvrs   : 1CDD to PHOENIX Driver ST:     Applying rule 'Populate 
OtherRfc822Mailboxes in Phoenix if MailActive is available'.
Drvrs   : 1CDD to PHOENIX Driver ST:       Action: do-for-each(arg-node-set
("value"),arg-actions(do-add-dest-attr-value("OtherRfc822Mailboxes",token-
src-attr("OtherRfc822Mailboxes")))).
Drvrs   : 1CDD to PHOENIX Driver ST:         arg-node-set("value")
Drvrs   : 1CDD to PHOENIX Driver ST:           token-text("value")
Drvrs   : 1CDD to PHOENIX Driver ST:           Token Value: "value".
Drvrs   : 1CDD to PHOENIX Driver ST:           Arg Value: {"value"}.
Drvrs   : 1CDD to PHOENIX Driver ST:         arg-actions(do-add-dest-attr-
value("OtherRfc822Mailboxes",token-src-attr("OtherRfc822Mailboxes")))
Drvrs   : 1CDD to PHOENIX Driver ST:         Performing actions for local-
variable(current-node) = "value".
Drvrs   : 1CDD to PHOENIX Driver ST:           Action: do-add-dest-attr-
value("OtherRfc822Mailboxes",token-src-attr("OtherRfc822Mailboxes")).
Drvrs   : 1CDD to PHOENIX Driver ST:             arg-string(token-src-attr
("OtherRfc822Mailboxes"))
Drvrs   : 1CDD to PHOENIX Driver ST:               token-src-attr
("OtherRfc822Mailboxes")
Drvrs   : 1CDD to PHOENIX Driver ST:                 Query from policy
Drvrs   : 1CDD to PHOENIX Driver ST:                 
*nds dtdversion="2.0" ndsversion="8.x"*
  *source*
    *product version="2.0.0.28"*DirXML*/product*
    *contact*Novell, Inc.*/contact*
  */source*
  *input*
    *query class-name="User" dest-dn="\SDD-CCC\\Plc\People\701548192" dest-
entry-id="44176" scope="entry"*
      *read-attr attr-name="OtherRfc822Mailboxes"/*
    */query*
  */input*
*/nds*
Drvrs   : 1CDD to PHOENIX Driver ST:                 Pumping XDS to 
eDirectory.
Drvrs   : 1CDD to PHOENIX Driver ST:                 Performing operation 
query for \SDD-CCC\\Plc\People\701548192.
Drvrs   : 1CDD to PHOENIX Driver ST:                 Query from policy 
result
Drvrs   : 1CDD to PHOENIX Driver ST:                 
*nds dtdversion="2.0" ndsversion="8.x"*
  *source*
    *product version="2.0.0.28"*DirXML*/product*
    *contact*Novell, Inc.*/contact*
  */source*
  *output*
    *instance class-name="User" qualified-src-
dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
CCC\\Plc\People\701548192" src-entry-id="44176"*
      *association state="associated"*{843BEDB8-5EDA-5d45-9374-
9687E43A8577}*/association*
      *attr attr-name="OtherRfc822Mailboxes"*
        *value timestamp="1161705220#62257" type="string"*test*/value*
        *value timestamp="1161705220#62375" type="string"*best*/value*
      */attr*
    */instance*
    *status level="success"**/status*
  */output*
*/nds*
Drvrs   : 1CDD to PHOENIX Driver ST:                 Token Value: "test".
Drvrs   : 1CDD to PHOENIX Driver ST:               Arg Value: "test".
Drvrs   : 1CDD to PHOENIX Driver ST: Policy returned:
Drvrs   : 1CDD to PHOENIX Driver ST: 
*nds dtdversion="2.0" ndsversion="8.x"*
  *source*
    *product version="2.0.0.28"*DirXML*/product*
    *contact*Novell, Inc.*/contact*
  */source*
  *input*
    *modify class-name="User" event-id="DSCP04424-
NDS#20061024155340#1#62408" qualified-src-
dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
CCC\\Plc\People\701548192" src-entry-id="44176" 
timestamp="1161705220#62408"*
      *association state="associated"*{843BEDB8-5EDA-5d45-9374-
9687E43A8577}*/association*
      *modify-attr attr-name="MailActive"*
        *add-value*
          *value timestamp="1161705220#62408" type="string"*bmail*/value*
        */add-value*
      */modify-attr*
      *modify-attr attr-name="SecretaryEIN"*
        *remove-all-values/*
      */modify-attr*
      *modify-attr attr-name="OtherRfc822Mailboxes"*
        *add-value*
          *value type="string"*test*/value*
        */add-value*
      */modify-attr*
    */modify*
  */input*
##################End of Trace#########################

Token value seeting is done only for the first value and the rest of them 
are ignored.

Kindly give your comment.

Vijay.

> do-set-dest-attr-value removes all existing values, so if you want to 
> end up with more than one value you need to use do-add-dest-attr-value. 
> Something like:
> 
> do-clear-dest-attr-value
> do-for-each
>      do-add-attr-value
> 
> --
> 
> Father Ramon
> 
> 
> msj_vijay@yahoo.com wrote:
> > Hi,
> > 
> > Based on the availability of MailActive attribute in Corporate 
> > Distribution Directory(CDD), I'm setting OtherRfc822Mailboxes 
attribute in 
> > phoenix directory. But the problem is OtherRfc822Mailboxes attribute 
is a 
> > multivalued attribute and it is having 2 values in CDD. but if use do-
set-
> > dest-attr-value it sets only 1 value in phoenix. Even I tried for-each 
> > loop as well. I didn't get any breakthrough.
> > 
> > Would you please help me to resolve this problem?
> > 
> > Vijay

0
msj_vijay
3/13/2006 7:59:09 AM
*do-clear-dest-attr-value name="OtherRfc822Mailboxes"/*
*do-for-each*
  *arg-node-set*
   *token-attr name="OtherRfc822Mailboxes"/*
  */arg-node-set*
  *arg-actions*
   *do-set-dest-attr-value name="OtherRfc822Mailboxes"*
    *arg-value*
     *token-local-variable name="current-node"/*
    */arg-value*
   */do-set-dest-attr-value*
  */arg-actions*
*/do-for-each*

--

Father Ramon


msj_vijay@yahoo.com wrote:
> Father Ramon,
> 
> I tried what you told. But still the first value only be populating. It 
> seems the xpath expression what I'm using is not appropriate. I'he 
> attached trace which attaches only the first value.
> 
> ##################Start of Trace#########################
> *nds dtdversion="2.0" ndsversion="8.x"*
>   *source*
>     *product version="2.0.0.28"*DirXML*/product*
>     *contact*Novell, Inc.*/contact*
>   */source*
>   *output*
>     *instance class-name="User" qualified-src-
> dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
> CCC\\Plc\People\701548192" src-entry-id="44176"*
>       *association state="associated"*{843BEDB8-5EDA-5d45-9374-
> 9687E43A8577}*/association*
>       *attr attr-name="OtherRfc822Mailboxes"*
>         *value timestamp="1161705220#62257" type="string"*test*/value*
>         *value timestamp="1161705220#62375" type="string"*best*/value*
>       */attr*
>     */instance*
>     *status level="success"**/status*
>   */output*
> */nds*
> Drvrs   : 1CDD to PHOENIX Driver ST:       (if-attr 'OtherRfc822Mailboxes' 
> available) = TRUE.
> Drvrs   : 1CDD to PHOENIX Driver ST:     Rule selected.
> Drvrs   : 1CDD to PHOENIX Driver ST:     Applying rule 'Populate 
> OtherRfc822Mailboxes in Phoenix if MailActive is available'.
> Drvrs   : 1CDD to PHOENIX Driver ST:       Action: do-for-each(arg-node-set
> ("value"),arg-actions(do-add-dest-attr-value("OtherRfc822Mailboxes",token-
> src-attr("OtherRfc822Mailboxes")))).
> Drvrs   : 1CDD to PHOENIX Driver ST:         arg-node-set("value")
> Drvrs   : 1CDD to PHOENIX Driver ST:           token-text("value")
> Drvrs   : 1CDD to PHOENIX Driver ST:           Token Value: "value".
> Drvrs   : 1CDD to PHOENIX Driver ST:           Arg Value: {"value"}.
> Drvrs   : 1CDD to PHOENIX Driver ST:         arg-actions(do-add-dest-attr-
> value("OtherRfc822Mailboxes",token-src-attr("OtherRfc822Mailboxes")))
> Drvrs   : 1CDD to PHOENIX Driver ST:         Performing actions for local-
> variable(current-node) = "value".
> Drvrs   : 1CDD to PHOENIX Driver ST:           Action: do-add-dest-attr-
> value("OtherRfc822Mailboxes",token-src-attr("OtherRfc822Mailboxes")).
> Drvrs   : 1CDD to PHOENIX Driver ST:             arg-string(token-src-attr
> ("OtherRfc822Mailboxes"))
> Drvrs   : 1CDD to PHOENIX Driver ST:               token-src-attr
> ("OtherRfc822Mailboxes")
> Drvrs   : 1CDD to PHOENIX Driver ST:                 Query from policy
> Drvrs   : 1CDD to PHOENIX Driver ST:                 
> *nds dtdversion="2.0" ndsversion="8.x"*
>   *source*
>     *product version="2.0.0.28"*DirXML*/product*
>     *contact*Novell, Inc.*/contact*
>   */source*
>   *input*
>     *query class-name="User" dest-dn="\SDD-CCC\\Plc\People\701548192" dest-
> entry-id="44176" scope="entry"*
>       *read-attr attr-name="OtherRfc822Mailboxes"/*
>     */query*
>   */input*
> */nds*
> Drvrs   : 1CDD to PHOENIX Driver ST:                 Pumping XDS to 
> eDirectory.
> Drvrs   : 1CDD to PHOENIX Driver ST:                 Performing operation 
> query for \SDD-CCC\\Plc\People\701548192.
> Drvrs   : 1CDD to PHOENIX Driver ST:                 Query from policy 
> result
> Drvrs   : 1CDD to PHOENIX Driver ST:                 
> *nds dtdversion="2.0" ndsversion="8.x"*
>   *source*
>     *product version="2.0.0.28"*DirXML*/product*
>     *contact*Novell, Inc.*/contact*
>   */source*
>   *output*
>     *instance class-name="User" qualified-src-
> dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
> CCC\\Plc\People\701548192" src-entry-id="44176"*
>       *association state="associated"*{843BEDB8-5EDA-5d45-9374-
> 9687E43A8577}*/association*
>       *attr attr-name="OtherRfc822Mailboxes"*
>         *value timestamp="1161705220#62257" type="string"*test*/value*
>         *value timestamp="1161705220#62375" type="string"*best*/value*
>       */attr*
>     */instance*
>     *status level="success"**/status*
>   */output*
> */nds*
> Drvrs   : 1CDD to PHOENIX Driver ST:                 Token Value: "test".
> Drvrs   : 1CDD to PHOENIX Driver ST:               Arg Value: "test".
> Drvrs   : 1CDD to PHOENIX Driver ST: Policy returned:
> Drvrs   : 1CDD to PHOENIX Driver ST: 
> *nds dtdversion="2.0" ndsversion="8.x"*
>   *source*
>     *product version="2.0.0.28"*DirXML*/product*
>     *contact*Novell, Inc.*/contact*
>   */source*
>   *input*
>     *modify class-name="User" event-id="DSCP04424-
> NDS#20061024155340#1#62408" qualified-src-
> dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
> CCC\\Plc\People\701548192" src-entry-id="44176" 
> timestamp="1161705220#62408"*
>       *association state="associated"*{843BEDB8-5EDA-5d45-9374-
> 9687E43A8577}*/association*
>       *modify-attr attr-name="MailActive"*
>         *add-value*
>           *value timestamp="1161705220#62408" type="string"*bmail*/value*
>         */add-value*
>       */modify-attr*
>       *modify-attr attr-name="SecretaryEIN"*
>         *remove-all-values/*
>       */modify-attr*
>       *modify-attr attr-name="OtherRfc822Mailboxes"*
>         *add-value*
>           *value type="string"*test*/value*
>         */add-value*
>       */modify-attr*
>     */modify*
>   */input*
> ##################End of Trace#########################
> 
> Token value seeting is done only for the first value and the rest of them 
> are ignored.
> 
> Kindly give your comment.
> 
> Vijay.
> 
> 
>>do-set-dest-attr-value removes all existing values, so if you want to 
>>end up with more than one value you need to use do-add-dest-attr-value. 
>>Something like:
>>
>>do-clear-dest-attr-value
>>do-for-each
>>     do-add-attr-value
>>
>>--
>>
>>Father Ramon
>>
>>
>>msj_vijay@yahoo.com wrote:
>>
>>>Hi,
>>>
>>>Based on the availability of MailActive attribute in Corporate 
>>>Distribution Directory(CDD), I'm setting OtherRfc822Mailboxes 
> 
> attribute in 
> 
>>>phoenix directory. But the problem is OtherRfc822Mailboxes attribute 
> 
> is a 
> 
>>>multivalued attribute and it is having 2 values in CDD. but if use do-
> 
> set-
> 
>>>dest-attr-value it sets only 1 value in phoenix. Even I tried for-each 
>>>loop as well. I didn't get any breakthrough.
>>>
>>>Would you please help me to resolve this problem?
>>>
>>>Vijay
> 
> 
0
Father
3/13/2006 2:52:25 PM
I tried the same what you recommanded but the problem still persist.

Vijay.
> *do-clear-dest-attr-value name="OtherRfc822Mailboxes"/*
> *do-for-each*
>   *arg-node-set*
>    *token-attr name="OtherRfc822Mailboxes"/*
>   */arg-node-set*
>   *arg-actions*
>    *do-set-dest-attr-value name="OtherRfc822Mailboxes"*
>     *arg-value*
>      *token-local-variable name="current-node"/*
>     */arg-value*
>    */do-set-dest-attr-value*
>   */arg-actions*
> */do-for-each*
> 
> --
> 
> Father Ramon
> 
> 
> msj_vijay@yahoo.com wrote:
> > Father Ramon,
> > 
> > I tried what you told. But still the first value only be populating. 
It 
> > seems the xpath expression what I'm using is not appropriate. I'he 
> > attached trace which attaches only the first value.
> > 
> > ##################Start of Trace#########################
> > *nds dtdversion="2.0" ndsversion="8.x"*
> >   *source*
> >     *product version="2.0.0.28"*DirXML*/product*
> >     *contact*Novell, Inc.*/contact*
> >   */source*
> >   *output*
> >     *instance class-name="User" qualified-src-
> > dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
> > CCC\\Plc\People\701548192" src-entry-id="44176"*
> >       *association state="associated"*{843BEDB8-5EDA-5d45-9374-
> > 9687E43A8577}*/association*
> >       *attr attr-name="OtherRfc822Mailboxes"*
> >         *value timestamp="1161705220#62257" type="string"*test*/value*
> >         *value timestamp="1161705220#62375" type="string"*best*/value*
> >       */attr*
> >     */instance*
> >     *status level="success"**/status*
> >   */output*
> > */nds*
> > Drvrs   : 1CDD to PHOENIX Driver ST:       (if-
attr 'OtherRfc822Mailboxes' 
> > available) = TRUE.
> > Drvrs   : 1CDD to PHOENIX Driver ST:     Rule selected.
> > Drvrs   : 1CDD to PHOENIX Driver ST:     Applying rule 'Populate 
> > OtherRfc822Mailboxes in Phoenix if MailActive is available'.
> > Drvrs   : 1CDD to PHOENIX Driver ST:       Action: do-for-each(arg-
node-set
> > ("value"),arg-actions(do-add-dest-attr-value
("OtherRfc822Mailboxes",token-
> > src-attr("OtherRfc822Mailboxes")))).
> > Drvrs   : 1CDD to PHOENIX Driver ST:         arg-node-set("value")
> > Drvrs   : 1CDD to PHOENIX Driver ST:           token-text("value")
> > Drvrs   : 1CDD to PHOENIX Driver ST:           Token Value: "value".
> > Drvrs   : 1CDD to PHOENIX Driver ST:           Arg Value: {"value"}.
> > Drvrs   : 1CDD to PHOENIX Driver ST:         arg-actions(do-add-dest-
attr-
> > value("OtherRfc822Mailboxes",token-src-attr("OtherRfc822Mailboxes")))
> > Drvrs   : 1CDD to PHOENIX Driver ST:         Performing actions for 
local-
> > variable(current-node) = "value".
> > Drvrs   : 1CDD to PHOENIX Driver ST:           Action: do-add-dest-
attr-
> > value("OtherRfc822Mailboxes",token-src-attr("OtherRfc822Mailboxes")).
> > Drvrs   : 1CDD to PHOENIX Driver ST:             arg-string(token-src-
attr
> > ("OtherRfc822Mailboxes"))
> > Drvrs   : 1CDD to PHOENIX Driver ST:               token-src-attr
> > ("OtherRfc822Mailboxes")
> > Drvrs   : 1CDD to PHOENIX Driver ST:                 Query from policy
> > Drvrs   : 1CDD to PHOENIX Driver ST:                 
> > *nds dtdversion="2.0" ndsversion="8.x"*
> >   *source*
> >     *product version="2.0.0.28"*DirXML*/product*
> >     *contact*Novell, Inc.*/contact*
> >   */source*
> >   *input*
> >     *query class-name="User" dest-dn="\SDD-CCC\\Plc\People\701548192" 
dest-
> > entry-id="44176" scope="entry"*
> >       *read-attr attr-name="OtherRfc822Mailboxes"/*
> >     */query*
> >   */input*
> > */nds*
> > Drvrs   : 1CDD to PHOENIX Driver ST:                 Pumping XDS to 
> > eDirectory.
> > Drvrs   : 1CDD to PHOENIX Driver ST:                 Performing 
operation 
> > query for \SDD-CCC\\Plc\People\701548192.
> > Drvrs   : 1CDD to PHOENIX Driver ST:                 Query from policy 
> > result
> > Drvrs   : 1CDD to PHOENIX Driver ST:                 
> > *nds dtdversion="2.0" ndsversion="8.x"*
> >   *source*
> >     *product version="2.0.0.28"*DirXML*/product*
> >     *contact*Novell, Inc.*/contact*
> >   */source*
> >   *output*
> >     *instance class-name="User" qualified-src-
> > dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
> > CCC\\Plc\People\701548192" src-entry-id="44176"*
> >       *association state="associated"*{843BEDB8-5EDA-5d45-9374-
> > 9687E43A8577}*/association*
> >       *attr attr-name="OtherRfc822Mailboxes"*
> >         *value timestamp="1161705220#62257" type="string"*test*/value*
> >         *value timestamp="1161705220#62375" type="string"*best*/value*
> >       */attr*
> >     */instance*
> >     *status level="success"**/status*
> >   */output*
> > */nds*
> > Drvrs   : 1CDD to PHOENIX Driver ST:                 Token 
Value: "test".
> > Drvrs   : 1CDD to PHOENIX Driver ST:               Arg Value: "test".
> > Drvrs   : 1CDD to PHOENIX Driver ST: Policy returned:
> > Drvrs   : 1CDD to PHOENIX Driver ST: 
> > *nds dtdversion="2.0" ndsversion="8.x"*
> >   *source*
> >     *product version="2.0.0.28"*DirXML*/product*
> >     *contact*Novell, Inc.*/contact*
> >   */source*
> >   *input*
> >     *modify class-name="User" event-id="DSCP04424-
> > NDS#20061024155340#1#62408" qualified-src-
> > dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
> > CCC\\Plc\People\701548192" src-entry-id="44176" 
> > timestamp="1161705220#62408"*
> >       *association state="associated"*{843BEDB8-5EDA-5d45-9374-
> > 9687E43A8577}*/association*
> >       *modify-attr attr-name="MailActive"*
> >         *add-value*
> >           *value timestamp="1161705220#62408" 
type="string"*bmail*/value*
> >         */add-value*
> >       */modify-attr*
> >       *modify-attr attr-name="SecretaryEIN"*
> >         *remove-all-values/*
> >       */modify-attr*
> >       *modify-attr attr-name="OtherRfc822Mailboxes"*
> >         *add-value*
> >           *value type="string"*test*/value*
> >         */add-value*
> >       */modify-attr*
> >     */modify*
> >   */input*
> > ##################End of Trace#########################
> > 
> > Token value seeting is done only for the first value and the rest of 
them 
> > are ignored.
> > 
> > Kindly give your comment.
> > 
> > Vijay.
> > 
> > 
> >>do-set-dest-attr-value removes all existing values, so if you want to 
> >>end up with more than one value you need to use do-add-dest-attr-
value. 
> >>Something like:
> >>
> >>do-clear-dest-attr-value
> >>do-for-each
> >>     do-add-attr-value
> >>
> >>--
> >>
> >>Father Ramon
> >>
> >>
> >>msj_vijay@yahoo.com wrote:
> >>
> >>>Hi,
> >>>
> >>>Based on the availability of MailActive attribute in Corporate 
> >>>Distribution Directory(CDD), I'm setting OtherRfc822Mailboxes 
> > 
> > attribute in 
> > 
> >>>phoenix directory. But the problem is OtherRfc822Mailboxes attribute 
> > 
> > is a 
> > 
> >>>multivalued attribute and it is having 2 values in CDD. but if use do-
> > 
> > set-
> > 
> >>>dest-attr-value it sets only 1 value in phoenix. Even I tried for-
each 
> >>>loop as well. I didn't get any breakthrough.
> >>>
> >>>Would you please help me to resolve this problem?
> >>>
> >>>Vijay
> > 
> > 

0
msj_vijay
3/21/2006 9:30:25 AM
Level 3 trace?
--

Father Ramon


msj_vijay@yahoo.com wrote:
> I tried the same what you recommanded but the problem still persist.
> 
> Vijay.
>> *do-clear-dest-attr-value name="OtherRfc822Mailboxes"/*
>> *do-for-each*
>>   *arg-node-set*
>>    *token-attr name="OtherRfc822Mailboxes"/*
>>   */arg-node-set*
>>   *arg-actions*
>>    *do-set-dest-attr-value name="OtherRfc822Mailboxes"*
>>     *arg-value*
>>      *token-local-variable name="current-node"/*
>>     */arg-value*
>>    */do-set-dest-attr-value*
>>   */arg-actions*
>> */do-for-each*
>>
>> --
>>
>> Father Ramon
>>
>>
>> msj_vijay@yahoo.com wrote:
>>> Father Ramon,
>>>
>>> I tried what you told. But still the first value only be populating. 
> It 
>>> seems the xpath expression what I'm using is not appropriate. I'he 
>>> attached trace which attaches only the first value.
>>>
>>> ##################Start of Trace#########################
>>> *nds dtdversion="2.0" ndsversion="8.x"*
>>>   *source*
>>>     *product version="2.0.0.28"*DirXML*/product*
>>>     *contact*Novell, Inc.*/contact*
>>>   */source*
>>>   *output*
>>>     *instance class-name="User" qualified-src-
>>> dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
>>> CCC\\Plc\People\701548192" src-entry-id="44176"*
>>>       *association state="associated"*{843BEDB8-5EDA-5d45-9374-
>>> 9687E43A8577}*/association*
>>>       *attr attr-name="OtherRfc822Mailboxes"*
>>>         *value timestamp="1161705220#62257" type="string"*test*/value*
>>>         *value timestamp="1161705220#62375" type="string"*best*/value*
>>>       */attr*
>>>     */instance*
>>>     *status level="success"**/status*
>>>   */output*
>>> */nds*
>>> Drvrs   : 1CDD to PHOENIX Driver ST:       (if-
> attr 'OtherRfc822Mailboxes' 
>>> available) = TRUE.
>>> Drvrs   : 1CDD to PHOENIX Driver ST:     Rule selected.
>>> Drvrs   : 1CDD to PHOENIX Driver ST:     Applying rule 'Populate 
>>> OtherRfc822Mailboxes in Phoenix if MailActive is available'.
>>> Drvrs   : 1CDD to PHOENIX Driver ST:       Action: do-for-each(arg-
> node-set
>>> ("value"),arg-actions(do-add-dest-attr-value
> ("OtherRfc822Mailboxes",token-
>>> src-attr("OtherRfc822Mailboxes")))).
>>> Drvrs   : 1CDD to PHOENIX Driver ST:         arg-node-set("value")
>>> Drvrs   : 1CDD to PHOENIX Driver ST:           token-text("value")
>>> Drvrs   : 1CDD to PHOENIX Driver ST:           Token Value: "value".
>>> Drvrs   : 1CDD to PHOENIX Driver ST:           Arg Value: {"value"}.
>>> Drvrs   : 1CDD to PHOENIX Driver ST:         arg-actions(do-add-dest-
> attr-
>>> value("OtherRfc822Mailboxes",token-src-attr("OtherRfc822Mailboxes")))
>>> Drvrs   : 1CDD to PHOENIX Driver ST:         Performing actions for 
> local-
>>> variable(current-node) = "value".
>>> Drvrs   : 1CDD to PHOENIX Driver ST:           Action: do-add-dest-
> attr-
>>> value("OtherRfc822Mailboxes",token-src-attr("OtherRfc822Mailboxes")).
>>> Drvrs   : 1CDD to PHOENIX Driver ST:             arg-string(token-src-
> attr
>>> ("OtherRfc822Mailboxes"))
>>> Drvrs   : 1CDD to PHOENIX Driver ST:               token-src-attr
>>> ("OtherRfc822Mailboxes")
>>> Drvrs   : 1CDD to PHOENIX Driver ST:                 Query from policy
>>> Drvrs   : 1CDD to PHOENIX Driver ST:                 
>>> *nds dtdversion="2.0" ndsversion="8.x"*
>>>   *source*
>>>     *product version="2.0.0.28"*DirXML*/product*
>>>     *contact*Novell, Inc.*/contact*
>>>   */source*
>>>   *input*
>>>     *query class-name="User" dest-dn="\SDD-CCC\\Plc\People\701548192" 
> dest-
>>> entry-id="44176" scope="entry"*
>>>       *read-attr attr-name="OtherRfc822Mailboxes"/*
>>>     */query*
>>>   */input*
>>> */nds*
>>> Drvrs   : 1CDD to PHOENIX Driver ST:                 Pumping XDS to 
>>> eDirectory.
>>> Drvrs   : 1CDD to PHOENIX Driver ST:                 Performing 
> operation 
>>> query for \SDD-CCC\\Plc\People\701548192.
>>> Drvrs   : 1CDD to PHOENIX Driver ST:                 Query from policy 
>>> result
>>> Drvrs   : 1CDD to PHOENIX Driver ST:                 
>>> *nds dtdversion="2.0" ndsversion="8.x"*
>>>   *source*
>>>     *product version="2.0.0.28"*DirXML*/product*
>>>     *contact*Novell, Inc.*/contact*
>>>   */source*
>>>   *output*
>>>     *instance class-name="User" qualified-src-
>>> dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
>>> CCC\\Plc\People\701548192" src-entry-id="44176"*
>>>       *association state="associated"*{843BEDB8-5EDA-5d45-9374-
>>> 9687E43A8577}*/association*
>>>       *attr attr-name="OtherRfc822Mailboxes"*
>>>         *value timestamp="1161705220#62257" type="string"*test*/value*
>>>         *value timestamp="1161705220#62375" type="string"*best*/value*
>>>       */attr*
>>>     */instance*
>>>     *status level="success"**/status*
>>>   */output*
>>> */nds*
>>> Drvrs   : 1CDD to PHOENIX Driver ST:                 Token 
> Value: "test".
>>> Drvrs   : 1CDD to PHOENIX Driver ST:               Arg Value: "test".
>>> Drvrs   : 1CDD to PHOENIX Driver ST: Policy returned:
>>> Drvrs   : 1CDD to PHOENIX Driver ST: 
>>> *nds dtdversion="2.0" ndsversion="8.x"*
>>>   *source*
>>>     *product version="2.0.0.28"*DirXML*/product*
>>>     *contact*Novell, Inc.*/contact*
>>>   */source*
>>>   *input*
>>>     *modify class-name="User" event-id="DSCP04424-
>>> NDS#20061024155340#1#62408" qualified-src-
>>> dn="O=\OU=Plc\OU=People\CN=701548192" src-dn="\SDD-
>>> CCC\\Plc\People\701548192" src-entry-id="44176" 
>>> timestamp="1161705220#62408"*
>>>       *association state="associated"*{843BEDB8-5EDA-5d45-9374-
>>> 9687E43A8577}*/association*
>>>       *modify-attr attr-name="MailActive"*
>>>         *add-value*
>>>           *value timestamp="1161705220#62408" 
> type="string"*bmail*/value*
>>>         */add-value*
>>>       */modify-attr*
>>>       *modify-attr attr-name="SecretaryEIN"*
>>>         *remove-all-values/*
>>>       */modify-attr*
>>>       *modify-attr attr-name="OtherRfc822Mailboxes"*
>>>         *add-value*
>>>           *value type="string"*test*/value*
>>>         */add-value*
>>>       */modify-attr*
>>>     */modify*
>>>   */input*
>>> ##################End of Trace#########################
>>>
>>> Token value seeting is done only for the first value and the rest of 
> them 
>>> are ignored.
>>>
>>> Kindly give your comment.
>>>
>>> Vijay.
>>>
>>>
>>>> do-set-dest-attr-value removes all existing values, so if you want to 
>>>> end up with more than one value you need to use do-add-dest-attr-
> value. 
>>>> Something like:
>>>>
>>>> do-clear-dest-attr-value
>>>> do-for-each
>>>>     do-add-attr-value
>>>>
>>>> --
>>>>
>>>> Father Ramon
>>>>
>>>>
>>>> msj_vijay@yahoo.com wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Based on the availability of MailActive attribute in Corporate 
>>>>> Distribution Directory(CDD), I'm setting OtherRfc822Mailboxes 
>>> attribute in 
>>>
>>>>> phoenix directory. But the problem is OtherRfc822Mailboxes attribute 
>>> is a 
>>>
>>>>> multivalued attribute and it is having 2 values in CDD. but if use do-
>>> set-
>>>
>>>>> dest-attr-value it sets only 1 value in phoenix. Even I tried for-
> each 
>>>>> loop as well. I didn't get any breakthrough.
>>>>>
>>>>> Would you please help me to resolve this problem?
>>>>>
>>>>> Vijay
>>>
> 
0
Father
3/21/2006 4:26:03 PM
Reply:

Similar Artilces:

Matching each value out of multiple values to single column value
 Hi,  @whoposted in stored procedure holds value "agent  builder owner"  ( please note the space in between) My column  POSTED_BY  always holds one and only one value out of above 3.Example:       POSTED_BY  owneragent          etc... If  All / any of the value hold by  @whoposted matches with value of POSTED_BY column, i want to show that row in gridview.( Also, please note, str may hold different values depending on user selection. For example, it may ...

If Not value or value then....
Hi all,I want to write a simple IF Not then statement in ASP.net 2.0 and I would like some help please.  If Not ntuser = "DOMAIN\ntuser" Or ntuser = "DOMAIN\ntuser2" Then Panel1.Visible = False End If Doesnt work, can you tell me where i'm going wrong please?many thanks.  The first place you're going wrong is in telling us it "doesn't work" without providing any details. JeffPlease: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue. Use Not as stated below. It ...

I thought do-set-dest-attr-value would leave ONE value
Trying to set the CN attribute to a different value. So I am using: <do-set-dest-attr-value class-name="Group" name="CN"> <arg-value> <token-local-variable name="newcn"/> </arg-value> </do-set-dest-attr-value> Yet I end up with the old value also. > <add class-name="Group" dest-dn="groupname30" event-id="id8ref1#20070410131803#1#1" qualified-src-dn="dc=com\dc=willeke\OU=groups\CN=groupname30x-xxxx" src-dn="\DMTTREE\com\willeke\groups\groupname30x-xxxx" src-entry-i...

Problem on setting to DropDownList Value="id" and Text="Name" by reading values from SQL...
Hi!Well, my problem is that i don't know how to set different values on a DropDownList. I have an DropDownList and an SqlDataSource. When the aspx page loads, i want the DropDownList to fill data from a table on my SQL Server. Especially, i want each row of the DropDownList to take the Value property from the "ID" cell of my SQL Table and to take the Text property from the "Name" cell of my same SQL Table.Now, with my solution, the DropDownList takes the value for its "Value" and "Text" properties only from my  "Name" cell of my same...

ICallbackEventHandler and passing multiple string values to server and receiving multiple values
Hello, I need some help with ICallbackEventHandler and was wondering if some experts can share their knowledge on this. Thanks in advance. I am retrieving results from a web service that returns xml nodes. In order to return XML nodes to client, I have converted xmlnodes into string (string concatenation and returned one string to the client). Is there a way to return may be xml or JSON or even a string array using ICallbackEventHandler. Here is my complete code. Imports net.ecubicle.www Imports System.Xml.LinqPartial Class driving_web_service Inherits System.Web.UI.PageImplements ICa...

Error "Multiple-step operation generated errors. Check each status value setting datetime field value" with TADOQuery and TDateTime (Delphi XE2)
Hello all, I've created an application which should do some automated tasks. When I run the application normally (as admin on a Window Server 2008 R2 x64 + MSSQL Server 2008 R2) everything works just fine. But whe I run the application a a 'sceduled taks' (with a different Windows User account), I get the following error when I modify a datetime field of a SQL query and I try to post the record Multiple-step operation generated errors. Check each status value setting datetime field value This is what I do (not exact query...): procedure Edit(aConn: T...

Setting a string value for a Null Value
 Hi All,Q1.    For Numbers I can set "0 "  for null values like thisif isnull({SP.NumericField}) then 0 else ({SP.NumericField})But when I set it for String value it is not working. if isnull({SP.StringField}) then "00:00" else ({SP.StringField}) How can I do this? Q2. After configured the dataset I changed the type of one field of the table  in to Varchar (From Integer). But still it is showing as number in the Crystal Report. Why is that? Thanks,Janaka      Each and Every problem has Solutions ...

ID-Provider Driver
Novell Identity Manager 3.6 Windows Server 2003 R2 eDirectoy 8.8. SP3 Hi I want to develop a ID-policy based on followin rules: Prefix-GivenName[1]Surname[1]-AutoIcremnetNumber And these policies will be consumed by ID-Client(Identity Manager). So long , I have created ID Provider-driver, and configured it to be run as a RMI server (without ID Generation-Map) and Without defining Attributes in the ID-provider driver Filter. And I have created a NULL driver with some policies which invokes id:getNextID() method to get a Unique ID for newly created users. But my...

The value set to controls at client side donot persist for each page load, else it is again set to the default value...??
 I am trying to set date to the textbox field using javascript (Client side), the function is as follows. function From_calendarPicker(){                                var    sDPath = "../Calender.aspx";                 var    oWin = window.showModalDialog(sDPath, null, "dialogWidth:300px;dialogHeight:250px;help:0;status:0;scroll:0;center:1");  &nbs...

setting non server control values: input type="text" how to set value programmatically?
<form id="someForm" runat="server" enableviewstate="true">  <input id="manualtextbox" type="text" value="abc" name="manualtextbox" /></form> I have access to user supplied value via: string userEnteredThisInForm = Request.Params["manualtextbox"] but, how can I set the value when sending form back to browser? If it's not runat="server" then you'll have to emit javascript to set the value: document.getElementById('manualtextbox').value = '<desired value>'; add runat="sever" to the control  <input id="manualtextbox" type="text" value="abc" name="m...

When do I set the value of a cascading drop down with an existing value?
I have gotten cascading drop downs to work on my page.   The do fine when i am creating a new record.  My problem is how to handle them when the user wants to edit an existing record.  I need to set drop down to show the existing value, but I can't figure out when to do that.  My first attempt was to do it in page_load - but at that point the first drop down has not yet been populated.  What is the event that fires the population of the first drop down? If i set the value of a cascading drop down in code, will that trigger the population of the dependent ...

How to return value from dynamic query or set the value
Hii I am Varun  i have a problem with the dynamic stored procedure This is my stored procedureALTER PROCEDURE dbo.sp_TimeTableAdjustment1 (@TeacherID_OnLeave numeric(9), @DateFrom datetime ,@DateTo datetime , @UserID numeric(9) ) AS declare @flag as numeric(9) declare @year as varchar(4) set @year=(select batch from batchmaster where iscurrent=1 and isdeleted=0) if( @year=null or len(@year)=0) set @year = year(getdate())exec ('if not exists(select * from timetableadjustments_'+@year+' where datefrom='''+@datefrom+''' and dateto=''...

Setting a dropdownlist value based on a value in a Database
I have a page that allows users to create a user account. The aspx has various dropdowns that I populate by binding the dropdownlist to a dataset. OK so far? However, I also want a page where the user can edit their profile..so I need to be able to set the selected value based on what is saved in my user table and I also need to add the extra entries. Anyone know how I can do this easily. Do I need to join on my user table and my table that has all the various categories in order to get the selected value and add my other values?? Thanks, COG. For selecting the correct...

Setting String Value with Label text value
Hi there, I am having some trouble setting a string value I want to use to save as part of reference name of an image file as below: Dim flName As String flName = imageLabel1.Text ImageLabel1 has its text value set from a slideshow extender control as below: ImageDescriptionLabelID="imagelabel1"The text value is set from the code below which in this case is SSCCamera1 MySlides(0) = New AjaxControlToolkit.Slide("http://www.outercam.co.uk/ssc/camera1.jpg", "ScottishSeabirdCentre", "SSCCamera1") The imagelabel1 displays the text correctly on the s...

Web resources about - Multiple values not synchronized when setting the dest value - novell.id-manager.drivers

Synchronized - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

CloudNote for Dropbox - Perfectly Synchronized Note Taking & Writing App on the App Store on iTunes
Get CloudNote for Dropbox - Perfectly Synchronized Note Taking & Writing App on the App Store. See screenshots and ratings, and read customer ...

Reese & Hayley Synchronized Crazy Happy Dance! - Flickr - Photo Sharing!
My photos that have a creative commons license and are free for everyone to download, edit, alter and use as long as you give me, "D Sharon Pruitt" ...

Synchronized Ferrofluid Sculptures - YouTube
About this piece: Morpho Tower / Two Standing Spirals (2007) Sachiko Kodama Find out more about Ferrofluid: http://ferrofluids.info/ "Morpho ...

The secret passions of Gina Rinehart: Synchronized Swimming
Billionairess, Gina Rinehart, can't be accused of just sitting around and watching her resource riches implode - or, crying into her tea while ...

Apple Store app redesigned, gains upcoming events feature, synchronized shopping
... , iPhone , and Apps continue reading at 9to5Mac . What do you think? Discuss "Apple Store app redesigned, gains upcoming events feature, synchronized ...

Gillette Takes Synchronized Swimming to a Whole New Level - Viral Video Charts: Week's Top Brand-Driven ...
What do green masks, cardboard boxes and synchronized swimming have in common? Not much, unless you're talking about the latest spot from Gillette. ...

Google Chrome: 750 Million Active Users, Synchronized Web and Mobile Browsing
... With Revamped Hangouts, Google Aims to Unify Messaging Google+ Gets a Bit More Pinteresting Google Chrome: 750 Million Active Users, Synchronized ...

My favorite Winter Olympic sport is “Synchronized Gay-Bashing – what’s yours?
... is asking via Twitter what sport you’re most excited to watch when the Olympics begin next month in Russia. I know for me, it’s “ Synchronized ...

[Webdev Hotness] Adobe Releases Shadow, A Tool For Synchronized Browsing And Remote Debugging Between ...
... apps on all your development devices, you simply pair each one via a simple pin into a single network of sorts, and voila - say hello to synchronized ...

Resources last updated: 12/12/2015 10:40:33 PM