Hi, so I have a TV named Notes, with some nested migx TV populating it with fields note and author. So basically, in a record, we can add multiple notes to the Notes TV.
On my CMP page, grid looks fine.
Now I'm trying to get the author field to simply default to the current manager user, but I'm not having any luck. Basically, I want that field author to appear in the Columns, but I'll hide it in the formtabs, since it will just default to whichever manager user is entering the note.
http://stackoverflow.com/questions/27428611/setting-default-value-to-user-extended-field-in-modx- which describes a similar request (except i don't need to get an extended field, just the username)
I saw from this post above -- that this default value gets determined during rendering of the tv...
I have a snippet working [[GetUser? &userId=`[[*createdby]]`]] that works fine in a page, but in my CMP this is another matter that I can't wrap my head around. I've tried @EVALs, but they seem to bust up the grid. I tried using renderChunk and ran the snippet through there, but that seems to overwrite all of the notes authors.
So, i'm hoping this is fairly simple and I just have a blind spot. any thoughts? pasting both of my configs below.
Thanks!
Anthony