FS_INDEX
Author: th_biedermann
Publication Date: 9/18/2024 13:03
Hoi Community
Ich habe ein Problem beim auslesen eines FS_INDEX.
Ich bekomme keine Daten
Jemand eine Idee?
$CMS_FOR(for_instance, cs_instances.values)$ $CMS_FOR(for_umform, for_instance.formData.cs_um_nl_form.values)$ <appInstance name="$CMS_VALUE(for_umform.name)$" /> $CMS_END_FOR$ $CMS_END_FOR$
<FS_INDEX name="cs_instances" height="2" useLanguages="no"> <LANGINFOS> <LANGINFO lang="*" label="Instance"/> </LANGINFOS> <SOURCE name="DatasetDataAccessPlugin"> <QUERY name="sfs_newsletter_db.t_newsletter_instances_sorted"/> <TEMPLATE uid="sfs_newsletter_db.t_newsletter_instances"/> </SOURCE> </FS_INDEX>

<FS_INDEX name="cs_um_nl_form" height="2" useLanguages="no"> <LANGINFOS> <LANGINFO lang="*" label="Newsletter App for One-Click Unsubscribe"/> <LANGINFO lang="DE" label="Newsletter App für One-Click Unsubscribe"/> </LANGINFOS> <SOURCE name="EmailMarketing/UMFormsDataAccessPlugin"/> </FS_INDEX>

-
Author: hbarthel - 5/14/2019 12:43
Hi Carmen, if you are talking about a table template, please check if you configured the mapping correctly. Cheers, Heiko
0 -
Author: carmen_bunea - 5/14/2019 12:51
Hello Heiko,
thank you for replying! Yes I thought of that too and checked it. The mappings are correct. And yes I am talking about table template.
0 -
Author: Nitros - 5/15/2019 10:39
Hi Carmen,
can you post a screenshot of the mapping and formular definition of the table template and the table in the schema as well? It's hard to say what went wrong without seeing the sources. As Heiko mentioned, that kind of error normally occurs if FirstSpirit does not actually save the data. The UI lies to you in that case.
Other places you might want to check:
- If it's saved in a database you can access, investigate if the field was actually saved.
- You may want to check the schema XML for any obvious error. It can be accessed from the context menu when right clicking the schema (not the table template) and choosing something in the lines of "edit eternally". Not sure about the exact wording right now.
0 -
Author: carmen_bunea - 5/16/2019 14:12
Hello,
I solved the Problem this way:
Having used FS_INDEX for the reference I thought of trying to get the same result I wanted with FS_CATALOG. In doing this I had to map the new fields and the problem dissapeared.
@
Thank you for the support and assistance.
0 -
Author: hoebbel - 10/21/2024 13:37
Hallo Thomas,
wenn ich es richtig sehe, dann ist "for_umform" doch ein Dataset, der im inneren FS_INDEX referenziert wird. Um dort eine Ausgabe zu machen, brauchst Du das formData() des Datensatzes und dann erst den Wert des name Attributs der entsprechenden Eingabekomponente.
<appInstance name="$CMS_VALUE(for_umform.formData().name)$" />
Sofern die Eingabekomponente name="name" hat, wäre die korrekte Ausgabe:
<appInstance name="$CMS_VALUE(for_umform.formData().get(null,"name").get())$" />
bzw. in der vollrständigen Schreibweise:Funktioniert es so?
Viele Grüße
Holger0
Please sign in to leave a comment.
Comments
5 comments