« Return to the blog entry
This would do it wouldn't it? One "lookup".
html:="";
@For(n := 1; n <= @Elements(RelatedArticles); n := n + 1;
title:=@GetDocField( RelatedArticles[ n ]; "Title");
html := html + @If( @IsError( title ); "";
"<a href=\"/" + @WebDBName + "/0/" + RelatedArticles[ n ]+ "\">" + title + "</a><br />" )
);
html
This would do it wouldn't it? One "lookup".
html:="";
@For(n := 1; n <= @Elements(RelatedArticles); n := n + 1;
title:=@GetDocField( RelatedArticles[ n ]; "Title");
html := html + @If( @IsError( title ); "";
"<a href=\"/" + @WebDBName + "/0/" + RelatedArticles[ n ]+ "\">" + title + "</a><br />" )
);
html