How I can upload book as pdf file and preview it in Appian
Discussion posts and replies are publicly visible
a!fileUploadField + a!documentViewerField
Do you have any specific question? There is documentation and tutorials available.
That's when we need to view the document not when we need to get it and save it in the application. How we can get it by uploading a file in the upload file field then saving it as a document in a folder in the app?
I am not sure I understand that. Please elaborate.
What do you want to achieve? What did you try? What is going wrong?
You'll need to think of the solution in two parts:
I want to upload a pdf file(book) so I drag file upload from interface components but I don't understand what should fill in the target folder and it will save it in DB by the CDT of which data type?
And this target folder should call a constant of document type or what type to save in it? as in the attachment image below?
the document tells you:
target (Document or Folder): Determines the eventual location of the uploaded files.
can you tell me about the constant (Type and value )
https://docs.appian.com/suite/help/21.4/Constants.html
The public documentation that Appian provides is pretty self-explanatory on this. The concept of a constant isn't unique to Appian, it's pretty much constant (excuse the pun!) across all modern programming languages.