Search the FirstSpirit Knowledge Base
Hello,
I am using FS List Type page in my project See below Code. It is display all the section in that page. See all the page section in the picture 1 and now i need to get the metadata of the red color highlighted "Text HR".
Is there way to get the metadata of the section ??
Form:
<FS_LIST name="st_nav" height="150">
<DATASOURCE type="page">
<COLUMNS>
<COLUMN show="no">#identifier</COLUMN>
</COLUMNS>
</DATASOURCE>
<LANGINFOS>
<LANGINFO lang="*" label="Inpage Navigation"/>
<LANGINFO lang="DE" label="Navigation innerhalb der Seite"/>
</LANGINFOS>
</FS_LIST>
picture 1
Picture 2
Regards
-Syed
Hello Syed,
I tryed with FS 5.1.419 and our Mithras Energy demo project.
Per iteration over the FS_LIST you just get the ids and labels of the selected sections.
$CMS_FOR(item,st_nav)$
$CMS_VALUE(item.uid)$
$CMS_END_FOR$
Due to that you futher more need to identify all sections of the page and to filter them with the ids you received before. On this way you get all sections of the page selected in the FS_LIST and you could get their metadata on the usual way.
Best regards
Michaela
Hello Syed,
may I ask you which FirstSpirit version do you use?
Further more could you tell us if you just need the metadata of the section "Text (HR)" or of all the four checked sections? And do you need the metadate while you edit and save the page or while preview and generation of the page?
Best regards
Michaela
Hello Syed,
I tryed with FS 5.1.419 and our Mithras Energy demo project.
Per iteration over the FS_LIST you just get the ids and labels of the selected sections.
$CMS_FOR(item,st_nav)$
$CMS_VALUE(item.uid)$
$CMS_END_FOR$
Due to that you futher more need to identify all sections of the page and to filter them with the ids you received before. On this way you get all sections of the page selected in the FS_LIST and you could get their metadata on the usual way.
Best regards
Michaela
Hi Michaela
Server version: 5.1.214.66047 -
And also I need all the four section metadata permission.
Thanks for your reply. Let me check to integrate.
Regards
-Syed