Hi,
Several hours now that I’m trying to call a TV or a snippet from within a TV.
I cannot figure out how to do what I call "dynamic file binding".
The idea is to store the content of my
documents in external files.
I can retrieve the content of a file from within a TV, by setting its value to @FILE assets/site/2.html
for instance.
Now, I’m
trying to do this dynamically @FILE assets/site/[*id*].html
and this does not work as I get this error : Could not retrieve document ’assets/site/2.html’.
I also tried making my variable call a snippet to generate the path. With no more success.
Lastly, I observed that the "@FILE" is printed and does not bind anything if it is written directly in the content source code rather than in a TV.
I already asked the French forum but could not find any solution to this problem yet.
Thanks to any code guru for help !