PORTA R2, custom form for uploding files
Hello,
I want to create a custom FORM in order to upload files by the BROWSER, I followed the example in the mod_plsql User's Guide, but it didn't work.
1. First, I created the table myTABLE
CREATE TABLE myTABLE
WHO VARCHAR2(128),
DESCRIPTION VARCHAR2(128),
ARCHIVE VARCHAR2(128)
2. I created the HTML page to send the file:
<HTML>
<HEAD>
<TITLE>test upload</TITLE>
</HEAD>
<BODY>
<FORM enctype="multipart/form-data" action=INTRANET.WRITE_INFO metthod="POST">
<p>Autor's Name:<INPUT type="text" name="who">
<p>Description:<INPUT type="text" name="description"><br>
<p>File to upload:<INPUT type="file" name="file"><br>
<p><INPUT type="submit">
</FORM>
</BODY>
</HTML>
3. Finally I built the write_info procedure
PROCEDURE INTRANET.WRITE_INFO (who IN VARCHAR2, description IN VARCHAR2, file IN VARCHAR2)
as
begin
insert into INTRANET.myTABLE values (who, description, file);
htp.htmlopen;
htp.headopen;
htp.title('File uploaded');
htp.headclose;
htp.bodyopen;
htp.header(1, 'Upload Status');
htp.print('Uploaded ' || file || ' ok');
htp.bodyclose;
htp.htmlclose;
exception
when others then
null;
end;
When I try to upload the file by the browser,the table myTABLE is updated, but the file is not uploaded in the table portal.wwdoc_document$.
I'll be very pleased if somebody could help me with that.
My e-mail: [email protected]
Thanks a lot.
Hi,
If you are using your own HTML form this will not happen because you are not using any of PORTAL's code. You can do this using the portal forms component.
Thanks,
Sharmila
Similar Messages
-
Outlook 2013 with Exchange Server - Changed custom form for contacts is not shown
Hello,
Our infrastructure:
Exchange Server 2010
Outlook 2010
Outlook 2013
Windows 7 Pro, Windows 8 Pro and Windows 8.1 Pro
The situation:
We've used an old custom form for contacts, worked perfectly fine
I've updated the form (adding some new custom fields and checkboxes) using Outlook 2013 and publishing the form (with a new name) to the Exchange folder
I've set the form as default form in our contacts folder
I've used this Script to set the new form for the existing contacts and the name of the new form is saved correctly
BUT if I open a contact in our Exchange contacts folder, Outlook 2013 (Outlook 2010) still shows the old form
Steps I've taken so far:
Cleared Outlook forms cache
Repeated the above steps 1-4 in Outlook 2010
Switched Cached Exchange Mode off and back on
Allowed Scripts in Trust Center Settings
Used a new clean Windows installation with a new Outlook 2013 installation
Used different Exchange users on different systems, but some behavior when opening contacts
I'm out of options I can think of, so maybe somebody else has some new view on this problem.
Thank you very much in advance!
Greetings,
KarlHi,
Is the Exchange folder in which the custom form is published available to all users?
From the description, the script used to work for the old custom form, correct? Which version of Outlook did you use with the old custom contact form? Outlook 2010/Outlook 2013 or an earlier version? If you used the script with an earlier version of Outlook,
we can't make sure it will still work with Outlook 2010/Outlook 2013.
In addition we may also try creating a new contact form and test the steps to see if it will work.
Please let me know the result.
Regards,
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Custom Icon for application file
I can make director allow me to have a custom icon for appliacation file.
In director I have attempted this several times where I have tried to have my appliaction file have an icon. I have purchased two icon program Candy Bar and Fastincs trying to remedy this problem.
As you see here I am using an ins file created in Fastincs. Now here is an image to the path and the icon itself Applipcations/ Adobe Director 11/3 HorseLogo.mac.ins
So there is the setup now when I complile for my program file I get this.
See the grey Director icon I don't want that I want the three horse logo.
I also tried to assign the logo after publishing the file.
then I drag my icon file in
The program created in director still wont see the icon file.
If I use Candy bar (icon application) I get a different result. The icon works
in both finder and on the task bar
This is exactly what I want.
I works until I try to move the entire package into an installer program I am using BitRock. When I compile the installation program then try to run the application I get the following message
If I choose ignore the install continues. But I have no icon.
I am desperate , weeping , screaming , and almost a lost cause, any help any help at all I could really use.
Thanks
Robin aka innishHi Robin,
I'm more of a PC person rather than Mac. I would recommend you look at the Resource and Icon Editor page at:
http://collab.directorforum.com/Resource_and_Icon_Editor
It may fix your icon issue from Director.
Dean -
Custom certificates for JAR file signing
Hi,
Can anyone please let me know how to check that we have custom certificates for JAR file signing set up in our instance
Thanks,
PraveenIt depends on the version of your $ADJVAPRG. See the referenced note.
How to use,create and /or update Digital Certificates for Jinitiator in 11i Applications
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=365735.1 -
Custom code for Flat file reconciliation on LDAP
Hello,
I have to write a custom code for flat file reconciliation on LDAP as the GTC connector wasn't working entirely.
Could someone help me out with this.. How do i do this ??
Thanksflat file reconciliation on LDAPWhat do you mean by Flat File on LDAP ?
If you want to create Flat File connector then search google for reading a flat file using Java.
Define RO Fields and do mapping in Process Defintion. You can use Xellerate User RO for Trusted Recon.
Make a map of CSV that and Recon Field
Call the Reconciliation API -
Tools for Developing/Customizing Forms for Oracle Apps R12.1
Hi All,
Could you please help me identify the tools and correct version for developing and customizing Forms for Oracle E-Business Suite R12.1?
Regards,
KKAlso, could you please elaborate your 2nd point regarding template.fmb The Oracle EBS uses a framework. Starting any new (custom) form for the EBS should ALWAYS begin with the template.fmb to ensure your new form has all of the required objects to comply with EBS Forms development standards. You might want to take a look at the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
<ul>
<li>Oracle Applications Developer's Guide
<li>Oracle Applications User Interface Standards for Forms-Based Products
<li>Oracle Application Framework Personalization Guide
</ul>
Craig... -
Some comments on Adobe 'Custom Panels for XMP File Info' document
In developing a couple of Photoshop/Bridge custom metadata panels for cataloguing my photo collection, I noticed one or two things that look like possible errors in the above document. These comments relate to the version of the document dated April 2005.
P10, description of 'cat_container_edit_text' widget type: surely this should also list custom variable 'container_type', which is needed to specify whether the metadata array is a bag, seq or whatever.
P25, details of 'cat_container_edit_text': same comment applies.
P8 et seq: the requirements for use of the 'name' variable appear contradictory. The summary descriptions of various widgets such as 'edit_text' contain the statement that 'You must provide name, xmp_namespace and xmp_path values for this widget to supply a dynamic
value', but the description of 'name' on P16 says that it 'Applies only to fixed-text widgets. Do not use this variable to change the value or text of the widget at run time.'
Regards
AdrianJoe, here is the Adobe link that I could not find yesterday when I put up the link to the (suspect) archive site:
http://partners.adobe.com/public/developer/xmp/sdk/topic_cust_file_info_panels.html
I have not looked into these panels for years and I am not sure what has changed in CS4.
Yes, the free software mentioned previously was limited in the amount of fields, however correct me if I am wrong - the output was just XMP text data and one could simply open it in a text editor and copy/paste/edit extra fields and resave, as the limitation was with the GUI frontend and not with XMP.
Obviously the computer reading the file needs the custom info panel installed to see the panel in it's full glory, otherwise the metadata is "hidden" away in one of the other metadata listings (I can't remember where). I also had problems picking up the custom metadata when searching via catalogue applications that could read other common metadata such as IPTC.
It was a bit of a mixed bag if I recall, showing promise however it was not really ready for the average user to use.
Anyway, it sounds as if my very limited knowlege on this area is being exhausted...
While on the topic, some other links that may help:
http://www.idealliance.org/industry_resources/branding_media_and_color/digital_image_submi ssion_criteria/metadata_fields
http://www.idealliance.org/industry_resources/branding_media_and_color/digital_image_submi ssion_criteria/resource_center/xmp_custom_panel
http://www.disc-info.org/resources/xmp.zip (perhaps you look at the source code for ideas)
http://www.iptc.org/IPTC4XMP/
http://www.controlledvocabulary.com/forum.html
http://www.controlledvocabulary.com/imagedatabases/mtworkaround.html
http://metadatamanifesto.blogspot.com/
iView Media Pro software also had a custom panel for Photoshop that may also give you ideas.
Regards,
Stephen Marsh -
How to Assign Customized Form for Vendor Balance Confirmation - F.18
Dear All,
While executing the transaction code f.18. System is showing vendor balances with IDES logo. I want to assign the customized form. Can anybody tell me where to assign form fro F.18.
Regards
Sreenivaskindly check in the configuration
SPRO-Financial Accounting-Accounts Receivable and Accounts Payable-Business Transactions-Closing-Count-Balance Confirmation Correspondence-Make and Check Settings for Correspondence-Define Form Names for Correspondence Print
Select the program "SAPF130K" which one is for balance confirmation. against this the form is attached -
Using JavaBean in custom form for Oracle Apps
Dear All,
i had build a custom form contains JavaBean that enable user to open file dailog . i had built the java class and test it locally on another form it worked fine, but when run the form from the oracle apps nothing happens
anyone can advise,plz?
your notes will be appreciated ...
thanks in advance...
Moath AbusirdanehGoing forward we want to use this form to send information regarding any patches needs to be applied on any of our instances.If some other user select a patch which is already installed on that instance this form will pop up a message saying it's already installed.The purpose of this form is to monitor instance refreshing details.But this is already provided by Oracle through OAM or by querying AD_BUGS table. So, you could create a custom responsibility which contains the patching part only from OAM but this still require a login to the application.
I do not think you can achieve the above (creating a custom form) without logging to the application -- You may log a SR to confirm this with Oracle support.
Thanks,
Hussein -
Download link custom action for video files
Hi,
I have a requirement for adding a custom action called "DOWNLOAD A COPY" in search results hover panel on click of which will download copy for the user. I am able to implement this for pdf, excel and word files but not for generic and video files
types since ctx.CurrentItem object is not having any property pointing to the item URL. Can someone please help me in getting this property for video and generic file types.
Thanks a lot in advance!
SharepointLearnerHi,
According to your post, my understanding is that you want to custom action for context menu in "Site Content and Structure" in SharePoint 2010.
In "SiteManager.aspx", SharePoint use MenuItemTemplate class which represent a control that creates an item in a drop-down menu.
For example, to create or delete the ECB menu for a list item in
"Site Content and Structure", we can follow the steps below:
To add the “My Like” menu, we can add the code below:
<SharePoint:MenuItemTemplate
UseShortId=false
id="OLListItemLike"
runat="server"
Text="My Like"
ImageUrl="/_layouts/images/DelItem.gif"
ClientOnClickNavigateUrl="https://www.google.com.hk/"
/>
To remove the “Delete” menu, we can comment the code below:
<SharePoint:MenuItemTemplate
UseShortId=false
id="OLListItemDelete"
runat="server"
Text="<%$Resources:cms,SmtDelete%>"
ImageUrl="/_layouts/images/DelItem.gif"
ClientOnClickScript="%SmtObjectDeleteScript%"
/>
The result is as below:
More information:
MenuItemTemplate Class (Microsoft.SharePoint.WebControls)
MenuItemTemplate.ClientOnClickScript property (Microsoft.SharePoint.WebControls)
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Custom thumbnail for a file type, not a single file
I understand that when I upload an asset to the DAM of a file type for which CQ5 doesn't support thumbnail generation (Excel .xls and .xlsx, in my case), CQ5 will use a default dogeared-page icon for the thumbnail. it also writes an error-level message to the log to the effect that it can't generate a thumbnail. E.g.,
15.10.2012 12:03:47.078 ERROR [JobHandler: /etc/workflow/instances/2012-10-15/model_1135358760340484:/content/dam/FY06NIVDetailTable1.xls/jcr:content/renditions/original] com.day.cq.dam.commons.handler.AbstractAssetHandler createThumbnails: cannot create thumbnails for asset [/content/dam/FY06NIVDetailTable1.xls], failed loading graphical representation for rendition [/content/dam/FY06NIVDetailTable1.xls/jcr:content/renditions/original].
The error message is mostly harmless, but I would like to prevent it.
And I understand that I can add a thumbnail after the fact. But despite the language in the document, apparently this thumbnail does not apply to subsequent uploads (for all files of the same type).
Is there a way to establish a thumbnail image that applies to subsequent uploads?Hi David,
Thumbnail upload (or for that matter any rendition upload) is specific to that image and it will not apply to set of images.
If we want to apply some custom thumbnail instead of the default one either we need to override the default image or custom workflow step is required.
If we override the default image it will apply acroos the DAM.
Regarding custome workflow step. This step will be added after thumbnail creation step in DAM Update Asset workflow(this wf is responsible for creating all renditions). In this workflow step you can check whether thumbnail is created or not if not create thumbnail of your desire. -
Custom HoverPanel for Multiple File Types Preview
Hi Everyone,
We Have a requirement to customize SP2013 Search Results webPart to List down multiple file types (Word, Excel, PowerPoint, PDF, Images, etc). we created our own Design Template for Search Results Item to show managed Properties we require. and we need to
create a Hover Panel to show the preview of those files. we tried to achieve this, but failed. can anyone please provide us a Solution for this ?
Thank you!Hi Mohamed,
According to your description, my understanding is that you want to customize Hover Panel for multiple file type.
For achieving your demand, you can refer to these blogs:
http://sharepointfieldnotes.blogspot.com/2012/11/customizing-sharepoint-2013-search.html
http://yeshagrawal.blogspot.com/2013/06/sharepoint-2013-search-adding-hover.html
http://blogs.technet.com/b/tothesharepoint/archive/2013/09/17/how-to-display-values-from-custom-managed-properties-in-the-hover-panel-in-sharepoint-server-2013.aspx
http://www.sharepointnutsandbolts.com/2014/01/extending-SP2013-Office-365-search-hover-panel.html
Best Regards,
Eric
Eric Tao
TechNet Community Support
Thank you So much Eric,
The First Link "http://sharepointfieldnotes.blogspot.com/2012/11/customizing-sharepoint-2013-search.html"
Serves my purpose 100%, but seems like it has 3rd party Product Involved. can i achieve the same Results without using any 3rd Party Tools ? -
Custom TCode for Excel File Upload/Import - WebGUI Error
We get an ABAP runtime error when uploading an excel file with a custom tcode using WebGUI. It works ok with WinGUI. Any ideas what could be causing that error?
Runtime Errors RAISE_EXCEPTION
Date and Time 01/05/2011 17:27:16
Short text
Exception condition "JAVABEANNOTSUPPORTED" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
A RAISE statement in the program "C_OI_CONTAINER_CONTROL_CREATORCP" raised the
exception
condition "JAVABEANNOTSUPPORTED".
Since the exception was not intercepted by a superior
program, processing was terminated.You can use the below code. One more thing while running make sure there is no unsaved excel sheet open in your system.
FORM sub_create_container .
Create Instance control for container
CALL METHOD c_oi_container_control_creator=>get_container_control
IMPORTING
control = iref_control
error = iref_error.
IF iref_error->has_failed = c_check.
CALL METHOD iref_error->raise_message
EXPORTING
type = 'E'.
ENDIF.
Create generic container linked to container in screen 100
CREATE OBJECT oref_container
EXPORTING
container_name = 'CONT'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Error while creating container'(012).
ENDIF.
Establish connection to GUI Control
CALL METHOD iref_control->init_control
EXPORTING
inplace_enabled = c_check
r3_application_name = 'EXCEL CONTAINER'
parent = oref_container
IMPORTING
error = iref_error
EXCEPTIONS
javabeannotsupported = 1
OTHERS = 2.
IF iref_error->has_failed = c_check.
CALL METHOD iref_error->raise_message
EXPORTING
type = 'E'.
ENDIF.
Create Document Proxy
CALL METHOD iref_control->get_document_proxy
EXPORTING
document_type = soi_doctype_excel_sheet
IMPORTING
document_proxy = iref_document
error = iref_error.
IF iref_error->has_failed = c_check.
CALL METHOD iref_error->raise_message
EXPORTING
type = 'E'.
ENDIF.
ENDFORM. " SUB_CREATE_CONTAINER
FORM sub_create_document USING p_sheet TYPE i.
DATA: l_title TYPE char40,
l_char TYPE char2,
l_time TYPE i,
l_sheet TYPE char12.
Calculate the number of sheets to be created
l_time = p_sheet - 1.
CONCATENATE 'Assembly Table'(015) v_char INTO l_title
SEPARATED BY space.
Create document
CALL METHOD iref_document->create_document " Open use Open_document method
EXPORTING
open_inplace = c_check
document_title = l_title
no_flush = c_check
IMPORTING
error = iref_error.
Open Spreadsheet interface
CALL METHOD iref_document->get_spreadsheet_interface
EXPORTING
no_flush = c_check
IMPORTING
sheet_interface = iref_spreadsheet
error = iref_error.
Get number of sheets
CALL METHOD iref_spreadsheet->get_sheets
EXPORTING
no_flush = c_check
IMPORTING
sheets = i_sheets
error = iref_error.
Reaname he sheet
READ TABLE i_sheets INTO wa_sheets INDEX 1.
l_char = p_sheet.
CONCATENATE 'Sheet' l_char INTO l_sheet.
CALL METHOD iref_spreadsheet->set_sheet_name
EXPORTING
newname = l_sheet
oldname = wa_sheets-sheet_name
no_flush = c_check
IMPORTING
error = iref_error.
REFRESH i_sheets.
CLEAR: l_char,
l_sheet.
Add sheets
DO l_time TIMES.
l_char = sy-index.
l_char = p_sheet - l_char.
CONCATENATE 'Sheet' l_char INTO l_sheet.
CALL METHOD iref_spreadsheet->add_sheet
EXPORTING
name = l_sheet
no_flush = c_check
IMPORTING
error = iref_error.
ENDDO.
Get number of sheets
CALL METHOD iref_spreadsheet->get_sheets
EXPORTING
no_flush = c_check
IMPORTING
sheets = i_sheets
error = iref_error.
SORT i_sheets BY sheet_name DESCENDING.
ENDFORM. " SUB_CREATE_DOCUMENT
FORM sub_save_document .
DATA: l_changed TYPE int4.
Save the document
CALL METHOD iref_document->save_as
EXPORTING
file_name = p_file
no_flush = c_check
IMPORTING
error = iref_error.
Close the document
CALL METHOD iref_document->close_document
EXPORTING
do_save = c_check
no_flush = ''
IMPORTING
has_changed = l_changed
error = iref_error.
ENDFORM. " SUB_SAVE_DOCUMENT
Thanks
Subhankar -
Is It possible to give custom name for output files in Bursting
Hi ,
I am using bursting for mailing the output and PDF files are coming with names such as xdo1_null.pdf can the name be changed to invoice.pdf ..etc
Thanks in advance
Best Regards,
Maheshsample file, you can use any name and append the xml data elements too...
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type ="bursting">
<xapi:request select="/MODULE1/LIST_G_EMPNO/G_EMPNO">
<xapi:delivery>
<xapi:email id ="123" server="[email protected]" port="25"
from="[email protected]" reply-to="[email protected]">
<xapi:message id="123" to="[email protected]" cc="" attachment="true"
content-type="text/html" subject="Purchase Order Number: ${EMPNO}">Please
see attached Purchase Order File: ${EMPNO}</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="PO_${EMPNO}" output-type="pdf" delivery="123">
<xapi:template type="rtf" location="xdo://CUS.TEST_BURST_1.en.US/?getSource=true"
filter=""></xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
Edited by: Sattti on Nov 2, 2008 8:26 PM -
Customizing form for user submitted content {tag_edit}
Hi,,
I have a Webapp with a few custom fields which can be filled by logged-in customers. These customers see all their submitted items on a certain webpage with two links: Edit and Delete. The tags {tag_delete} and {tag_edit} are connected to the links. The delete tag just deletes the item, but the edit tag leads to another page, where the customer can edit the webapp by editing form fields.
Problem: at this certain page, the form just shows the item name and item description, but no other fields to edit. How can I customize this form to show all fields, so the customer can edit them?
DennisOMG, just found the button "edit template" right beside "list template" and "detail template" which lets me edit exactly the form I was looking for. Sorry for wasting time...
Maybe you are looking for
-
Firefox continually crashes when started up.
I open Firefox, and it crashes 5 seconds later. During those five seconds I click on 'Restore' and then it still crashes. After a few crashes I get the option to start in safe mode or restart, when I open in safe mode it still crashes. I haven't trie
-
Commit_form creating issue with When-New-Record-Instance trigger
Hello friends, I am using Oracle forms 6i . I have a multi-data block. I have written commit_form in when-new-record-instance of the data block. When I launch the form on my instance the form does not open. But when I comment out this code, the form
-
Google map loading delay in Adobe AIR application
Hi, When I try to load Google map API on AIR application,it is taking too much time to load and the application freezes for 50-60 seconds.But it is working fine in normal flex applications.Please give a solution for this.
-
K9N4 SLI and AMD Phenom Series?
I read that the AM2+ processors are backwards compatible with AM2 boards, and I plan to upgrade to an Phenom 9600 Agena Quad-Core but I want to confirm if it will work. Thank you.
-
How do I replace lost applications and games 6300
Hope you can help guys ... I have put a bigger memory card in my 6300. However some of the Themes / Applications and Games were stored on the old card. I have tried to copy/paste them to the new card but they seem to be write protected or something a