Quote from: Jako at Jan 06, 2016, 06:25 AMIf the user edits a resource with a form on the resource itself, the &ajaxuploadUid could be set to i.e. `image[[*id]]`. If you edit all ads on one resource with a form, you have to set it to i.e.`image[[+identifier]]` (identifier could contain the same value that is used to identify the edited ad).
When I edit the resource second time and after, image[[*id]] indeed it is working. My big problem is when the user creates the resource. At that time there is no resource id to attach to uid, cause the user is at a page which all users are using to upload a resource. There is not a specific id yet for the new resource. I need some [+identifier]].
I am trying to create that identifier. Obviously must be set as prehook before ajaxupload and saved as a field of the new resource when it's get created.
But my knowledges are poor at this level and I am stuck. Maybay a timestamp? A unique random number?
I need it as a prehook and save at the new resource.
I think this it would be a great addon for Ajaxupload. To have, optional, the ability to give a unique random number to uid.
Thank you for your fast replies.