我使用的是Oracle ApEx 3.0.1,我想知道当使用ajax调用一个On Demand进程并传递相关信息时,通过按需进程将附件上载到Oracle ApEx 3.0.1的“文件浏览”项类型是否有效。
对于添加到apex_application_files的附件,是否需要提交页面,因为我在jQuery对话框中进行了文件浏览过程?
任何帮助都将不胜感激。
我的随需应变流程代码是:
BEGIN
IF ( :AI_FILENAME is not null ) then
insert into request_attachments
( request_id,
doc_reference,
name,
description,
contents,
mime_type )
select 100,
:AI_DOC_REFERENCE,
substr(:AI_FILENAME, instr(:AI_FILENAME, '/')+1),
:AI_DESCRIPTION,
blob_content,
mime_type
from apex_application_files where name = :AI_FILENAME;
delete from wwv_flow_files where name = :AI_FILENAME;
END IF;
END;
谢谢。
发布于 2011-05-20 17:12:48
我不知道,但对于here on the Oracle Apex forum,有一些潜在的解决方案。
https://stackoverflow.com/questions/6066972
复制相似问题