Having a quick look at some of my existing code to point you in the
correct direction...

You need to set the value field to the file name, and add another
attribute for the folder guid that the image is saved in. In my
example my image is in an asset manager sub folder - so the attribute
is subdirguid. (Of course, this assume that the image is already in
the asset manager - its another piece of RQL to put it there if you
need that...)

The attribute may be different for a parent folder - best bet (as
always) is to perform the action in SmartEdit or SmartTree and then
investigate the RDCMS log. Or wait for someone else to chime in. Or
wait for me to find it for you :)

<IODATA loginguid="login guid" sessionkey="session key">
  <ELEMENTS action="save">
    <ELT guid="element guid" subdirguid="subfolder guid" value="image
filename" />
  </ELEMENTS>
</IODATA>

Kind regards,
Adrian

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