Hello,
We are trying to write some dynament code which will update the
attributes (keywords) of a LiveServer page without touching the
content. The dynaments manual (RedDot Dynaments LiveServer 4.0)
strongly suggests that this is possible:
<rde-rd:content> (optional)
Only for ref-type="embedded":
The child element contains the content data to be imported. The
content of this element will be processed before it is inserted. If
multiple <rde-rd:content> child elements exist, they are processed in
sequence. If the child element does not exist, only the metadata from
the <rde-rd:import> child element is imported.
<page>
<rde-dm:content content="3619_8162_1239718467871.xml" overwrite="no"
importdef="import work placement" ref-type="embedded"
importtask="import work placement 2" locale="en" mode="import" result-
attribute="error-code" >
<rde-rd:import>
<keywords mode="add">DUMMY: true</keywords>
</rde-rd:import>
</rde-dm:content>
<rde-dm:attribute mode="read" source="request" attribute="error-
code"/>
</page>
However, we get the following error unless there is a rde-rd:content
child element
<page rde-rd:content="XML/datastore/update_persisted.xml" rde-
rd:datalanguage="en" rde-rd:datalocale="en" rde-
rd:leasingtime="3600000" rde-rd:locale="en" rde-
rd:project="architecture_demo" rde-rd:rdeContentType="0" rde-
rd:xslXmlSeparator="/-">
<error-code>-26504</error-code>
</page>
We don't want to specify the content as we don't want to change it.
What should we do?
Andy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---