diff --git a/app/views/admin/datafields/config.php b/app/views/admin/datafields/config.php
index 417996f6ec5cd58ab3aef4ce097b714c19b71ddc..ae3fa9715479f1101e961d3bab3f869fdf042dfd 100644
--- a/app/views/admin/datafields/config.php
+++ b/app/views/admin/datafields/config.php
@@ -1,4 +1,4 @@
-<form action="<?= $controller->url_for('admin/datafields/config/' . $struct->getID()) ?>" method="post" class="default">
+<form action="<?= $controller->url_for('admin/datafields/config/' . $struct->id) ?>" method="post" class="default">
     <?= CSRFProtection::tokenTag() ?>
 
     <fieldset>
@@ -6,13 +6,13 @@
 
         <label>
             <?= _('Inhalte') ?>
-            <textarea name="typeparam"><?="\n"?><?= htmlReady(rtrim($struct->getTypeParam()), false) ?></textarea>
+            <textarea name="typeparam"><?="\n"?><?= htmlReady(rtrim($struct->typeparam), false) ?></textarea>
         </label>
     </fieldset>
 
     <footer data-dialog-button>
         <?= Studip\Button::createAccept(_('Speichern'), 'store') ?>
         <?= Studip\Button::create(_('Vorschau'), 'preview', ['data-dialog' => 'size=auto']) ?>
-        <?= Studip\LinkButton::createCancel(_('Abbrechen'), $controller->url_for('admin/datafields/index/' . $struct->getObjectType() . '#' . $struct->getObjectType())) ?>
+        <?= Studip\LinkButton::createCancel(_('Abbrechen'), $controller->url_for('admin/datafields/index/' . $struct->object_type . '#' . $struct->object_type)) ?>
     </footer>
 </form>
diff --git a/app/views/admin/datafields/preview.php b/app/views/admin/datafields/preview.php
index 27792fe778da2ac9d585d80d8d3a4cc2e6e86692..9980d0ce20ba72de75fecfce8cc3dccfca0e50a8 100644
--- a/app/views/admin/datafields/preview.php
+++ b/app/views/admin/datafields/preview.php
@@ -1,7 +1,7 @@
-<form action="<?= $controller->url_for('admin/datafields/config/' . $struct->getID()) ?>" method="post" class="default">
+<form action="<?= $controller->url_for('admin/datafields/config/' . $struct->id) ?>" method="post" class="default">
     <?= CSRFProtection::tokenTag() ?>
 
-    <input type="hidden" name="typeparam" value="<?= htmlReady(rtrim($struct->getTypeParam()), false) ?>">
+    <input type="hidden" name="typeparam" value="<?= htmlReady(rtrim($struct->typeparam), false) ?>">
 
     <fieldset>
         <legend><?= _('Vorschau') ?></legend>
@@ -12,6 +12,6 @@
     <footer data-dialog-button>
         <?= Studip\Button::createAccept(_('Speichern'), 'store') ?>
         <?= Studip\Button::create(_('Bearbeiten'), 'edit', ['data-dialog' => 'size=auto']) ?>
-        <?= Studip\LinkButton::createCancel(_('Abbrechen'), $controller->url_for('admin/datafields/index/' . $struct->getObjectType() . '#' . $struct->getObjectType())) ?>
+        <?= Studip\LinkButton::createCancel(_('Abbrechen'), $controller->url_for('admin/datafields/index/' . $struct->object_type . '#' . $struct->object_type)) ?>
     </footer>
 </form>