Hi Jo,

In that case, it may be worth trying to set attributes in the default
"path" under rde-edit-user with attributes being set under rde-edit-
user.rde-attributes.telephoneNumber for example.

The alternative is that the attribute branch is required - i.e. set
attribute as test.rde-attributes.telephoneNumber.

Keep in mind those special branches that is detailed in your
documentation:

rde-fields
rde-groups
rde-roles
rde-attributes

The documentation can be seen under your Delivery Server install under
http:<server>/cps/docu/wsds-h-pdy/en/html/_manual.htm

Hope that helps,

Dan

On Jun 10, 10:31 am, Jo <[email protected]> wrote:
> Hi Dan,
>
> Thanks for your reply.
>
> I tried that actually, but it doesn't work.
> Could you be able to recollect how did you do that ?
>
> Many Thanks,
>
> Jo
>
> On Jun 9, 1:54 pm, Bagsy <[email protected]> wrote:
>
>
>
> > Hi Jo,
>
> > Just to check, although you are flushing the attribute forcing it to
> > the repository, are you viewing the before and after effects within
> > Delivery Server with a single user without logging off and on again.
>
> > For example, are you testing like this:
>
> > - logged in with admin user
> > - Check targeted user or users for status on attributes
> > - Run test script
> > - Check targeted users for status on attributes
>
> > It could be that the view of those users attributes are cached
> > relative to that admin session regardless of the flushing.
>
> > Therefore, to check this, try these additional steps:
>
> > - logged in with admin user
> > - Check targeted user or users for status on attributes
> > - Run test script
> > - *Logoff as admin user
> > - *Logon as admin user
> > - Check targeted users for status on attributes
>
> > This is a quick answer and I haven't read your post in detail so let
> > me know if this doesn't address your issue.  It is certainly a gotcha
> > that has got me in the past.
>
> > Regards,
>
> > Dan
>
> > On Jun 9, 10:55 am, Jo <[email protected]> wrote:
>
> > > Hi,
>
> > > I have been trying to update users data as bulk by getting the user
> > > report and then by looping through each users.
> > > But the update mode only updates the user in active session. Here is
> > > the xml code I am using :
>
> > > <dyn>
>
> > > <rde-dm:user mode="report" tag="staff-search-results" item-tag="user"
> > > resulttype="xml" buffersize="1" >
> > > <rde-rd:user-filter>
> > > <rde-rd:group>testusers</rde-rd:group>
> > > </rde-rd:user-filter>
> > > </rde-dm:user>
>
> > > <rde-dm:attribute mode="write" source="request" attribute="userlogin"
> > > value="[#xpath://search-results//user//@login#]" />
>
> > > <rde-dm:attribute mode="read" source="request" attribute="userlogin"
> > > tag="users" />
>
> > > <rde-dm:user mode="load" user="[#context:id#]" >
>
> > > <rde-dm:attribute mode="write" source="user"
> > > attribute="test.telephoneNumber" op="set" value="020 7899
> > > 0000" />
>
> > > <rde-dm:user mode="update" path="test" />
>
> > > <rde-dm:attribute mode="flush" />
>
> > > </rde-dm:user>
>
> > > </rde-dm:attribute>
>
> > > </dyn>
>
> > > just trying to update only one value as test.
>
> > > Can anybody help on this please ? I am not sure where I go wrong or is
> > > this possible in delivery server ??
>
> > > Thanks,
> > > Jo

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to