Get entity ID for File Upload
See original GitHub issueHi!
I’m using the FileField and my upload endpoint is something like this:
The problem is that I need to provide the URL when I’m defining the field, without knowing the entity’s ID, like this:
nga.field('logo', 'file').uploadInformation({ 'url': 'http://api.example.com/entity/ID_HERE/', 'accept': '.svg'})
How can I provide the ID of the current entity to upload the file?
P.S. I only use this field in the editionView, therefore the ID is always available.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Entity Upload Process Details - Knowledge Graph - Yext Help
The Entity Upload Tool allows you to update and add entities to your account in ... The file must contain an identifier column...
Read more >Step 3: Relate the uploaded file to a specific entity
This API endpoint is step 3 of 3 to upload a file and attach it to an existing entity. ... entity_id*, number, ID...
Read more >ng-admin file uploadInformation get entity id - Stack Overflow
In ng-admin edit view I need to change file upload url with id as below , but I don't know how to fetch...
Read more >apex - How to get the Content document Id for file that was just ...
I realized I can get it like this <lightning-file-upload record-id={accountId} onuploadfinished = {handleAddressUploadFinised}> ...
Read more >[Multiple File Upload] How do I add other attribute into the ...
However, I do not see the way that I can, let's say, get the id of the newly uploaded files (Let's assume multiple...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
any progress on this? Otherwise uploadInformation just seems pointless for dynamic content!!!
I need this 😦