hello , j'ai besoin d'aide s'il vous plait .Je voudrais traiter cette partie : lorsque l'utilisateur dépose des documents, au moment de la visualisation, les documents PDF doivent être compilés dans un seul visualiseur de PDF. J'ai utilisé la fusion de PDF dans le modèle de processus avec ce code dans l'interface qui s'appel : projet_docsInterface( fv!item)
a!cardLayout( contents: a!documentViewerField( label: ri!record['recordType!**.{c36418cc-1402-4f64-801f-7a433c3ed250}type'], labelPosition: "ABOVE", document: ri!record['****0902-47a3-8490-7833fee28c37}docid'], height: "TALL" ), )
et j'ai fait l'appel de cette interface ici :
a!cardLayout( contents: { a!forEach( items: local!docs, expression: { rule!Projet_docsInterface( fv!item) } ) }, height: "AUTO", style: "#cccccc", shape: "ROUNDED", padding: "STANDARD", marginAbove: "LESS", marginBelow: "STANDARD", decorativeBarPosition: "END", decorativeBarColor: "#000000" ),
Discussion posts and replies are publicly visible
Salut thraskar, bienvenue. Est-ce que c'est possible de traduire ta question?Je suis allemend est mon anglais est limité mais dans cette communauté ici, on parle anglais et peut-être espagnol. La vocabulair d'appian est anglais.-> C'est plus facile d'etres précise à notre response pour d'aider.(excusez moo pour mon competence limité de la language francaise )
in my first comment i asked the poster to translate his question.Is that not working at all? can you explain your issue more? assumed that the issue is that the document is not displayed:hrshkar what parameters does rule rule!Projet_docsInterface() have? my first idea is, that this rule has more than one parameter eventually so that fv!item is filling another parameter than "record"
yes for sure this is my question translated : "Hello, I need some help please. I would like to handle this part: when the user uploads documents, at the time of visualization, the PDF documents should be compiled into a single PDF viewer. I have used PDF merging in the process model with this code in the interface named: project_docsInterface(fv!item).
project_docsInterface(fv!item)
Thanks for answering me ! No, it works, but I want all the documents to be in the same document viewer. I don't want to have a document viewer to display each document. In my case, the user should input three documents in a form, then verify the form, and upon confirming by pressing the 'confirm' button, I want those three documents to be displayed in the same document viewer
a documentviewer can only display one document.I created a post connected to IDP quite some time back, but this might help you as well as i made some experiments how to merge different image and document types with a plugin called - PDF Tools pluginyou can find the commmunity post here.https://community.appian.com/discussions/f/best-practices/23665/idp-experiences-picture-formats-vendor-settings
In Appian, you cannot display a just uploaded document. Appian does finalize the upload only AFTER a submit action.
This is a snippet from a blog post I will publish soon. I hope it helps.
The best indicator for this behavior in my mind:use an a!fileUploadField() function and then maintain no folder constant at the "target" parameter.The error message of a missing upload destination does not appear at the moment you select a/the file(s), it appears the moment you want to submit it.;)