by the way: link elements work the same way, these also must be
preloaded if added when instances yet exist:

<IODATA loginguid="[LOGINGUID]" sessionkey="[SESSIONKEY]"
dialoglanguageid="DEU">
    <TREESEGMENT type="page" action="load" guid="[PAGEGUID]"
descent="unknown"/>
</IODATA>



On 7 Apr., 09:07, Stefan Buchali <[email protected]> wrote:
> I don't know why, but you have to preload the elements before you can
> access them, when you have added new elements to a content class with
> already existing instances.
>
> This can be done by "clicking" the elements node in smart tree with
> this rql:
>
> <IODATA loginguid="[LOGINGUID]" sessionkey="[SESSIONKEY]"
> dialoglanguageid="DEU">
>     <TREESEGMENT type="elements" action="load" guid=""
> parentguid="[PAGEGUID]" descent="unknown"/>
> </IODATA>
>
> Regards,
> Stefan
>
> On 6 Apr., 18:17, Wayne Bouwmeester <[email protected]>
> wrote:
>
> > Strange.
> > Have you ever gone to the pages in Smart Edit / Smart Tree.
> > Sometimes RedDot hasn't created the elements yet and they don't
> > return.
> > e.g. if you already have an instance created, then add an element to
> > the class and run the plugin the new field doesn't appear.
> > Try hitting the page in smart tree, opening the elements node, and
> > putting some content in one element.
> > Release it and try again.
> > (this may not be your problem, but worth mentioning)
>
> > Other than that, if the RQL works for the page but not the elements,
> > I'm out of ideas to try.
> > Wayne
>
> > On Apr 6, 8:44 am, abdn_webteam <[email protected]> wrote:
>
> > > There's no returning error.
>
> > > The <PAGE> node info is coming back just fine; returns the correct
> > > dialoglanguageid, pageguid, all that. We can also get at the
> > > <ELEMENTS> node and associated attributes no problem. It just doesn't
> > > appear to contain any child <ELEMENT> nodes, which as stated above is
> > > implausible.
>
> > > Added the option="extendedinfo" to the <PAGE> node; no difference.
--~--~---------~--~----~------------~-------~--~----~
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