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"?
Just use the tointeger() function in front of the respective property in CDT and then use the Write to DSE to store that ID in the table
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.
docs.appian.com/.../passing-a-web-api-document-into-a-process-model.html