class article(SimpleRecordDeposition):
workflow = [..]
@staticmethod
def get_title(obj):
"""Get the title."""
return obj.data.get('title') or "No title found"
@staticmethod
def get_description(obj):
"""Get the description part."""
# Do fancy stuff using data from the submission with templating etc.
return render_template('some/template', **context)