File Attachment and URL
I’ve developed a program that uploads files from a user local pc to an sftp server using cloned versions of PS delivered objects. In the 91 development instance it is working perfectly. However when I migrate it to ST it is failing.
The error is "URL Catalog entry 'MY_SS_FILE_IMPORT'” not found. (2,716) MY_FLE_ATCH_WRK.ATTACHADD.FieldChange Name: add_attachment called from:
MY_RCC_DSE013.GBL.MY_FLE_ATCH_WRK.ATTACHADD.FieldChange statement:8
The URL catalog entry specified in the first parameter of ViewURL() was not found.. "
The URL catalog MY_SS_FILE_IMPORT URL id is in the PSURLDEFN table just like in DV. Even in the PeopleTools Test Utility it works in DV but gets the “doesn’t see the url id in ST. But it is there. Anyone seen this before??
How did you migrate the url definition?
Manual, dms, application designer?
Manual
Typo?
DMS
Doesn't the url definitions, especially sftp, have a parameter table, where you define the userid/password/etc?
Application Designer
Should have been migrated fine.
Similar Messages
-
GS_CM. How to hide buttons: 'Attachment' and 'URL'
Hi,
Business object 'catalog product' use component GS_CM
We want to hide buttons: Attachment and URL
We need to use only button Advanced.
How I can customize it?
Denis.Dear Denis,
Enhance Component GS_CM and view DocList.
Redefine method IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS and implement the following code:
super->IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS( ).
delete gt_button where id ne 'advanced'.
Hope this helps.
Thanks
Vishal
Edited by: Vishal Kesar on Aug 9, 2011 2:07 PM -
How do I not show image file name, only url link - Acrobat Pro 9
Both file name and url ink show when placing cursor over image. I want to only have url link appear.
And if that's not possible, I want to then change the image file name. Any ideas?Use a button field for the link. You will have to add the action or JS code to open the link.
-
File Attachment - solution found !!!
For those that have been trying to use the file upload control that comes with the Business Process Editor, the solution below will allow you to get hold of the attached file attachment and encode the data in base64. There have been many questions on this but here is the solution from Sun Support and hope that this will help someone too:
<Field name='FileUpper-ad'>
<Display class='FileUpload'>
<Property name='title' value='JPEG Photo'/>
</Display>
</Field>
<Field name='accounts[MyLDAP].attachment'>
<Expansion>
<block>
<cond>
<isnull>
<ref>FileUpper-ad</ref>
</isnull>
<ref>accounts[MyLDAP].attachment</ref>
<new class='com.waveset.util.Binary'>
<ref>FileUpper-ad</ref>
</new>
</cond>
</block>
</Expansion>
</Field>
Thank you Sun support.The fileupload XPress control isnt so hard to understand. Difficult to use perhaps but not so ununderstandable.
From my experiments with a Form accessed by a browser started on a PC which is connecting to an IDM server running on a Solaris machine, the Upload control allows you to search for files on your PC (or on network disks accessible from the PC) and "upload" it. What I have seen is this control putting the uploaded file somewhere on the IDM server and naming it somehow. The trick is to store where IDM puts this uploaded copy and to figure out its name... so that in the future you can grab the file off the IDM server and attach it to an Email.... And of course unlink the uploaded file when you have no further use for it.
As you say there has been some discussion of this in the Sun IDM FAQ but nowhere is there a start to finish cookbook.
GF -
Hi all,
My scenario is as follows:
I have a Adobe Form which will have file attachments. The Form with the attachments will be sent from the SAP R/3 system itself. My work is to open the file which I am unable to do. Those attached files can be seen in the attachments option in the Adobe Reader and can open from there, but I am not able to open through my code. All the attached file's name, id and description are displayed in the table. Upon clicking the file name, the attachment should open. I have wrote the code for opening attachment which is working fine when I attach files in the Adobe Reader using a button click event (just using browse button and importDataObject method). The same code fails when I try to open the file which is received from the R/3 system.
I dont have a clue for what to do to import the file attachment and how can I relate the attachment with the fileID. Any help is of great use to me since I am new to this technology.Hi,
There is a discussion here: http://forums.adobe.com/message/1360859#1360859 and I have uploaded Paul's solution here: https://acrobat.com/#d=5gQoNybe75bwACDtfBToMA.
This might help you.
If you want the user to be able to attach files to the form, then it would need to be Reader Enabled using LC Reader Extensions, which is part of the server solution. See summary here: http://assure.ly/etkFNU.
Also this example might help: http://assure.ly/vRyoeQ.
Hope that helps,
Niall -
IMAP. Two Leopard Macs. 1st Mac sees file attachment 2nd Mac doesn't
I use two Mac computers both on 10.5.2, each running Apple Mail 3.2 to access Gmail's IMAP.
Worked well for ages, but recently, in one computer, I sent an email with a very large 3MB file attachment, and then transferred it to a folder. That was then reflected in Gmail's IMAP interface. Hence, as far as Gmail is concerned, the file attachment and email are there.
But when I used the 2nd Mac to download the same email, the email is there, but no file attachment.
When I open the particular email, there's an error message at the top of the email:
Apple-Mail-9-1026228142
Content-Type: text/plan; charset=WINDOWS-1252; format=flowed; delsp=yes
Content- Transfer-Encoding: quoted-printable
I've never seen that before.
Also, in the 2nd Mac, in Apple Mail, there is no paper clip icon that is usually associated with a file attachment.
Even stranger: A few days later, I initially used the 2nd Mac to download an email with a file attachment. So the email and file attachment are on the 2nd Mac. I verify that the email+file attachment are on Gmail's IMAP web interface.
The strange thing, however, is that the 1st Mac now only seems the same email, but no file attachment.
It almost seems as if whichever Mac I first use (either the 1st or 2nd Mac) to download an email with file attachment, that initial Mac sees the attachment. But subsequently, when the other of the Macs downloads the same attachment, it does not have the attachment.
As said, Gmail's webmail IMAP indicates the attachment is there.
Any ideas?I figured it out. I had been connecting to my router with Ethernet AND Airport (both were turned on in my Network preferences, and both had a green-light status of 'connected'). Don't know why that would have affected it, but when I turned OFF the airport connection everything was instantaneously corrected.
-
Attaching local URL via WS 2.0 returns SBL-DBC-00111 and SBL-EAI-04375
I can create attachments using Insert in WS 2.0. Now I need to create an attachment as URL to a local server, in the form User Guide suggests: as \\scdept\attachments\products.xls and I also know that I can do it via OD GUI.
But any attempt to do it via WS returns this error:
*Method 'WriteRecord' of business component 'Opportunity Attachment' (integration component 'Opportunity_Opportunity Attachment') for record with search specification '[Id] = "AIHA-HBX3A"' returned the following error:"An error has occurred writing to a record.*
*Please continue or ask your systems administrator to check your application configuration if the problem persists.(SBL-DBC-00111)"(SBL-EAI-04375)*
The SOAP call is this:
SOAP action is: document/urn:crmondemand/ws/ecbs/opportunity/:OpportunityInsert
SOAP body is: *<soap:Body><OpportunityInsert_Input xmlns="urn:crmondemand/ws/ecbs/opportunity/"><ListOfOpportunity recordcount="1" xmlns="urn:/crmondemand/xml/Opportunity/Data"><Opportunity><Id>AIHA-GVS1O</Id><OpportunityName>AIHA-GVS1O</OpportunityName><ListOfAttachment lastpage="true" recordcount="1"><Attachment><OpportunityId>AIHA-GVS1O</OpportunityId><DisplayFileName>AIHA-GVS1O_Form</DisplayFileName><FileNameOrURL>//backup/Shared/customers/AIHA-GVS1O_Form.txt</FileNameOrURL></Attachment></ListOfAttachment></Opportunity></ListOfOpportunity></OpportunityInsert_Input></soap:Body>*
I tried removing parent ID ( OpportunityId ), I tried adding +<FileExtension>URL</FileExtension>+, I tried specifying URL as file://backup/Shared/customers/AIHA-GVS1O_Form.txt, ... The same error is always returned.
Do I have to revert to WS 1.0? Does it work there?
Are file URLs supported at all with WS (as opposed to HTTP and FTP)?I saw this message recently in some testing, but only see it intermittently in one environment - did you ever resolve this issue?
-
I had this problem of not being able to open some files a couple of years ago and eventually was able to fix it but i can't remember how. Any help would be grateful.
The following document should help: Error: Adobe Reader could not open '*.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and was not correctly decoded.)
Please update this thread if your issue is resolved.
Thanks,
Shashi -
Can anyone assist me? I keep receiving this message when I download my ebook ''Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't decoded).'
Much appreciatedI think you should ask in the Digital Editions forum, Adobe Digital Editions
-
How Can I Attach and Link an XML file to a 3D Model in a PDF?
How Can I Attach and Link an XML file to a 3D Model in a PDF?
What I am trying to do is find out how to have a 3D model and a parts list linked to it within the PDF file. I would also like to be able to add to the parts list if at all possible once the pdf has been created. A template to create future PDF's with the 3D model and list might also be useful.
I am not entirely sure if this is all possible within a PDF file, but I have viewed a PDF (Adidas Trainer) example which has a Excel file attached to it which links to the 3D model. I have also had a look at partner products such as Lattice, Tetra4D, Anark, which can do animations and all sorts, but frankly it seems a bit overkill for what I am looking to do.
Please, any help would be appreciated. ThanksAlliCT59 wrote:
> Shared Object sounds like it would work, but hten agian,
I'm really stuck!
>
> Thanks for any help.
>
> Allison
I wrote about it while ago, let me paste the whole thing.
This example has simple
buttons which upon click go to new sites and in the same time
place record in form
of *.SOL file on user drive. That record is read when you hit
the next button and
based on that the button will be selected as the one last
clicked.
You could use the very same thing just instead of suppressing
button simply gotoAndPlay frame
to continue the part you need.
http://groups.google.com/group/macromedia.flash.actionscript/browse_thread/thread/36649453 1f4fd02d/245a57d0cdaa1d29?lnk=st&q=&rnum=3&hl=en#245a57d0cdaa1d29
The source is in a different place, i re-upload for you :
http://www.flashfugitive.com/stuff/SharedObj_urlcheck/
fla file
http://www.flashfugitive.com/stuff/SharedObj_urlcheck/beentourl.fla
Best Regards
Urami
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to send emails with photos embedded. I like adding the frames and backgrounds and I think it's easier for recipients to look at the photos. Thanks for any suggestions of things to try.
GailI had a similar problem in that my wife's iphone 5 could not send pics with imessage. Had to set the settings to default to SMS or whatever. After laboring many hours on the web I coincidentally was on the phone with the internet people to question my internet speed. They changed the router channel, which is something that I am capable of doing myself. After that, the pics go over imessage. My own Iphone didn't have the problem. We are both latest IOS 7.0.6.
-
Why can't I open a pdf file on my desktop? I have Adobe Reader and running OS 10.10.1 I keep getting the same message: "Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."
I tried that.
I saved the file 8pdk_96_4.pdf to my desktop and tried to open it using Adobe Reader but I get the same message: Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). -
Hi PI Experts,
I have a requirement File(.txt) - PI(7.4) - mail (.xls attachment and signature in the body). Can anyone pls help me with the best approach to send excel file as mail attachment and signature in the body.
Thanks,
SriHi
You can try this approach
1. use mail package and java mapping to populate the mail package.
inside the java mapping do the following
a. read the text file and convert it to excel and then set it as additional attachment.
b. map the signature and body with the field 'content' of mail package.
2. on the receiver mail adapter check both mail package and keep attachment options.
Hopefully this will work.
Reference links
excel write : Excel and Java - Read and Write Excel with Java - Tutorial
set attachment: How to save MainDocument as additonal attachment in sender channel? -
I have some more problem in the web.xml file and url-pattern in my syste
HI ALL!
How can I create and place the web.xml and URL-parrten.Because I run
the tomcat in my computer with ME system.
Hocwhat is the problem? please be more specific and detailed? check a sample web.xml file and make your own one and place it in your <application-context>\WEB-INF folder..
-
To Send HTML Format and excel file attachment in same mail
Dear All,
Have requerment ,to send a mail options HTML table format and same data in excel file attachement.have capable to do the html format using methods BCS .but how to send excel format attachment in same mail.
Please guide me how to do it.
Regards ,
Santhu
Edited by: santosh jajur on Apr 9, 2010 1:54 PMSanthosh,
please check the code:
report bcs_example_7.
This report provides an example for sending an Excel
attachment in Unicode Systems
constants:
gc_tab type c value cl_bcs_convert=>gc_tab,
gc_crlf type c value cl_bcs_convert=>gc_crlf.
parameters:
mailto type ad_smtpadr
default 'ur mail id'. "#EC *
data send_request type ref to cl_bcs.
data document type ref to cl_document_bcs.
data recipient type ref to if_recipient_bcs.
data bcs_exception type ref to cx_bcs.
data main_text type bcsy_text.
data binary_content type solix_tab.
data size type so_obj_len.
data sent_to_all type os_boolean.
start-of-selection.
perform create_content.
perform send.
form send.
try.
send_request = cl_bcs=>create_persistent( ).
create document object from internal table with text
append 'Hello world!' to main_text. "#EC NOTEXT
document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = main_text
i_subject = 'Test Created By BCS_EXAMPLE_7' ). "#EC NOTEXT
add the spread sheet as attachment to document object
document->add_attachment(
i_attachment_type = 'xls' "#EC NOTEXT
i_attachment_subject = 'ExampleSpreadSheet' "#EC NOTEXT
i_attachment_size = size
i_att_content_hex = binary_content ).
add document object to send request
send_request->set_document( document ).
--------- add recipient (e-mail address) -----------------------
create recipient object
recipient = cl_cam_address_bcs=>create_internet_address( mailto ).
add recipient object to send request
send_request->add_recipient( recipient ).
---------- send document ---------------------------------------
sent_to_all = send_request->send( i_with_error_screen = 'X' ).
commit work.
if sent_to_all is initial.
message i500(sbcoms) with mailto.
else.
message s022(so).
endif.
endtry.
endform. "send
form create_content.
data lv_string type string.
data ls_t100 type t100.
columns are separated by TAB and each line ends with CRLF
concatenate 'This Is Just Example Text!' "#EC NOTEXT
gc_crlf gc_crlf
into lv_string.
header line
concatenate lv_string
'MSGID' gc_tab
'MSGNO' gc_tab
'Language' gc_tab "#EC NOTEXT
'Text' gc_crlf "#EC NOTEXT
into lv_string.
data lines
select * from t100 into ls_t100
where arbgb = 'SO' and msgnr = '182'.
concatenate lv_string
ls_t100-arbgb gc_tab
ls_t100-msgnr gc_tab
ls_t100-sprsl gc_tab
ls_t100-text gc_crlf
into lv_string.
endselect.
select * from t100 into ls_t100
where arbgb = 'SO' and msgnr = '316'.
concatenate lv_string
ls_t100-arbgb gc_tab
ls_t100-msgnr gc_tab
ls_t100-sprsl gc_tab
ls_t100-text gc_crlf
into lv_string.
endselect.
try.
cl_bcs_convert=>string_to_solix(
exporting
iv_string = lv_string
iv_codepage = '4103' "suitable for MS Excel, leave empty
iv_add_bom = 'X' "for other doc types
importing
et_solix = binary_content
ev_size = size ).
catch cx_bcs.
message e445(so).
endtry.
endform. "create_content
Thanks.
Maybe you are looking for
-
Why can't I access my gmail from firefox?
I see there are many folks having this same problem. Why??? I'm using windows 7. It's only the gmail that I can not access. I can access other google pages, just not gmail. Very frustrating!
-
ok, here's the story. my wife's mac mini (brand new) locks up and it for a force shut down. I start it up again and it comes up (after about a minute) with the dreaded blinking blue question mark saying that it can't find the system folder. there is
-
Openstack Boot loader didn't return any data
I have installed opesntack using http://www.oracle.com/technetwork/server-storage/vm/ovm-linux-openstack-2202503.pdf When I launch an instance I get an error related to storage. I have created an image using an iso file. This is the first attempt
-
Why I can't find the Firefox app in the IOS app store?
Hello I am almost 10 years user of FF, long back with my PC and now with my MAC. and I'd love to have installed on my Iphone/Ipad and pair the explorer together so, all my bookmarks/passwords/sites, be all in one place my FF around all my IOS devices
-
Hasta donde se, dentro de la carpeta de instalación de SAP, se encuentra un archivo llamado B1UPF, el cual si lo abro con excel me entrega todos los usuarios que existen con cada una de las licencias que tiene asignado, ademas dice si tiene conexión