sivaprasad9394
Occasional Collector

Loading of database column values in combobox?

Hello Team,

Lets consider i have tow projects Project-A and Project-B.

In Project-A page section I would like to create a new component  'CMS_INPUT_COMBOBOX'. This can be created.

For the 'CMS_INPUT_COMBOBOX' values should come from the Project-B datasource tag and column to load values in the combobox is 'Tag'.

How to load the Project-B Tables-Column values in the Project-A components-combobox?

<CMS_INPUT_COMBOBOX name="IDENTIFIER" useLanguages="NO">
  <CMS_INCLUDE_OPTIONS type="database">
    <LABELS>
         <LABEL lang="*">#item.COLUMN</LABEL>
         <LABEL lang="DE">#item.COLUMN_DE</LABEL>
         <LABEL lang="EN">#item.COLUMN_EN</LABEL>
    </LABELS>
    <TABLE>TABLETEMPLATE</TABLE>
  </CMS_INCLUDE_OPTIONS>
  <LANGINFOS>
    <LANGINFO lang="*" label="TEXT_FALLBACK" description="TEXT_FALLBACK"/>
    <LANGINFO lang="DE" label="TEXT_DE" description="TEXT_DE"/>
    <LANGINFO lang="EN" label="TEXT_EN" description="TEXT_EN"/>
  </LANGINFOS>
</CMS_INPUT_COMBOBOX>

Change-ProjectA.png

Column_to_load_in_combobox.png

Thank you.

Regards,

Siva

0 Kudos
0 Replies