i have created a web API to upload a image. the image is storing in the destination location but cannot able to store mapping in DB
Discussion posts and replies are publicly visible
What exactly do you mean with "cannot able to store mapping in DB"?
i am unaware of mapping image into DB
To write to DB you create a CDT. In the CDT you can select the type "Document" for a field. Assign the uploaded document to this field and write the CDT data to DB. The file will stay in the file system and you have the reference in the DB.
we are creating a web Post api where we are sending an image through POST so the image will be saved in a folder. How can we map the folders location in the database.
My previous post is the answer to your question.
© 2022 Appian. All rights reserved.