stursby
stursby
FFilament
Created by Yohan on 5/26/2024 in #❓┊help
Exporter Importer on JSON model fields
Thank for the snippet! 🙌
10 replies
FFilament
Created by Yohan on 5/26/2024 in #❓┊help
Exporter Importer on JSON model fields
C'est en Français! 😉
10 replies
FFilament
Created by Yohan on 5/26/2024 in #❓┊help
Exporter Importer on JSON model fields
I think I'll have to go the same route, as I need to generate dynamic column names based on a JSON db column key/value pairs
10 replies
FFilament
Created by Yohan on 5/26/2024 in #❓┊help
Exporter Importer on JSON model fields
yea, that would helpful!
10 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
so when they want to Export the form submissions... Ideally the key/values in data would get mapped to CSV colums/values
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
that's all stored in the data column
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
but I'm making a "Form Builder" so the client can use the Filament Builder to generate custom Forms
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
I know it's an odd use case...
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
got it, yea, that's kinda what it looks like
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
yea, that just formats that one column... I want to generate multuple dyanmic culums from one JSON column in the DB
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
but I haven't found a way to successfully do that yet
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
do you mean getting the model inside the ExportColumn function? Ideally I'd be able to get it one level higher inside of getColumns
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
hmmm where did you see that??
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
🤷‍♂️
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
No description
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
yea, I was just hopind I'd be able to a access the record and do something like this (just some sample pseudocode)
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
No description
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
That still only creates one column tho 🤷‍♂️ ie: after export it looks like: Data data.one, data.two, data,three
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
yea, I saw that... doesn't really do what I need tho... since adding ->listAsJson() just changes the output from: Data one, two, three to Data {'a': 'one', 'b': 'two', 'c': 'three'} and what I'm looking for is: A B C one two three
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
@Gudao I'm trying to do the exact same thing... did you ever find a solution?
28 replies