Ellen
I'm new here

How to export Data source content

We use a lot of data sources, with a many rows in it.

For marketing reasons, we want to export some datasources to use the content in other applications. What is the best way to do this?

Thanx in advance

Ellen van Wettum

2 Replies
aVogt
Returning Creator

We have a  pagetemplate with extension txt

example pagetemplate (HTML-chanel):

<CMS_HEADER>
<CMS_FUNCTION name="contentSelect" resultname="cs_RGL">
  <CMS_PARAM name="schema" value="SFO" />
  <QUERY entityType="OHB_RGL">
   <ORDERCRITERIA attribute="Nummer" />
  </QUERY>
</CMS_FUNCTION>
</CMS_HEADER>$CMS_FOR(myRGL,cs_RGL)$$CMS_VALUE(myRGL.getValue("Nummer"))$####$CMS_VALUE(myRGL.getValue("Name"))$
$CMS_END_FOR$

In the for-loop you write all column you need

"###" is the delimiter between the column

(sorry for my english)

Thank you for your reply.

We'll try to use this, it seems a flexibel way to implement, without having to create to many templates.

0 Kudos