Snippets for the World!
Snippets for the World!

Snippets for the World!

Published at October 29, 2025by Sören Schlegel

The following texts were partially or completely generated with the help of generative AI models.

Who doesn't know this...?

Time and again you think to yourself "oh - how did that snippet/method for ... go again" - and then the big search begins to find where you did that before. And today - yes, today! - is the day I've had enough of always having to dig up my snippets somewhere or google them again. Hence this post, which is meant to be my personal reference list. And maybe it will help one or two people out there facing the same problems, when once again you don't have your OneNote notebook from 2008 at hand.

Table fields for the Draft function

  created_by            : abp_creation_user;
  created_at            : abp_creation_tstmpl;
  last_changed_at       : abp_lastchange_tstmpl;
  last_changed_by       : abp_lastchange_user;
  local_last_changed_at : abp_locinst_lastchange_tstmpl;

Annotations for administrative data of a view for Draft scenarios

  @Semantics.user.createdBy: true
  created_by as CreatedBy,
  @Semantics.systemDateTime.createdAt: true
  created_at as CreatedAt,
  @Semantics.systemDateTime.lastChangedAt: true
  last_changed_at as LastChangedAt,
  @Semantics.user.lastChangedBy: true
  last_changed_by as LastChangedBy,
  @Semantics.systemDateTime.localInstanceLastChangedAt: true
  local_last_changed_at as LocalLastChangedAt

More articles

New!
New!