Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
5 subscribers
Views
1602 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hello everyone, I am currently creating a proces that takes advantage of the Add
danielc
over 11 years ago
Hello everyone, I am currently creating a proces that takes advantage of the Add Documents to Zip plug-in to replace "dummy" images inside of a .docx file with images gathered from the rest of the process. I currently have the images being add to the .docx file and they are being store in the correct place inside the archieve. The problem I am having however is that the images being added are not replaceing the "dummy" images like I want them too. I am wondering if anyone can help point me in the right direction, thanks....
OriginalPostID-83437
OriginalPostID-83437
Discussion posts and replies are publicly visible
0
Patty Isecke
Appian Employee
over 11 years ago
Hi Daniel, how are you defining your inputs?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
danielc
over 11 years ago
The Base Document is defined as the document generated from my Word Doc from Template activity. The Existing Document is the same since I just want to create a new version of the Word document. Documents To Add as the image document that is gathered from the user in a previous step and the Document Paths is the path "word\\media\\(filname of the added document). I can go into detail on any of the steps further if there is confusion.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 11 years ago
i suddenly need functionality like this too - @daniel did you ever have any success getting this to work?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
danielc
over 11 years ago
Yes I did. I don't remember exaclty what was causing the issue then, but I do have it working. You need to define the Base Document as the one you want to add the image to. From there I have the existing document field populated with the same value from the base document field. Documents to Add is where you put the Image file and the last field, Documets Path, should be set up similar to this ="word\\media\\" & document(pv!ImageOne, "name") & "." & document(pv!ImageOne, "extension"). Does this help?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 11 years ago
yes, thanks - i really just needed to know whether i should bother pursuing this as a solution, so it sounds like it'll be ok =)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 11 years ago
I'm now having the same problem you initially had - the zip file ends up with 2 files called "image1.jpeg" (even when i use the exact same filename). If you happen to remember the trick to fixing this, i'd appreciate it. it's not urgent, but thanks all the same.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel