I'm using this answer to create an annotated bibliography with biblatex, with the following code:
\documentclass{article}
% This just makes a dummy bib file
\begin{filecontents}{\jobname.bib}
@ARTICLE{a,
author = {Doe, J.},
title = {The Title},
journal = {The Journal},
mynote = {This source is really interesting because it doesn't have a real title}
}
@ARTICLE{b,
author = {Smith, J.},
title = {The New Title},
journal = {The Same Journal},
mynote = {This second source is also really interesting because it contains words}
}
\end{filecontents}
% This does the work
\usepackage[style=trad-plain]{biblatex}
\addbibresource{\jobname.bib}
\DeclareDatamodelFields[type=field,datatype=literal]{mynote}
\usepackage{xpatch}
\xapptobibmacro{finentry}{\par\printfield{mynote}}{}{}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
However, I get a warning
Package biblatex Warning: Data model macro 'DeclareDatamodelFields' cannot be used in preamble.
and the output is as if no change had been done to the data model:

.dbxfile. – moewe Apr 14 '15 at 16:12.dbxfile calledmynote.dbxcontaining the line\DeclareDatamodelFields[type=field,datatype=literal]{mynote}. Then callbiblatexwith the additional optiondatamodel=mynoteas in\usepackage[style=trad-plain,datamodel=mynote]{biblatex}. – moewe Apr 14 '15 at 16:14;-). I think it might not be too bad of an idea to have a standard "my data model macros don't work any more" question which we can questions such as this duplicate to. Going through all answers that used data model macros and editing them seems quite the task. – moewe Apr 14 '15 at 16:42