anubhav7668
New Creator

Warning in logs : use of deprecated value generation method for an index editor

Hello,

While generating logs I am getting below warning:

"use of deprecated value generation method for an index editor"

Any solutions to remove them from logs??

Any leads would be highly appreciated.

Thanks

0 Kudos
1 Reply
hoebbel
Crownpeak employee

Dear anubhav7668,

you can find more information about this error within the documentation:
https://docs.e-spirit.com/odfs/template-develo/forms/input-component/index/access-fs_index/index.htm...

Quotation:
Rendering of an FS_INDEX input component using $CMS_VALUE(...)$ is no longer supported and will cause generation warnings (“use of deprecated value generation method for an index editor”). Please always use $CMS_FOR(...)$ for the rendering (see FS_INDEX output example).

Solution:
use $CMS_FOR(for_myEntry,st_myIndex.values)$...$CMS_END_FOR$ instead of $CMS_VALUE(st_myIndex)$

Best regards
Holger

0 Kudos