Demian Gutierrez wrote:
So when I use the
\fieldNameSection{*\getvalue{CrudCampo:NombreCampoGUIVAL}*}
in the previous code I get nothing but an empty entry in the table of contents (well in fact with the "*" before and after I get just "**").
Try \expanded{\fieldNameSection{*\getvalue{CrudCampo:NombreCampoGUIVAL}*}}
The second issue is that the previous commented code:
\doifelsenothing{\getvariable{CrudCampo}{NombreCampoGUIFLG}} {\EMPTY}{\getvariable{CrudCampo}{NombreCampoGUIVAL}}
The bib module had a similar problem, that is why I have: \unprotect \long\def\bibdoifelse#1% {\@EA\def\@EA\!!stringa\@EA{#1}% \ifx\!!stringa\empty \expandafter\secondoftwoarguments \else \expandafter\firstoftwoarguments \fi} \protect Best wishes, Taco