Hey Ibrahim

The first RQL statement is correct, since every element in every page
instance is assigned a unique GUID. To obtain the GUID, you will need
to query the PAGE first to obtain a list of all placeholders and their
GUIDs.

Kim



On Jul 15, 3:42 am, Ibrahim Sawadogo <[email protected]> wrote:
> Hi All,
>
> after Kim mentioned that it was easier/faster writing to the cms via ajax
> rql, which is true. i decided to give it a try in my current project.( I
> have always used jrql for such stuffs)
>
> I am making changes to about 8000 pages, something to do with a standard
> field called (std_system_id).
> Everything is ready, but i have a little itch with the RQL
> statement. According to the documentation it takes only the following to
> make changes to a filed, which i don't agree.
>
> <IODATA loginguid="[!guid_login!]" sessionkey="[!key!]">
>   <ELEMENTS action="save">
>     <ELT guid="[elt_guid]" value="value">
>     </ELT>
>     ...
>   </ELEMENTS>
> </IODATA>
>
> I think it should be something like this:
>
> <IODATA loginguid="[!guid_login!]" sessionkey="[!key!]">
>  <PAGE guid="[!guid_page!]">
>   <ELEMENTS action="save">
>     <ELT elttype="1" eltname="std_system_id" value="new_value">
>     </ELT>
>     ...
>   </ELEMENTS>
> </IODATA>
>
> I have not tried any of it yet since it involves "saving" but i would like
> to ask if anyone has an explanation and if the above is wrong, what is the
> correct way?
>
> Thanks,
> Ibrahim

-- 
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