BLOB download via WPG_DOCLOAD not working: what's with the document table?
Hi,
We upgrade our APEX application to 4.2 on RDBMS 11.2.0.1.0, and now our file downloads are failing with 404-not found errors.
Documents are stored as BLOBs in a dedicated table TICKETDOC. Uploading works fine via APEX, I can query the docs in the table and all is looking fine so far.
I have a report column formatted as HTML, making it a clickable thumbnail which should open the file in a separate browser window when clicked.
HTML format for column:
+*
<img src="#OWNER#.DOWNLOAD_FILE?p_id=#THUMBNAIL#" height=40">
</a>
*+
This is supposed to call our own procedure TICKET.DOWNLOAD_FILE, which calls WPG_DOCLOAD:
+*
create or replace
PROCEDURE "DOWNLOAD_FILE" (p_id in number) AS
l_mime varchar2(255);
l_length number;
l_file_name varchar2(2000);
lob_loc BLOB;
v_found BOOLEAN := FALSE;
CURSOR c_doc IS
SELECT doctype, doc, naam, DBMS_LOB.GETLENGTH(doc)
FROM ticketdoc
WHERE ticketdocid = p_id;
CURSOR c_mail IS
SELECT mimetype, content_attachment, filenaam, DBMS_LOB.GETLENGTH(content_attachment)
FROM mailattachment
WHERE mailattachmentid = p_id;
param_val owa.vc_arr;
p_table Varchar2(200);
l_errm varchar2(2000);
BEGIN
p_table := 'TICKETDOC';
IF p_table = 'TICKETDOC' THEN
OPEN c_doc;
FETCH c_doc INTO l_mime, lob_loc, l_file_name, l_length;
IF c_doc%FOUND THEN
v_found := TRUE;
else
END IF;
CLOSE c_doc;
ELSIF p_table = 'MAILATTACHEMENT' THEN
OPEN c_mail;
FETCH c_mail INTO l_mime, lob_loc, l_file_name, l_length;
IF c_mail%FOUND THEN
v_found := TRUE;
END IF;
CLOSE c_mail;
END IF;
IF v_found THEN
--initialise owa with some environment variable
param_val (1) := 1;
owa.init_cgi_env(param_val) ;
-- Set up HTTP header
-- Use an NVL around the mime type and if it is a null, set it to
-- application/octect - which may launch a download window from windows
owa_util.mime_header(nvl(l_mime,'application/octet-stream'), FALSE );
-- Set the size so the browser knows how much to download
htp.p('Content-length: ' || l_length);
-- The filename will be used by the browser if the users does a "Save as"
htp.p('Content-Disposition: attachment; filename="' || l_file_name || '"');
-- Close the headers
owa_util.http_header_close;
-- Download the BLOB
wpg_docload.download_file( Lob_loc );
END IF;
exception
when others then
l_errm := sqlerrm;
raise;
END;
*+
The idea is to display a thumbnail image which, when clicked, will open the document (image, pdf, whatever) in a new browser window.
Executing the procedure in SQLDeveloper works fine and I can query the downloaded BLOB (getlength etc).
However, when I click the thumbnail in the APEX application I get a 404.
Enabling debug via exec dbms_epg.set_dad_attribute('APEX', 'error-style', 'DebugStyle') yields the following:
+*
Fri, 31 May 2013 09:41:35 GMT
Error retrieving document.
Please verify that the document you requested exists in the document table
DAD name: apex
PROCEDURE : TICKET.DOWNLOAD_FILE
URL : http://XDB HTTP Server:8080/apex/TICKET.DOWNLOAD_FILE?p_id=1091
PARAMETERS :
===========
p_id:
1091
ENVIRONMENT:
============
PLSQL_GATEWAY=WebDb
GATEWAY_IVERSION=2
SERVER_SOFTWARE=Oracle Embedded PL/SQL Gateway/11.2.0.1.0
GATEWAY_INTERFACE=CGI/1.1
SERVER_PORT=8080
SERVER_NAME=XDB HTTP Server
REQUEST_METHOD=GET
QUERY_STRING=p_id=1091
PATH_INFO=/TICKET.DOWNLOAD_FILE
SCRIPT_NAME=/apex
REMOTE_HOST=
REMOTE_ADDR=127.0.0.1
SERVER_PROTOCOL=HTTP/1.1
REQUEST_PROTOCOL=HTTP
REMOTE_USER=ANONYMOUS
ORACLE_SSO_USER=
OSSO_IDLE_TIMEOUT_EXCEEDED=
OSSO_USER_GUID=
HTTP_CONTENT_LENGTH=0
HTTP_CONTENT_TYPE=
HTTP_USER_AGENT=Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
HTTP_HOST=localhost:8080
HTTP_ACCEPT=text/html,application/xhtml+xml,*/*
HTTP_ACCEPT_ENCODING=gzip,deflate
HTTP_ACCEPT_LANGUAGE=nl-BE,en-US;q=0.5
HTTP_ACCEPT_CHARSET=
HTTP_COOKIE=__utmc=31852350; __utmz=31852350.1366364489.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=31852350.974780296.1366364489.1366364489.1369990367.2; ORA_WWV_USER_61804796552973=930EBD5017F98F039F659148EAE74140; ORA_WWV_REMEMBER_UN=JO:ticket; ORA_WWV_F4000_P4150_TREE=RenderingTree%3A3727930518286945_columns%3A3729417793306453; SHARED_SESSION=87D7D96BC5A457924CB86A817315D30E; [email protected]
HTTP_IF_MODIFIED_SINCE=
HTTP_REFERER=http://10.0.25.1/apex/f?p=101:40:7036965658754:::::
HTTP_SOAPACTION=
HTTP_ORACLE_ECID=
HTTP_ORACLE_CACHE_VERSION=
HTTP_AUTHORIZATION=
WEB_AUTHENT_PREFIX=
DAD_NAME=apex
DOC_ACCESS_PATH=docs
DOCUMENT_TABLE=wwv_flow_file_objects$
PATH_ALIAS=
REQUEST_CHARSET=AL32UTF8
REQUEST_IANA_CHARSET=UTF-8
SCRIPT_PREFIX=
HTTP_IF_MATCH=
HTTP_CACHE_CONTROL=
SOAP_BODY=
HTTP_X_ORACLE_DEVICE_CLASS=
HTTP_X_ORACLE_DEVICE_ORIENTATION=
HTTP_X_ORACLE_DEVICE_MAXDOCSIZE=
HTTP_X_ORACLE_DEVICE=
HTTP_X_ORACLE_ORIG_ACCEPT=
HTTP_X_ORACLE_ORIG_USER_AGENT=
HTTP_X_ORACLE_USER_LOCALE=
HTTP_X_ORACLE_USER_NAME=
HTTP_X_ORACLE_USER_DISPLAYNAME=
HTTP_X_ORACLE_USER_USERKIND=
HTTP_X_ORACLE_USER_AUTHKIND=
HTTP_X_ORACLE_USER_DEVICEID=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE1=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE2=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLASTLINE=
HTTP_X_ORACLE_USER_LOCATION_BLOCK=
HTTP_X_ORACLE_USER_LOCATION_CITY=
HTTP_X_ORACLE_USER_LOCATION_COMPANYNAME=
HTTP_X_ORACLE_USER_LOCATION_COUNTY=
HTTP_X_ORACLE_USER_LOCATION_STATE=
HTTP_X_ORACLE_USER_LOCATION_POSTALCODE=
HTTP_X_ORACLE_USER_LOCATION_POSTALCODEEXT=
HTTP_X_ORACLE_USER_LOCATION_COUNTRY=
HTTP_X_ORACLE_USER_LOCATION_TYPE=
HTTP_X_ORACLE_USER_LOCATION_X=
HTTP_X_ORACLE_USER_LOCATION_Y=
HTTP_X_ORACLE_SERVICE_HOME_URL=
HTTP_X_ORACLE_SERVICE_PARENT_URL=
HTTP_X_ORACLE_HOME_URL=
HTTP_X_ORACLE_MODULE_CALLBACK_URL=
HTTP_X_ORACLE_MODULE_CALLBACK_LABEL=
HTTP_X_ORACLE_CACHE_USER=
HTTP_X_ORACLE_CACHE_SUBID=
HTTP_X_ORACLE_CACHE_AUTH=
HTTP_X_ORACLE_CACHE_DEVICE=
HTTP_X_ORACLE_CACHE_LANG=
HTTP_X_ORACLE_CACHE_ENCRYPT=
HTTP_X_ORACLE_ASSERT_USER=
*+
I made minor adjustments to the original (pre-4.2) code:
* initialised owa with some environment variable
* registered DOWNLOAD_FILE in wwv_flow_epg_include_mod_local
but still no success.
Any ideas on how to fix this?
Greetz
Jo
As I understand:
The procedure works.
The link 'appears' to work. (ie you saw the procedure run a 2nd at the database level)
But it doesn't actually work (because you get a 404)
I think I ran into an issue, on a completely different page type, that produced an 'error 404'. (I can't seem to reproduce it, though)
The only way I discovered what was really going on was with an HTTP sniffer. (eg HTTPFox for FireFox)
Through that, I noticed that the browser was (for some reason) calling a completely non-sensible APEX page. (hence the PAGE NOT FOUND error)
My solution was to add a "submit to self" branch point.
If that doesn't work, I'm at a loss.
MK
Similar Messages
-
HT4918 what happen with the documents in Idisk, how can i see them in iCloud?
what happen with the documents that i have in my idisk?? how can i move them into icloud??
Welcome to the Apple Community.
Unfortunately, iCloud does not offer equivalents to Mobile Me’s iDisk, Gallery or Web Hosting services. You will need to find a third party solution to replace these services. You might consider DropBox, SugarSync, MediaFire or any other service that offers online storage. (not all these alternatives offer all the services previously provided by iDisk) -
Blob download via wpg_docload is not working
Hi,
I've installed a new oracle database server and installed Apex 4.1 recently then transferred my old data and applications from old server.
My new configurations are
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - ProductionMy oracle Enterprise Manager shows
Hosts 1 Application Servers 1
OC4J Instances 1 HTTP Server Instances 1Previously I had Apex 4.0.1 on Apex Listener via Glassfish Server and all of my applications were working perfectly. But on new installation the page which downloads report, via generating rtf code and downloading it through blob, is not working.
Declare
l_mime varchar2 (255);
l_length number;
l_file_name varchar2 (2000);
l_lob_loc blob;
l_rtf clob;
l_name varchar2(100);
-- conversion variables
l_src_offset number := 1;
l_dest_offset number := 1;
l_lang_ctx number := 0;
l_warning varchar2(32767);
begin
-- get name
select 'testrtf'
into l_name
from dual;
-- generate document
select :P16_RTF into l_rtf from dual;
--:P16_RTF contains rtf code.
-- convert to lob
dbms_lob.createtemporary(l_lob_loc, false);
dbms_lob.converttoblob(l_lob_loc, l_rtf, DBMS_LOB.GETLENGTH(l_rtf), l_dest_offset, l_src_offset, 0, l_lang_ctx, l_warning);
l_length := dbms_lob.getlength(l_lob_loc);
-- http header
owa_util.mime_header('application/rtf', false);
htp.p('Content-length: ' || l_length);
htp.p('Content-Disposition: attachment; filename="'||l_name||'.rtf"');
owa_util.http_header_close;
-- download blob
wpg_docload.download_file (l_lob_loc);
end;I've searched and found no help but it seems that there is some DAD configuration problem. my DAD file is like
<Location /pls/apex>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlDatabaseConnectString db:1521:orcl ServiceNameFormat
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDefaultPage apex
PlsqlDatabasePassword ******
PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
Allow from all
</Location>and I wasn't able to find wwv_flow_file_objects$ either. Any suggestions.
Regards
Sabir
Edited by: sabir786 on Dec 29, 2011 11:37 AMThanks Joel,
not working means the rtf document produced by code does not download
and I just performed export and import of application from old server to new server.
and it still works on the old server.
and code is not altered
and debug does not show anything special. it shows that all parts are working
and it seems that process is executing and after execution there no download dialog box or file saving process.
Elapsed Execution Message Level
Graph
0.00000 0.00000 A C C E P T: Request="DOWNLOAD" 4
0.00000 0.00000 Metadata: Fetch application definition and shortcuts 4
0.00000 0.00000 NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us 4
0.00000 0.00000 alter session set nls_language="AMERICAN" 4
0.00000 0.00000 alter session set nls_territory="AMERICA" 4
0.00000 0.00000 NLS: CSV charset=WE8MSWIN1252 4
0.00000 0.00000 ...NLS: Set Decimal separator="." 4
0.00000 0.00000 ...NLS: Set NLS Group separator="," 4
0.00000 0.00000 ...NLS: Set g_nls_date_format="DD-MM-RR" 4
0.00000 0.00000 ...NLS: Set g_nls_timestamp_format="DD-MM-RR HH.MI.SSXFF AM" 4
0.00000 0.00000 ...NLS: Set g_nls_timestamp_tz_format="DD-MM-RR HH.MI.SSXFF AM TZR" 4
0.00000 0.00000 ...Setting session time_zone to +05:00 4
0.00000 0.00000 Setting NLS_DATE_FORMAT to application date format: DD-MM-YYYY 4
0.00000 0.00000 ...NLS: Set g_nls_date_format="DD-MM-YYYY" 4
0.00000 0.00000 ...NLS: Set g_nls_timestamp_format="DD-MM-RR HH.MI.SSXFF AM" 4
0.00000 0.00000 ...NLS: Set g_nls_timestamp_tz_format="DD-MM-RR HH.MI.SSXFF AM TZR" 4
0.00000 0.00000 ...metadata, fetch translated app info 4
0.00000 0.03200 ...fetch session state from database 4
0.03200 0.00000 fetch items 4
0.03200 0.00000 ...fetched 0 session state items 4
0.03200 0.00000 Authentication check: MY_AUTH (NATIVE_CUSTOM) 4
0.03200 0.00000 ... sentry+verification success 4
0.03200 0.00000 ...Session ID 3463045368955985 can be used 4
0.03200 0.00000 ...Check session 3463045368955985 owner 4
0.03200 0.00000 Setting NLS_DATE_FORMAT to application date format: DD-MM-YYYY 4
0.03200 0.01500 ...NLS: Set g_nls_date_format="DD-MM-YYYY" 4
0.04700 0.00000 ...NLS: Set g_nls_timestamp_format="DD-MM-RR HH.MI.SSXFF AM" 4
0.04700 0.01600 ...NLS: Set g_nls_timestamp_tz_format="DD-MM-RR HH.MI.SSXFF AM TZR" 4
0.06300 0.01600 ...Check for session expiration: 4
0.07900 0.00000 ...Metadata: Fetch Page, Computation, Process, and Branch 4
0.07900 0.00000 Session: Fetch session header information 4
0.07900 0.00000 ...metadata, fetch page info 4
0.07900 0.00000 ...Validate item page affinity. 4
0.07900 0.00000 ...Validate hidden_protected items. 4
0.07900 0.00000 ...Check authorization security schemes 4
0.07900 0.00000 Authorization Check: "Check Permissions" Caching: "BY_USER_BY_PAGE_VIEW" Component: "APPLICATION" 4
0.07900 0.00000 ...Execute Statement: select count(*) from dual where exists (select 1 from --omitted--) 4
0.07900 0.01500 ... passed 4
0.09400 0.00000 Session State: Save form items and p_arg_values 4
0.09400 0.00000 ...Session State: Save Item "P16_RTF" newValue="{\rtf1\ansi\deff0 {\fonttbl {\f0 Courier;}} {\colortbl;\red0\green0\blue0;\red255\green0\blue0;} \landscape \paperw15840\paperh12240\margl720\margr720\margt720\margb720 \tx720\tx1440\tx2880\tx5760 This line is the default color\line \tab this line has 1 tab\line \tab\tab this line has 2 tabs\line \tab\tab\tab this line has 3 tabs\line \tab\tab\tab\tab this line has 4 tabs\line \cf2 \tab This line is red and has a tab before it\line \cf1 \page \par\pard\tx1440\tx2880 This line is the default color and the first line on page 2\line \tab\tab This is the second tab on the second line on the second page\line \page \par\pard This is the third page with formatting examples\line \fs30 First line with 15 point text\line \fs20 Second line with 10 point test\line \i Italics on \i0 Italics off\line \b Bold on \b0 Bold off\line \scaps Small Caps On \scaps0 Small Caps Off\line \strike Stike through on \strike0 Strike Off\line \caps All Capitals On \caps0 All Capitals Off\line \outl Outline on \outl0 Outline Off\line \ul Underline on \ul0 Underline Off\line \uldb Double Underline on \ul0 Double Underline Off\line \ulth Thick Underline on \ul0 Thick Underline Off\line \ulw Underline words only on \ul0 Underline words only off\line \ulwave Wave Underline on \ul0 Wave underline off\line \uld Dotted Underline on \ul0 Dotted underline off\line \uldash Dash Underline on \ul0 Dash underline off\line \uldashd Dot Dash Underline on \ul0 Dot Dash underline off\line } " "escape_on_input="N" 4
0.09400 0.00000 ...Session State: Save Item "P16_TESTRTF" newValue="" "escape_on_input="N" 4
0.09400 0.01600 Processes - point: ON_SUBMIT_BEFORE_COMPUTATION 4
0.11000 0.00000 Branch point: Before Computation 4
0.11000 0.00000 Computation point: After Submit 4
0.11000 0.00000 Tabs: Perform Branching for Tab Requests 4
0.11000 0.00000 Branch point: Before Validation 4
0.11000 0.00000 Validations: 4
0.11000 0.00000 Perform basic and predefined validations: 4
0.11000 0.00000 Perform custom validations: 4
0.11000 0.00000 Branch point: Before Processing 4
0.11000 0.00000 Processes - point: AFTER_SUBMIT 4
0.11000 0.01500 ...Process "Download" - Type: PLSQL 4
0.12500 0.03200 ...Execute Statement: begin Declare l_mime varchar2 (255); l_length number; l_file_name varchar2 (2000); l_lob_loc blob; l_rtf clob; l_name varchar2(100); -- conversion variables l_src_offset number := 1; l_dest_offset number := 1; l_lang_ctx number := 0; l_warning varchar2(32767); begin -- get name select 'testrtf' into l_name from dual; l_rtf := '{\rtf1\ansi\deff0 {\fonttbl {\f0 Courier;}}'; l_rtf := l_rtf || '{\colortbl;\red0\green0\blue0;\red255\green0\blue0;}'; l_rtf := l_rtf || '\landscape'; l_rtf := l_rtf || '\paperw15840\paperh12240\margl720\margr720\margt720\margb720'; l_rtf := l_rtf || '\tx720\tx1440\tx2880\tx5760'; l_rtf := l_rtf || 'This line is the default color\line'; l_rtf := l_rtf || '\tab this line has 1 tab\line'; l_rtf := l_rtf || '\tab\tab this line has 2 tabs\line'; l_rtf := l_rtf || '\tab\tab\tab this line has 3 tabs\line'; l_rtf := l_rtf || '\tab\tab\tab\tab this line has 4 tabs\line \cf2'; l_rtf := l_rtf || '\tab This line is red and has a tab before it\line'; l_rtf := l_rtf || '\cf1 \page'; l_rtf := l_rtf || '\par\pard\tx1440\tx2880'; l_rtf := l_rtf || 'This line is the default color and the first line on page 2\line'; l_rtf := l_rtf || '\tab\tab This is the second tab on the second line on the second page\line'; l_rtf := l_rtf || '\page'; l_rtf := l_rtf || '\par\pard'; l_rtf := l_rtf || 'This is the third page with formatting examples\line'; l_rtf := l_rtf || '\fs30 First line with 15 point text\line'; l_rtf := l_rtf || '\fs20 Second line with 10 point test\line'; l_rtf := l_rtf || '\i Italics on \i0 Italics off\line'; l_rtf := l_rtf || '\b Bold on \b0 Bold off\line'; l_rtf := l_rtf || '\scaps Small Caps On \scaps0 Small Caps Off\line'; l_rtf := l_rtf || '\strike Stike through on \strike0 Strike Off\line'; l_rtf := l_rtf || '\caps All Capitals On \caps0 All Capitals Off\line'; l_rtf := l_rtf || '\outl Outline on \outl0 Outline Off\line'; l_rtf := l_rtf || '\ul Underline on \ul0 Underline Off\line'; l_rtf := l_rtf || '\uldb Double Underline on \ul0 Double Underline Off\line'; l_rtf := l_rtf || '\ulth Thick Underline on \ul0 Thick Underline Off\line'; l_rtf := l_rtf || '\ulw Underline words only on \ul0 Underline words only off\line'; l_rtf := l_rtf || '\ulwave Wave Underline on \ul0 Wave underline off\line'; l_rtf := l_rtf || '\uld Dotted Underline on \ul0 Dotted underline off\line'; l_rtf := l_rtf || '\uldash Dash Underline on \ul0 Dash underline off\line'; l_rtf := l_rtf || '\uldashd Dot Dash Underline on \ul0 Dot Dash underline off\line}'; -- generate document -- select :P16_RTF into l_rtf from dual; -- convert to lob dbms_lob.createtemporary(l_lob_loc, false); dbms_lob.converttoblob(l_lob_loc, l_rtf, DBMS_LOB.GETLENGTH(l_rtf), l_dest_offset, l_src_offset, 0, l_lang_ctx, l_warning); l_length := dbms_lob.getlength(l_lob_loc); -- http header owa_util.mime_header('application/rtf', false); htp.p('Content-length: ' || l_length); htp.p('Content-Disposition: attachment; filename="'||l_name||'.rtf"'); owa_util.http_header_close; -- download blob wpg_docload.download_file (l_lob_loc); exception when others then htp.p('Error printing'); end; end; 4
0.15700 0.00000 ...Process "Ages" - Type: PLSQL 4
0.15700 0.00000 ......Skip because condition or authorization evaluates to FALSE 4
0.15700 0.00000 ...Process "Ages_table" - Type: PLSQL 4
0.15700 0.00000 ......Skip because "When Button Pressed" doesn't match with REQUEST 4
0.15700 0.00000 Branch point: After Processing 4
0.15700 0.00000 ...No branch specified, redirect to current page 4
0.15700 0.00000 Stop APEX Engine detected 4
0.15700 0.00000 Stop APEX Engine detected 4
0.15700 0.00000 Final commit 4
0.15700 - End Page Processing 4 - -
4.2 blob download format mask not working
I am using Apex 4.2
I have been working through the book Beginning Oracle Application Express 4. In chapter 6 the a blob is added to a report.
I have pasted the code example into the report definition (albeit with my own page numbers) :
SELECT
"TICKET_DETAILS"."TICKET_DETAILS_ID" "TICKET_DETAILS_ID",
"TICKET_DETAILS"."TICKET_ID" "TICKET_ID",
"TICKET_DETAILS"."DETAILS" "DETAILS",
"TICKET_DETAILS"."CREATED_ON" "CREATED_ON",
"TICKET_DETAILS"."CREATED_BY" "CREATED_BY",
dbms_lob.getlength("ATTACHMENT") ATTACHMENT
FROM
"TICKET_DETAILS"
WHERE (("TICKET_DETAILS"."TICKET_ID" = :P5_TICKET_ID))
I go to the report attributes and click on the attachment column. I enter the suggested format mask
DOWNLOAD:TICKET_DETAILS:ATTACHMENT:TICKET_DETAILS_ID::MIME_TYPE:FILE_NAME:::inline:Download.
When I press apply I keep getting :
1 error has occurred
"" not found. (Go to error)
I have confirmed that the query runs and that P5_TICKET_ID does exist on page 5.
Not understanding what this meant I tracked down this page
17.10 About BLOB Support in Forms and Reports
and the section "Providing a Download Link" seems to confirm that the above format mask is correct.
Any pointers would be greatly appreciated.I've also done the exercises in the book and it worked for me.
Your format mask is correct. But before pressing submit you also have to enter the blob column attributes:
*Format Mask (Value Required): DOWNLOAD
*Blob Table (Value Required): TICKET_DETAILS
*Blob Column (Value Required): ATTACHMENT
*Primary Key Column 1 (Value Required): TICKET_DETAILS_ID
Primary Key Column 2:
Mimetype Column: MIME_TYPE
Filename Column: FILE_NAME
Last Updated Column
Character Set Column:
Content Disposition: ATTACHMENT
Download Text: Download
Maybe you forgot that? -
EBS - Auto posting not working if text behind the document number
Hi,
When the document number is at the end of the payment reference, there is no problem.
However, when there is text behind the document number, the posting rule doesn't work anymore.
The autoposting also fails when there is a seperator (like a comma) directly added to the document number.
- In the posting rule for invoice numbers (BE51), it is able to find multiple invoice numbers and clear these together.
We were expecting this posting rule will behave the same, so when a customer mentions more than 1 document number,
it is able to find them all and clear if they fulfill the criteria (total amount of the documents matches the amount received).
But because of 1st mentioned problem, system doesn't clear anything because of additional text present.
I am look help to solve this issue
Thanks.
With regards,
V.K
Best regards,Hi,
Any input for above issue?
With regards,
V.K -
i tried to install an update of my ios via itunes and my phone was totally cleared. right now im trying to activate it again, its not working. what can i do?
You will need to restore the software via the following procedure:
Turn your device off and connect your cable to the computer, but not the device just yet. Start up iTunes. Now, hold down the home button on your device and plug it in to the cable - don't let go of the button until iTunes tells you it's detected a device in recovery mode. Now you can restore to factory settings. -
my creative cloud downloaded and so did PS but now its saying there is an error...update failed and im retrying it but its not working what do i do?
For general advice see Troubleshooting issues with iTunes for Windows updates.
The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
If you've already tried a complete uninstall and reinstall try opening iTunes in safe mode (hold down CTRL+SHIFT as you start iTunes) then going to Edit > Preferences > Storeand turning off Show iTunes in the Cloud purchases. You may find iTunes will now start normally.
tt2 -
i want to play candy crush on Facebook and it says i need latest version of adobe flash player, i downloaded it and it still doesn't work. i uninstalled and re installed and still not working. what is wrong? what do i need to do,
-
I bought the production premium , cs6 , and I download it and registered with out any problem , I formatted my computer then I downloaded the collection , now everything else working only after effect is not working , what shall i do
did ae install without problem? check the install logs to be sure (Troubleshoot with install logs | CS5, CS5.5, CS6, CC)
if it did, what do you see when clicking the executable? -
Download option is not working
my nokia x6 00 ,in Nokia Store option ..download option is not working
Moderator's note: We have provided a subject-related title to help other forum users easily view and respond to this post.Hi ahrar3359,
Welcome to the Nokia Support Discussions!
Can you further elaborate on your concern? What exactly do you mean by "download option is not working"? Can you select the Download option? If not, can you describe it? Is it grey out? Any error message? Does this happen to all of your apps? BTW, how are you accessing the Nokia Store? Is it via the Nokia Store app or through your phone browser? If you're using the app, try to access it via phone browser to check if the same issue will occur.
If you are using the app, make sure that it is up to date. You can update it by going to store.nokia.mobi through your phone browser. You can also try to restart the phone to refresh it. Hope this helps. -
HT1212 my ipod touch disabled and my p.c not working what do i do
my ipod touch disabled and my p.c not working what do i do
Thgen the iPod needs a wifi connection to the internet and yo need another iPod, iPhone or iPad with the FindMyiPhone app. you can also yse any computer too
Only if:
If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone and use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.
You can also wipe the iOS device by installing the FindMyiPhone app on another iOS device and using that app to wipe the device.
Via USB with any computer with iTunes and an internet connection
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Wrong passcode results in red disabled screen
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: Back up and restore your iOS device with iCloud or iTunes
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode. -
My photozoomer is not working.what should i do?
I installed addons from your website.it showed that it was installed properly but when i go in facebook it is not working.what should i do now.
Sorry, I don't see an add-on by the name of '''photozoomer''' or '''photo zoomer''' at the Add-ons website to try to help you figure that out. Have you read the download page for that add-on to find a support address for that add-on? Each add-on developer is supposed to provide that information on the download page, and also provide support for their product, either directly or via a user-to-user support fora.
-
Adobe download assistant will not work on my machine?
Adobe download assistant will not work on my machine. When i try to start it i get a message saying "Sorry an error has occurred. This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance." Any ideas what to do
Are you using Mac OS? If so please try removing the Adobe Download Assistant from your Applications folder and try again. This issue is documented in the Known Issues section of Troubleshoot Adobe Download Assistant - http://helpx.adobe.com/creative-suite/kb/troubleshoot-download-assistant.html.
-
Please help me my apple id its not working what do i do?
please help me my apple id is not working what do i do
If you desire speedy resolution it helps to be more specific with error messages etc. when asking a question here.
iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store -
my sons ipod is disabled from trying password to many times my usb port on my computer does not work. what else can i do to get this disabled off my sons ipod please help!!!
The only thing you can do is place the iPod in Recovery mode and restore via iTunes on a computer. It is a good security feature.
Maybe you are looking for
-
How to compare data in a single table by month and year
Hello Please., i would like to see the 2014-06 matched results (3rd query), if the same ssn and acctno is exist in 2012-06 and 2013-06 and 2014-06 then eliminate from results, otherwise show it select ssn, acctno From jnj.drgSamples where Channel ='K
-
PS CS4 version 11.0.2, suppress error message.
Hi, I use PS CS4 version 11.0.2, and C# to access Photoshop type library. Able to resize images when it is fine, but for corrupted images getting error/warning message "....truncated image continue or cance.." despite giving Application.NotifiersEna
-
IPhoto/Aperture 1.5 Integration questions
Aperture 1.5 allows you to keep iPhoto pictures where they are with a "reference" from Aperture. But since I upgraded to Aperture 1.5, I have the opposite problem -- how do I keep my pictures in Aperture but have iPhoto reference them? With previous
-
Change PO number/document type
Hi, we are using SRM 5.0, extended classic scenario. We have defined three document(transaction) types for PO in srm. One of them is a Dummy type-when this one is selected i need to change the type (and a number because of number ranges) of this PO d
-
At first I deleted my account as suggested by the support article and instaled my hotmail account again. Now I don't have access to my email anymore. Please help.