go-admin icon indicating copy to clipboard operation
go-admin copied to clipboard

[Proposal] Applying an insert form multiple times.

Open alonbg opened this issue 4 years ago • 1 comments

Description

I'm trying to develop a batch insert. The use case is creating licenses. It includes creating hashes, expiry date and more. So considering I filled in an insert form - I would now like to treat it as a template and apply it n times with all the business logic which is already included in the form ( mainly post operations on fields and on the form itself)

I looked through the code for hook points but could not detrmain were I could call the InsertData function because this function calles hooks but it seems to me it's not currently hook-able from anywhere.

I then tried to investigate the API - calling the form through the API multiple times directly. But, currently it lookes like a reverse engineering work - I wish it was a bit more documented :)

Would appreciate any suggestion or help Thank you

alonbg avatar Jan 28 '21 09:01 alonbg

@alonbg Thanks for your proposal. It sounds not that difficult to support that. We will consider quickly developing it.

chenhg5 avatar Feb 21 '21 02:02 chenhg5