Using Split with attachments
Dear All,
I would thank you for any help in the following issue.
I have split in a process which split the flow of the process to go to 3 users for approvals and each user can add attachments before it submit. The issue is that after the 3 users submit the form what is shown in the step after the split is only the attachment of the last person who submit if he have attachments and the rest of the attachments are lost.
How can i resolve this issue any body can help please?
Hi Raghava
Thanks for the response.
The approach you suggest works for form data (although it can be quite tedious to merge the data using SetValue).
However, attachments are not stored as form data, they're stored by the Form Manager application inside the database.
We've written a QPAC called ListMerge, which will allow you to merge the attachments from a series of User steps, and present them to a new user.
If anyone monitoring this thread is interested in this QPAC, please email [email protected]
Regards,
Howard
http://www.avoka.com
Similar Messages
-
Dear All,
I would thank you for any help in the following issue.
I have split in a process which split the flow of the process to go to 3 users for approvals and each user can add attachments before it submit. The issue is that after the 3 users submit the form what is shown in the step after the split is only the attachment of the last person who submit if he have attachments and the rest of the attachments are lost.
How can i resolve this issue any body can help please?Hi Ziad
As far as I'm aware, there is no implicit way to solve this problem.
The best was I can think of to solve this problem is:
- Store the attachments for each of the branches in the split as a separate List variable. (You must be using Livecycle 7.2 in order for this option to be available in the User QPAC.)
- Following the split, have a QPAC that merges all the documents from all the branches into a single combined list.
We would be happy to develop this "Merge" QPAC for you, if you're intersted. Please contact [email protected] to discuss further.
Howard
http://www.avoka.com -
Trying to use .split with an array element
I have tried multiple ways to split an array element into its components that are separated with a space with this code:
public static void compareHand(String[] hand){
for (int i = 0; i < hand.length; i++){
System.out.println(i);
System.out.println(hand);
String[] tokens = hand[i].split("\\s");
System.out.println(tokens.length);
for (int j = 0; j < tokens.length; j++){
System.out.println(tokens);
I keep getting strange output like the following:
King of Spades
3
[Ljava.lang.String;@10b62c9
[Ljava.lang.String;@10b62c9
[Ljava.lang.String;@10b62c9
where I am expecting:
King of Spades
3
King
of
Spades
Any ideas where I am going wrong?public static void compareHand(String[] hand){
for (int i = 0; i < hand.length; i++){
System.out.println(i);
System.out.println(hand);
String[] tokens = hand[i].split("\\s");
System.out.println(tokens.length);
for (int j = 0; j < tokens.length; j++){
System.out.println(tokens); // your error is on this line. Hint ... System.out.println(tokens[...]); -
Hi,
im trying to split a string that actually a file path so I can get the document name and type from the end
ie I need to get myDoc.XML from
\\ukserver\myfiles\XML\myDoc.XML.
but it doesnt like the backslash, anyone done anything similar?what doesn't like the backslash?
Here's 3 ways I can think of, the first 2 being the better options:
File f = new File("\\ukserver\myfiles\XML\myDoc.XML");
String s = f.getName();
or
String s = "\\ukserver\myfiles\XML\myDoc.XML";
s = s.substring(s.lastIndexOf('\\')+1);
or
StringTokenizer st = new StringTokenizer("\\ukserver\myfiles\XML\myDoc.XML", "\\");
String s = null;
while(st.hasMoreTokens()) {
s = st.nextToken();
} -
Binary Attachments - MTOM vs. SOAP with Attachments
Hello everybody,
i am kind of stuck by implementing a soap to proxy scenario! I wanted to use MTOM to transfer the messages together with the attachments, but until now i couldn't find out if this is possible at all using the ws-adapter with backend proxy (version 701)!
I have seen this already:
http://help.sap.com/saphelp_nwpi711/helpdata/de/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
unfortunately im not a abap coder, but i can see using attachments in proxys should work!
But how? Am i forced to used soap with attachments on sending webservice? If yes, have you got an example for me?
I would appreciate any help!
Thanks in advance,
MarkusHi Amar,
thanks for your reply, i know the mtom theory, but i don't know how to do it with sap pi on proxy side!
(By the way, your link throws a 404!)
Using soap adapter with enabled "keep Attachments" option, the MTOM-Attachment is getting processed, but on proxy side, using soap adapter (keeping attachments) to call proxy, it crashes on the backend side (version 701).
I tried to make a webservice out of the proxy in soamanager, but i didn't get this working, as i have never done this. Also i didn't find an option for mtom in soamanager. I am also wondering why mtom is only supported in ws-adapter 7.10 but not in 7.11, why is this? And is it possible to use soap-adapter on OB-side and WS-Adapter on IB-side, or can i only use ws-adapter for direct communication?
Lot's of questions i am facing ;-)...
Kind regards,
Markus -
Web Service with attachments (SOAP with attachments) without PI
Hi,
Is it possible to send across file(say PDF) using ABAP web services. I know it can be done with Java using SOAP with attachments. Is something similar available for ABAP ? since if we transfer raw binary data as type string / xstring it may have a performance impact.
I could not see any option for attachments when using web service wizard from SE37 / soamanager
Note I am not using PI, this Web service would be consumed by a 3rd party tool. There is very little material available on transferring files using web service with SOAP attachments.
Regards,
AdityaHi thanks for your input, but did you have to encode your binary data stream in say Base64 / utf-8 ? Also if you are transferring files in bulk(say 10 -100 files) how does your web service indicate end of one file or what is the best way so as to avoid performance problems.
Regards,
Aditya -
Streaming soap with attachments
dear all
this might be a piece of cake for some of you out there but it is causing me a lot of stress given the fact that there is not enogh documentation out there regarding this topic
I am writing a web service that uses soap with attachments to send a large streaming data,
The concept works quite well but when I started to test it I got this problem.
When my client program calls a method that should return a real time data the streaming starts after 10 seconds
How can I avoid the fact that the message calls waits that long before the data starts streaming in?
To be more specific
I have a method that returns a streaming data in 10 seconds [getSteamingData(long seconds)]
I would like to test if I already get some data steaming in after one second of it starts.
To do so I started a thread that checks the OutputSteam size every 1 second and then compare the result with the previous size say a second ago, there should be an increase in size each second!!!
But when I start the thread? the streaming does not start right away instead, it starts after 10 seconds causing the thread to return null size
In real life with real large streaming data that 10 seconds could be 10 hours or God forbidden 10 years
Is there a way around or is that not possible in SwA?
Anybody have any idea
thanks in advanceHi Aalap,
In version 1 of WebLogic Workshop SOAP attachments are not supported.
Attachments will be supported in the next version. If support for SOAP
attachment is an important requirement for you application, you can use
WebLogic Web Services which supports SOAP Attachments.
Please refer to the following document for more information on this
http://e-docs.bea.com/wls/docs70/webserv/index.html
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Aalap" <[email protected]> wrote in message
news:3da1ebc4$[email protected]..
>
>
Hi,
Does Workshop support SOAP with Attachments? I am writing a web servicewhich
serves files (like MS-Word documents etc) to clients upon receiving theirrequest.
So what are the various options for sending the file to the client?
Please help.
Thanks in advance.
Regards,
Aalap Parikh. -
HTTPS or SOAP with attachments as text files
Hi ,
I it possible to receive or send text files using SOAP with attachments or HTTPS with attachments?
Best Regards,
Harleen Kaur ChadhaHello Harleen,
Check the following links, where you can send the text files as attachments.
Sending Text file without mapping using SOAP
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
Regards..
Krishna.. -
I recently built a new computer running Win 8.1. However, I have had trouble sending and receiving attachments with Earthlink Webmail on Firefox. I sometimes cannot see attachments to emails I receive, although the size of the file indicates they are there. When I try to send an email with attachments, the browser contacts Earthlink, and then the message reappears, but the attachments have been stripped. If I hit Send again, the message goes, but without the attachments. If I re-attach the attachments and hit send, they are again stripped. I contacted Earthlink support, and they told me it is a problem with Firefox. I then tried IE and was able to send the attachments without a problem.
I would really appreciate any help as Firefox is my browser of choice.1. Not sure how to send an email in a private browsing window... I use Earthlink Web Mail and I cannot find anything on that site about private browsing window.
2. Have not tried this yet, but will when I get a chance.
3. Not sure. My old computer ran XP. Never had the problem with it. Right now, it is not connected to the internet, so can't check it.
4. I neglected to mention... I did try IE and it worked fine.
I do have Norton 360 installed, but it was not a problem on the XP machine.
Thanks for your response. I have been so busy lately that I just now picked up your response. I have not had time t to try anything else.
As far as the file type, I was trying to send pdf files. Have not tried other file types.
Earthlink limits messages (and attachments) to 20 MB. The files were less than 3 MB. -
I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. And some contacts occasionally have problems opening files sent by me using Mail too. This was never a problem on pre-Intel Mac. A real Mac **** up ! Any ideas ?
Can you drag and drop the attachments visible in the email to the Desktop OK or does that fail ?
Re the sending: Are these recipients on Mac's or PC's as the file type could be an issue, if on Mac's then try setting the Mail Preferences Composing setting to Plain Text not Rich Text and see if that improves things. -
Email with attachments QPAC: setting "From" using process data doesn't work
Hi,
I trying to set the "From" in the Email with attachments QPAC from a process variable, let's call it "mailagent", which is of type xs:string.
So I use a set value QPAC, which sets the "mailagent" variable to "[email protected]". The workflow then continous with the Email QPAC.
Which stalls and throws the following exception:
javax.mail.MessagingException: 501 Syntax error, parameters in command "MAIL FROM:<{$/process_data/@mailagent$}>" unrecognized or missing
Hrm. I thought, I had already used the Email QPAC this way.
Is there some kind of magic to apply to the Email with attachments QPAC in order for it to accept process data in the "From"?
SteveYes, I'm sure, it worked for us to. But it obviously no longer does.
Yes, "mailagent" definitely is a variable of type string, though it's of type
xs:string. I'm no longer able to create variables, which don't feature the
xs namespace. Which is quite confusing as I've got absolutely no idea, what the
xs is used for.
We are using LiveCycle Workflow 7.2.1, the Email QPAC is 7.0.2. Is this the latest version?
Steve -
Hey Guys,
The title says it all. Whenever I receive an email with attachments, I will try to forward the email to someone with the attachments. Mac Mail shows that the attachments are attached, but the receiver says the attachments are not there. Our mail host is Rackspace. We are setup with IMAP. It should be noted that we are experiencing similar issues with OS 10.5.8 with Mac Mail 3.6 (936).
We assumed Rackspace was the problem, so we logged into their webmail portal and tested it and the attachments were received as normal, which points everything back to Mac Mail. We even had an ISP change but the problem do not change.
I have researched the problem, and there seems to be evidence of this being a known bug with Mac Mail, but I am hoping there is a workaround. The company is unwilling to move to a different mail client since they use Daylite 4, which does not support Thunderbird.Back up all data.
1. Triple-click the line below to select it:
~/Library/Mail/Bundles
Right-click or control-click the highlighted line and select
Services ▹ Open
from the contextual menu. A folder may open, or you may get an error message that the item can't be found. Either result is normal. If the folder does open and has contents, move the contents to the Desktop. Relaunch Mail and test. If there's no change, put the contents of the folder back and quit Mail again.
2. Repeat with this line:
/Library/Mail/Bundles
This time you may be prompted for your login password when you remove the items. Make sure they're removed from the folder and not just copied to the Desktop. If necessary, copy them first and then move the originals to the Trash. -
Sending mails with attachments using oracle 8i
Hi,
Could anybody please send a sample code for sending mails
with attachments using oracle 8i.
Thanks in advanceFor oracle8i there is an example package from OTN:
http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
You have to re-write the package a bit to work it with BLOBs instead of RAW attachments, but that should be no problem
Hop this helps,
Michiel -
Hey,
I'm trying to search a folder ( doesn't matter which ) for ONLY mails with attachments.
How can I use the search filter for that purpose?
Thanks!You can drag the attachment collumn from settings and sort on that collumn
In the main Outlook window, on the View menu, point to
Current View, and then click Customize Current View.
Click Fields. In the Available fields list, click the field that you want to add, and then click
Add.
Come back and mark replies as answer if they help, and help others with the same problem. If this post is helpful please vote it as Helpful on the left side. -
After over forty years in IT I am actually a platform agnostic however I have come to expect some developmental maturity across all products, especially in generally ubiquitous apps such as email. I am using OS X 10.8.3 on a 2013 build Mac Book Pro and am very happy overall. Is Apple planning on fixing the various problems with Attachments in Mail or are they relying on third party fixes and workarounds?
My apologies if I have caused offence, not my intention. I was unable to view attachements but have since discovered an addon app which solves the problem very neatly. By way of explanation my frustration comes from Apple appearing to indulge in client lock in as do Microsoft - this practice was "invented" by IBM and only served to irritate clients and inspire excellent work arounds by third parties - much the same as I notice with Apple. I thought Apple would have outgrown this after the IIe vs BBC but I see this is not the case. I have recently upgraded to Mavericks and have no problems with Mail but am now unable to transfer material from Mac Pro to Ipod unless I use the icloud - something I do not want to do for a variety of reasons, not the least being able to transfer MY data without the use of an unsecured transition area. I am very happy with the quality of the Mac Pro but less than happy with the restrictive practices of Apple; I realise Microsoft have similar practises but they are not as completely disruptive to what are generally simple operations commonly required when using computers.
My thanks to all the others who reponded - this is my first foray into the world of forums and I will continue to learn the rules.
Maybe you are looking for
-
ADplugin-how to populate Fullname in BO
Hi all Im on XI3.1 SP3, and have a working clustered environment, with AD-authentication. The problem we have, is that the BOuser and the BOfullname, is identical. In AD, the users have a describing name, like user "uu12345" is described as "Joe Smit
-
Error with premiere and windows 8.1
I have recently update my PC system to windows 8.1. I reinstalled Premiere 7.0 and now I can't make it work. It crushes when I try to create a new project and the program send a massage saying that there was an error and the program will close to try
-
greetings, i have 8 years of daily data written in pencil. each day's dated data is merely one number, three digits at most with a decimal point. each paper has a month of entries (365 papers times 8). how do i get the dated data into text if it's wr
-
Hi all can anyone send me the codes for creating POS sales order via BAPI. my Z* program should have the following featuer.: 1. Feature to get executed with read data from FILE and to get executed with read data from Z-Table 2. Create the SAP Sales
-
SQL Query base Finish goods year wise report
Hi I want to make query base year wise report of Finish Goods. example like : Item Name Year2010-11 Year2011-12 abc Sep Oct Nov Sep Oct Nov xyz 5 0 10