# Attributsystem

**URL:** https://forum.shopware.com/t/attributsystem/39851
**Category:** Programmierung
**Created:** [15. September 2016 um 13:15 UTC](https://forum.shopware.com/t/attributsystem/39851 "2016-09-15T13:15:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Beyer](https://avatars.discourse-cdn.com/v4/letter/b/ba9def/32.png) [@Beyer](https://forum.shopware.com/u/Beyer)
#### Post date: [15. September 2016 um 13:15 UTC](https://forum.shopware.com/t/attributsystem/39851/1 "2016-09-15T13:15:29Z")

</div>

Hallo,

bin dabei für s\_user\_attributes über den crud service ein neues Attribut zu registrieren.

In der Doku super erklärt. Leider krieg ich das nicht für s\_user\_attributes zum laufen.

> public function install(InstallContext $context) { $service = $this-\>container-\>get(‚shopware\_attribute.crud\_service‘); /\* \* Funktioniert \* my\_clumn in s\_articles\_attributes angelegt. \* Im Backend ist das Feld in der Artikeldetailseite sichtbar. \*/ $service-\>update(‚s\_articles\_attributes‘, ‚my\_column‘, ‚multi\_selection‘, [‚label‘ =\> ‚My label‘, ‚supportText‘ =\> ‚Value under the field‘, ‚helpText‘ =\> ‚Value which is displayed inside a help icon tooltip‘, ‚translatable‘ =\> false, ‚displayInBackend‘ =\> true, ‚entity‘ =\> ‚Shopware\Models\Article\Article‘, ‚position‘ =\> 100, ‚custom‘ =\> true]); /\* \* Funktioniert nicht? \* my\_column wurde in s\_user\_attributes erstellt. \* Erscheint nicht im backend under Kunden \> Kunden \> Kundendetailseite \*/ $service-\>update(‚s\_user\_attributes‘, ‚my\_column‘, ‚text‘, [‚label‘ =\> ‚My label‘, ‚supportText‘ =\> ‚Value under the field‘, ‚helpText‘ =\> ‚Value which is displayed inside a help icon tooltip‘, ‚translatable‘ =\> false, ‚displayInBackend‘ =\> true, ‚position‘ =\> 100, ‚custom‘ =\> true]); }

Bei der Fehlersuche hat mich dieser Kommentar verunsichert:

[https://forum.shopware.com/discussion/comment/171088/#Comment\_171833](https://forum.shopware.com/discussion/comment/171088/#Comment_171833)

Kann es sein, dass das neue Attributsystem noch nicht bei user funktioniert?

Will nur sicher gehen bevor ich mir nen Wolf suche…

---

<div class="post-metadata">

### Author: ![Beyer](https://avatars.discourse-cdn.com/v4/letter/b/ba9def/32.png) [@Beyer](https://forum.shopware.com/u/Beyer)
#### Post date: [15. September 2016 um 13:37 UTC](https://forum.shopware.com/t/attributsystem/39851/2 "2016-09-15T13:37:00Z")

</div>

Ok hat sich erledigt.&nbsp;

Nach dem 10ten mal löschen und neu registrieren hat es funktioniert.
