Need the file extensions database table name
Hi,
I need to know the Database table name for file extensions in WCC.
Please check the image for reference .
Hi 2790552
Please look at file doc_config.htm in the location <middleware_home>/Oracle_ECM1/ucm/idc/resources/core/tables/doc_config.htm
This is the file which helps in building the applet view.
I do belive that revisions and documents table might be used for validation and other specific things, but thats more in the context of document processing and from component IBR at runtime. But administration sake, i thing it works from the these config files since database doesn't have any table to hold this info.
Similar Messages
-
Fileaccess.HttpUploadBean not uploading file in DataBase Table
Hi,
I am using fileaccess.HttpUploadBean to upload the txt file in the specified database table.i have followed all the guidelines given in Oracle JSP Tag Libraries and Utilities Reference Guide. But i am not be able to upload the file into Database Table
I have created a table
CREATE TABLE FLK_CLOB_TEST (
FILE_ID NUMBER (5),
FILE_DATA CLOB,
FILE_NAME VARCHAR2 (50),
FILE_PREFIX VARCHAR2 (50) ) ;
uploadfile.jsp
<html><body>
<form name = "formname" action="beanUploadDataBase.jsp" method=POST ENCTYPE="multipart/form-data" />
<br>MailID: <INPUT TYPE="text" NAME="strMailId" />
<br> File to upload: <INPUT TYPE="FILE" NAME="File" SIZE="50" MAXLENGTH="120" >
<br><INPUT TYPE="Submit" NAME="Submit" VALUE="Send" >
<INPUT type="reset" name="reset" value = "Cancel">
</form>
</body></html>
beanUploadDataBase.jsp , which is having upload code.
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ page language="java"
import="java.util.*,java.io.*,java.sql.*, oracle.jsp.webutil.fileaccess.*" %>
<html><body>
<Form name="upForm" method ="post" > <!--action ="beanUploadExample.jsp" >-->
<%
Connection conn;
FlkOracleDBCon objDBHelper;
objDBHelper = FlkOracleDBCon.getInstance();
String userdir = "test";
String strFlag = "";
String strFileName ="";
String strDirName ="";
String strAbsoluteName ="";
//MultipartRequest multi = null;
String _PageMode = "";//"CREATE";
%>
<jsp:useBean id="upbean"
class="oracle.jsp.webutil.fileaccess.HttpUploadBean" >
<jsp:setProperty name="upbean" property="destination" value="<%=userdir%>"/>
</jsp:useBean>
<%
try{
conn = objDBHelper.getConnection();
out.println("Connection Value is :"+conn);
if (conn !=null)
// upbean.setDestination("test");
upbean.setDestinationType("database");
upbean.setConnection(conn);
upbean.setOverwrite(false);
upbean.setFileType("character");
upbean.setTable("FLK_CLOB_TEST");
upbean.setPrefixColumn("File_Prefix");
upbean.setFileNameColumn("File_Name");
upbean.setDataColumn("File_Data");
//upbean.setBaseDir(application, request);
String str = upbean.getDestination();
out.println("The value of Destination is "+str) ;
upbean.upload(request);
String filename = upbean.getFileNameColumn();
String strTable = upbean.getTable();
String strPrefix = upbean.getPrefixColumn();
String name = "";
conn.commit();
out.println("filename-----:::::: "+filename+":::");
out.println("File Prefix-----:::::: "+strPrefix+":::");
out.println("DataBase Table Name-----:::::: "+strTable+":::");
Enumeration fileNames = upbean.getFileNames();
while (fileNames.hasMoreElements()) {
strFlag = "true";
strFileName = (String)fileNames.nextElement();
out.println("strFileName File Name Is:::::"+strFileName);
strAbsoluteName = strFileName.substring(4,strFileName.length());
catch(IOException ex)
out.println("IOException is =="+ex.toString());
catch(SQLException ex)
out.println("IOException is =="+ex.toString());
catch(Exception ex)
out.println("IOException is =="+ex.toString());
%>
This is not uploading file or any other information into database table called FLK_CLOB_TEST.
Please help me on this.I get the same error when i try to load the same data but from Oracle Table
11872 12108 RUN-050406 11/14/2011 4:38:44 PM Data flow <DF_TB_Generalità> received a bad system message. Message text from the child process is
11872 12108 RUN-050406 11/14/2011 4:38:44 PM
< ==========================================================
when i load data from SAP extractors or SAP tables i don't have problem.
Regards
Bilal -
I recently started working on the Oracle SQL developer. I have 'select' privileges on the QA schema and when tried to execute proc in QA. It is giving the error as 'The file-based source <procedure Name> is not present in the database. Was it compiled?'
instead 'you do not have sufficient privileges to execute this procedure'. Did research on internet but with no luck.What configuration changes needed to be done to make it work.Guide me.Sounds like you do not have the correct privileges. What should have been granted to you by the QA user, or some other user with appropriate privileges, is...
grant EXECUTE on "QA"."<PROCEDURE_OF_INTEREST>" to "<YOUR_USERID>" ;
Note that a grant of execute on a procedure has nothing to do with grants of select on some or all of QA's tables and views.
So, as Vadim suggests, from your connection node in SQL Developer's Connections view, if you expand the Other Users node, then expand QA and look in the Procedures node, do you see the procedure of interest? If not, you cannot expect to be able to execute it from your userid's connection. And even if you do see it, you may have some other privilege that permits viewing but not executing, like...
The role SELECT_CATALOG_ROLE
The system privilege SELECT ANY DICTIONARY
And even if you do not see it there, then having certain other privileges granted to you could permit executing it in general, like...
The role EXECUTE_CATALOG_ROLE
The system privilege EXECUTE ANY PROCEDURE
Also, note that the 3.0 release is a bit dated nowadays. Upgrading to 4.0.3 production or even the 4.1 EA2 (early adopter) release will, in general, give you a better experience.
Best wishes,
Gary -
Help needed in reading text file to database table
Hello experts,
i have to insert the values from the column of this text file and insert them in my database table.
I have done a few file to table insertions but i'm having some trouble with this one.
Any suggestions plz
thanks
liab_report 1.00 Page: 1
CDC:00537 / Mon Jun-21-2010 LIABILITY REPORT Mon Jun-21-2010 22:06:26
DRAW 1; SET 1; November 7, 2009
TOTAL PAID ON TOTAL EXPIRED ON TOTAL FRAC OUTSTANDING
WINNERS 06/21/10 PAID 06/21/10 EXPIRED ROUND
DIVISION AMOUNT AMOUNT AMOUNT AMOUNT AMOUNT AMOUNT AMOUNT
Div1 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Div2 701040.00 0.00 660146.00 0.00 40894.00 0.00 0.00
Div3 1444128.00 0.00 1330056.00 0.00 114072.00 0.00 0.00
Div4 4711900.00 0.00 3889700.00 0.00 822200.00 0.00 0.00
6857068.00 0.00 5879902.00 0.00 977166.00 0.00 0.00
DRAW 2; SET 1; November 14, 2009
TOTAL PAID ON TOTAL EXPIRED ON TOTAL FRAC OUTSTANDING
WINNERS 06/21/10 PAID 06/21/10 EXPIRED ROUND
DIVISION AMOUNT AMOUNT AMOUNT AMOUNT AMOUNT AMOUNT AMOUNT
Div1 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Div2 817817.00 0.00 817817.00 0.00 0.00 0.00 0.00
Div3 1687405.00 0.00 1611742.00 0.00 75663.00 0.00 0.00
Div4 3402100.00 0.00 3034200.00 0.00 367900.00 0.00 0.00
5907322.00 0.00 5463759.00 0.00 443563.00 0.00 0.00
DRAW 3; SET 1; November 21, 2009
TOTAL PAID ON TOTAL EXPIRED ON TOTAL FRAC OUTSTANDING
WINNERS 06/21/10 PAID 06/21/10 EXPIRED ROUND
DIVISION AMOUNT AMOUNT AMOUNT AMOUNT AMOUNT AMOUNT AMOUNT
Div1 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Div2 779933.00 0.00 769804.00 0.00 10129.00 0.00 0.00
Div3 1605548.00 0.00 1525104.00 0.00 80444.00 0.00 0.00
Div4 4891700.00 0.00 4256800.00 0.00 634000.00 0.00 900.00
7277181.00 0.00 6551708.00 0.00 724573.00 0.00 900.00Plz clarify whether u want to load text file as a file into database or value of this text file into database. If values are to be loaded from this text file, U can better format the text file and use SQL loader to load the file into database. By formatting the database, i mean remove the unnecessary headings and characters, kee only the values to be loaded idelimited by ' '(space) or ','(comma). Create a control file and load it into the target table.
-
I save a lot of images using firefox, often times from a large batch or series of images. It used to be that I would click on a previously saved image and the entire file name including the file extension (i.e. image_example.jpg) would appear in the "save as" line. Now when I click on a previously saved file, the file name appears without the file extension (i.e. image_example). Which means I have to manually type .jpg every time. For a large collection of images that I am hoping to use the same root file name and then add chronological numbers at the end, this has become incredibly frustrating, especially as it is a previously unnecessary task.
I am using a new Macbook Pro and maybe there's something Apple related to this...? It did not happen on my old PowerBook G4. I have file extensions turned on in System Preferences.
It should be noted that I have searched high and low and have even gone into the Apple Genius Bar where they were just confused as I was and of course ended by urging me to use Safari (shocker!) as it has all kinds of new extensions and bells and whistles. I seriously feel alone on an island with this dumb, hard to google problem. Thanks so much for any help anyone out there might have.
I mean: is this as simple as changing a setting in about:config?
Your assistance is greatly appreciated.Thanks for your response Mylenium, however like I mentioned multiple times, I did change all of my trackpad/scrolling settings in system preferences. And if I wanted to use a normal mouse (or a tablet), I would've gotten an iMac instead of a MacBook Pro. I travel often and work all over the place, not always with access to a decently sized workspace that would be required for using a mouse or tablet.
-
I was having an issue opening a spreadsheet with the file extension .xlsm. This appears as an attachment from a client which means macros were utilized when creating the spreadsheet. The problem lies in. The iPads ability to open the attachment. I downloaded the numbers app thinking this would be a default software to open any and all spreadsheets.
Please Help!
Ipad 2- iOS5You may need a version without macros on it. Unfortunately, pretty much all apps are skinned down versions of their original program, often with less functionality. For example in a word document I can italicize,bold and underline, but I only have a handful of fonts to play with and I don't think I can insert tables or images.
It is very possible that the app simply cannot run macros, which means that document may never work on an iPad. -
Upload .txt file into Database Table
Hi,
I was wondering if someone could please point me in the right direction. I've been looking around the forum but can't find anything to help me achieve the following.
I would like to be able to upload a .txt file using a webpage. Then store the information inside this file into database tables.
eg. contents of mytextfile.txt:
richard
10 anywhere street, anytown, somewhere
111 222 333 444
joe
9 somestreet, elsewhere
999 888 777 666
peter
214 nearby lane, overhere
555 555 555 555
I would like to insert this data into a table.
eg. table name = CONTACTS
userid = primary key (using sequence)
username = (line 1 - richard, joe, peter)
address = (line 2)
phone_no = (line 3)
As you can see the records will appear 1 at a time and will have a blank line between records. Is there anyway for me to upload a file like this and have it placed into tables?
I have seen http://otn.oracle.com/products/database/htmldb/howtos/howto_file_upload.html but this seems to be for uploading a whole file and downloading the same file, rather than extracting data from the file.
I hope I have managed to explain my problem.
Many thanks,
Richard.Richard,
HTML DB allows you to upload CSV files via the Data Workshop. That data would then be parsed and inserted into a specific table. Alternatively, if you have your data in an Excel spreadsheet, and it is less than 32k, you can copy & paste the data directly into HTML DB's Data Workshop, which will then parse and import it into the Oracle database.
The one obstacle you may have to overcome is converting your data from the format you outlined to CSV format. Specifically, you would have to make this:
richard
10 anywhere street, anytown, somewhere
111 222 333 444
Look something like this:
"richard","10 anywhere street, anytown, somewhere","111 222 333 444"
Hope this helps,
- Scott - -
Viewing the file extension in the tphoto humbnails preview
The file names have the file extensions cut off. Is it possible to view the file with the extension. I need to know if I'm looking at a .jpg or a .nef file (raw file) I tried the preferences and there are choices but none show the extension. I did notice that if your over an image a pop up window appears that shows the entire file name with extension....but I need it on the photo thumbnail. Thanks!
If I had more time I would give you the short answer but you can find out how to do this and much more in an article that I wrote here:
http://www.rwboyer.com/RBDesign/Blog/Entries/2008/8/11_Aperture_and_MetadataDisplay.html
RB -
DOriginalName without the file extension
Folks
I'm sorry if I'm posting this in the wrong place, but I'm very much out of my depth.
The organisation I work for has recently adopted Oracle Content Server to manage its intranet site, and it's fallen to me to work out how to report on my team's content. I'm using the built-in search facility and discovering bits and pieces of coding as I go along. However, I'm stuck with this:
<$dOriginalName$>
This gives me filenames with file extensions, whereas I need filenames without file extensions. Does anyone know how to achieve this? For information, both our filenames and our file extensions can be of various lengths, but there will never be more than one '.' (namely the '.' separating the filename from the file extension).
Many thanks in advance.
EdNot sure about your requirement. But if you are asking it at database level then
WITH T1(str) AS(
SELECT 'ABCD.TXT' FROM DUAL UNION ALL
SELECT 'CHEF.DISCARD' FROM DUAL)
SELECT SUBSTR(str,1,INSTR(str,'.')-1) FILE_NAME FROM T1;
OUTPUT:
FILE_NAME
ABCD
CHEF
If this is not then post some sample of your data. -
Loading XML files into Database table
Loading XML files into Database table
Hi I have some XML files say 100 files in a virtual directory created using "Create or replace directory command" and those files need to be loaded into a table having a column of XMLTYPE. 1)How to load that using Oracle provided procedures/packagesCheck out the Oracle XDB Developer's Guide, Chapter 3. There is an example of using BFileName function to load the xml files from a directory object created using create or replace directory. It works really well.
Ben -
I am getting below error message while search crawl in sharepoint foundation 2010 search for only .VSD files and not for any other docs type.
The filtering process could not be initialized when trying to process this item. Verify that the file extension is a known type and the item is not corrupt.
I have installed the Microsoft Filter Pack 2.0 in search server but still i am getting the same error.
<//span>
Any one's help will be appreciated.
Regards,
Rashmi
Rashmi SinghalHi Rashmi,
1. Checked the file extension is added or not to the search file types.
2. Checked file name has any invalid characters.
3. Resetting the crawl index and run a full crawl .
Best Regards.
Kelly Chen
TechNet Community Support -
SQL Loader problem while loading records from txt file to database table.
I am getting following error while loading records from flat txt file into database table with the help of 'sqlldr' command. I have executed catldr.sql from RDBMS folder but it is still showing same error. I am setting DIRECT = TRUE while issuing sqlldr command. If I try with DIRECT = FALSE then it works fine. Database is Oracle 8i.
SQL*Loader-951: Error calling once/load initialization
ORA-24329: invalid character set identifier
F1 Please.Hello,
Direct path load, can only be used with SQL*Loader and Database have the same version.
Care to tell the database version and sql*loader version you are using.
-Sri -
Open Hub - Change from File to Database table
Hello Experts;
I want to change the Open Hub Service that we create from File to Database table.
We are using the Delta Update. However, after I change the Open Hub, Activate the transformation and DTP, when I run it, I don't have any value in the table.
If I run a new delta into my cube, in the table I only get the data from delta.
Can anyone knows how to upload all the requests that I have in my cube for the first time I run the delta DTP?
Thanks and regards;
RicardoCreate a new Full DTP and execute, so that you can dump all of the current contents of the InfoCube into the table and push/pull that table to the target prior to the next delta retraction.
Edited by: Dennis Scoville on Nov 17, 2009 9:37 AM -
How to extract data from text file to database table
Hi ,
I am trying to upload data in text file to database table using GUI_UPLOAD function .what would be the program for that.
thanks in advance.Hi,
I don't think you have a standard sap program to upload data from file to database table...
Instead you can create a custom program like this..
DATA: T_FILEDATA(1000) OCCURS 0 WITH HEADER LINE.
DATA: T_ZTABLE LIKE ZTABLE OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'C:\TEST.TXT'
tables
data_tab = T_FILEDATA
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT T_FILEDATA.
T_ZTABLE = T_FILEDATA.
APPEND T_ZTABLE.
ENDLOOP.
MODIFY ZTABLE FROM TABLE T_ZTABLE.
COMMIT WORK..
Thanks,
Naren -
I'm trying to transfer files from an old G3 (OS 9.2) to a new G5 (OS 10.5.8). Most files do not show the extension in their name. For example, an Illustrator eps has the file name "layout_final". When I transfer it to the new machine, it recognizes it as an .EXE file and cannot open. If I type in the .eps file extension, where is now reads "layout_final.eps", it then opens in Illustrator. I don't want to have to resort to manually adding in the file extension to every file. Is there a way in OS 9.2 to automatically show/turn on the extension in the file name?
Thanks for the help!
SteveHow are you transferring the files ?
It sounds like you're going through some sort of Windows / DOS formatted media.
If you can network the two Macs together instead, do so.
If you can burn a CD or two on the Mac G3, do so.
If you have to use a USB stick, format it to Mac HFS Extended (aka HFS+) on either and use that.
The key is that if you transfer the files using something formatted for Mac, the file metadata should not be lost, and the files will appear on the G5 as expected, assuming that you have suitable apps to open the files in OSX 10.5
Maybe you are looking for
-
Hi, We need to write up an asset , but the book value of the asset and not the depreciations. Looking in the ABZU it seems that all the transaction type, are connected with depreciations write-up. Using any transaction type, it seems that the depreci
-
DVD's hesitate, pixelate and only on some DVD players.
Having a problem with burned DVD's that will lock up or ixelate when played back--on SOME machines?!?!? Other machines play fine. I've cleaned my burner--A LaCie. I've had Apple look at it three times. I'm thinking of reloading the DVD pro software.
-
Cannot record guitar properly!
I am fairly new to Garage Band. I just bought iMic and an adaptor and I plugged my guitar pickup in it. It's a Shadow external pickup that is supposedly of good quality but obviously isn't as good as an internal pickup. When I record my guitar on Gar
-
HI Gurus, I am currently trying to build a BW Estimation model . I would be greateful if you'll could suggest me as to the different objects types and the complexity factors for each objects. I have labeled some tasks related to Info Obje
-
My navigation bar links are formatted a certain way. When I manually link each of those links to it's respective page, the formatting changes to bright purple with an underscore. Note: this doesn't happen when you clink on the link (like a rollover l