How to use batch files to send the load from ODC to UCM?
Hello all.
We're trying to do this along this week and, until now, we couldn't figure out how to use batch files containing metada on ODC and commit the output files to UCM.
So these are our specs:
VM 1
ODC - 10gR3
OS - Windows XP 32 bits SP3
DB - Oracle DB 11.2
VM 2
No ODC
UCM 11.1.1.6
OS - Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
We've opened a ticket with Oracle Support to know how we should do this. The number is SR 3-6108348211.
Let me try to explain what we want to do:
1 - we have a batch file with all metadata of many files from UCM
2 - we want to use this file in ODC, so the application will convert the images and commit them to UCM
3 - we should see all these files, their metadata, thumbnails and related content in UCM
4 - this is a batch file example we want to send to ODC:
@Properties LocalData
IdcService=CHECKIN_UNIVERSAL
dRevLabel = 1
primaryFile=/tra/Relatorio_UHPF-03-04-2008-M-RL-EA.pdf
dDocName=TRA_33
dDocTitle=UHPF-03-04-2008-M-RL-EA
dSecurityGroup=MAM_TRA
dDocType=Document
dDocAuthor=luis.neotropical
dInDate=14/05/08
xC_CLASSIFICACAO=EA - Educação Ambiental
xC_DATA=01/04/08
xC_DATAVALIDADE=30/04/08
xC_LOCALIZACAOFISICA=N/D
xC_USUARIO_DEP=LUIS FERNANDO DA CAMARA
xC_TIPO=RL - Relatório
xC_USINA=UHPF - USINA HIDRELÉTRICA PASSO FUNDO
xC_FICHA=MAM - Relatorios Ambientais
xC_IDDOCMAN=TRADocID=157
xC_IDANEXODOCMAN=TRAFileID=33
xC_DESTINOINICIAL=Tractebel
xC_ORIGEM=Neotropical
xC_FORMATODOCUMENTO=Digital
xC_GENERODOCUMENTO=
xC_DOCPRINCIPAL=Sim
@end
<<EOD>>
5 - So, when we use this batch file on ODC, the file (or image) will be converted, all metadata attached and then sent to UCM.
But we don't know how to do the link between ODC and UCM. The Oracle Support says it is necessary to do some customization. In the books I could not find any info about how to do, just generic information or how to use ODC.
Is there a way (without customization) to do that? Can anyone give us a step-by-step guide?
Thanks for all help and guidance.
Fernando
What is the one-sentence requirement or issue you're trying to solve?
If you only want content to be converted to pdf, then you should already have that with your items checked into UCM (if you have IBR enabled).
if you really want to feed content into ODC using a batchfile, my first thought would be to create a transformation utility/app that will convert your batchfiles to the expected ODC import server folder job format. then you'll have to move or map the content to match.
Again, without knowing the exact issue/business requirement you're trying to work through, I'd say a redesign of your ingestion process may be in order.
If you feed content directly into ODC through any supported ODC method (watch folder, email, scanner, fax, etc), then you'll be able to use everything ootb as you'll be able to auto-commit directly into UCM or add an indexing step and manual commit to UCM.
ODC is basically a front end for indexing and extra ingestion options to your content repo.
IPM is basically the same, but it includes some extra process-related details (process metadata, process integrations/bpel/bpm, other system integrations/ebs/crm, etc). I don't feel that IPM would help with the transformation-specific question you've put out there.
-ryan
Similar Messages
-
How to use batch file in window to send out Oracle AWR report automatically
Dear All
Please help me to write batch script as scheduler in windows to send out Oracle AWR report every 2 hours automatically
I have database 10.2.0.3 , its on windows platform .
Thanks in advance846671 wrote:
Dear All
Please help me to write batch script as scheduler in windows to send out Oracle AWR report every 2 hours automatically
I have database 10.2.0.3 , its on windows platform .
Thanks in advancewhat utility do you use to "send out" Oracle AWR report ? -
How to use manifest file to indicate the entry class?
I am trying to package all my class files together and let the users to run my file using the following command line:
java -jar program.jar
For this purpose, I need to specify the main class in the manifest file. I create the manifest file as below:
Manifest-Version: 1.0
Created-By: 1.3.0 (Sun Microsystems Inc.)
Main-Class: classname
and include it in the same directory as my class file. then I jar all the files using:
jar cvmf manifest.mf program.jar *.*
However ,when I try to run the program using:
java -jar program.jar, I get the error message:
Failed to load Main-Class manifest attribute from program.jar.
What have I done wrong? pls help!!! thanks a lotHi.
here one example:
Manifest-Version: 1.0
Main-Class: Solitaire.RunMe
Created-By: 1.3.0 (Sun Microsystems Inc.)
you may run it by : java -jar Solitaire.jar, or doubleclick over the Solitaire.jar
the main class is RunMe in package Solitaire.
so the complite path would be Solitaire.RunMe.
enother one
Manifest-Version: 1.0
Main-Class: RunMe.RunMe
Created-By: Forte for Java v. 1.0
you may run it by : java -jar Transmission.jar, or doubleclick over the Transmission.jar
the main class is RunMe in package RunMe.
so the complite path would be RunMe.RunMe. -
How to delete a file by using batch file
hi
i tried for deleting a file from batch filr in Linux environment.
it is working when i run batch file thruogh command line.
but its not woking through program.
i am sending tha code that i used in tha program.
First i have to create the file and send the information to that file
and the content from taht file after that i have to delete the file.
For that i wrote code but the batch is not woking.
Batch file
@echo off
rm filename
Actual Program Code
I used RunServer
public class RunServer extends Object
RunServer();
String cmdServer = "test.bat";
Runtime run = Runtime.getRuntime();
Process p = null;
try
p = run.exec(cmdServer);
catch(IOException e)
System.out.println("Error:"+e);
By using RandomAccessFile i am creating a file
please help me
Thankyou1) You can't execute a batch without having a shell.
2) It's totally stupid to run a one-line batch file from system.exec.
3) It's also totally stupid to delete a file using Runtime altogether.
But there you go... -
How we can create the batch file to download the data in from URL in ssis
hi,
any one help on one the below requirement.
i have to create one batch file to download the report(reports is in csv format) from URL...
requirement should be like this...
1. we have some reports is there in the URL..
2.when ever we execute the url, the report should be download and save it to the local folder.
3. this requirement i have to write in the batch file
should any one let me know how we can create the batch file for the above requirement.Hi Priya.N,
If you use SQL Server Reporting Services for reporting, you can use Visakh’s suggestion to create a script file which calls Reporting Services Web Service to render a report in CSV format and save a batch file to the destination folder, and then create a
batch file to run the rs.exe utility which can executes the .rss script file. For more information, please see:
Report Server Web Service
ReportExecutionService.Render Method
rs Utility (rs.exe) (SSRS)
If you use other reporting tools, it depends on the reporting functionality and this requirement may be not achieved.
Regards,
Mike Yin
TechNet Community Support -
Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper). For example, if I am downloading a paper by smith called "Surgery" that was published in 2002, it will automatically set the file name in the download to smith- surgery 2002. I have heard pages is smart enough to do this.
thank youPages can export only its own documents. They may be exported as PDF, MS Word, RTF or Text files.
Pages can import (ie. Open a file as, or Insert a file into, a Pages document) documents in several formats, but won't rename the document as you describe. Documents that can be Opened (eg. Text, AppleWorks 6 WP, MS Word files) are converted to Pages documents, and retain their original names, with .pages replacing the original file extension. Files that can be Inserted (generally .jpg, .pdf and other image files) become part of the existing Pages file and lose their names.
It may be possible, using AppleScript, to extract the text you want and to Save a Pages file using that text as the filename, but that would depend in part on being able to identify which text is wanted and which is not.
How will the script determine where the author's name begins and where it ends?
How will the script recognize the beginning and of the title, an decide how much of the title to use in the filename?
How will the script recognize the year of publication?
For papers published in a specific journal, with a strict format for placing each of these pieces on information, or containing the needed information as searchable meta data in the file, this might be possible. But it would require knowledge of the structure of these files, and would probably handle only papers published in a specific journal or set of journals.
Outside my field of knowledge, but there are some talented scripters around here who might want to take a closer look.
Best of luck.
Regards,
Barry -
How to use runtime.exe to activate the native file coping commands
How to use runtime.exe to activate the native file coping commands.(It might include using process(), and such.. but how?
Why would you want to do this? It's harder than copying the file in Java (by reading the file and writing it to a new file) and you'll need to write new code each time you want to port your code to a new OS.
-
Zipping multple files and sending the Zipped folder to target location using Biztalk
Hi all,
I have requirement like
Seperate Xml files will be coming as incoming message to Biztalk
Biztalk need to send a zipped folder contining all these xml to target location
any link or component i can use to meet this requiremant plese help
regards,
VineethCreate or use the publicly available custom component for unzipping the received message and for send use another component to replace all attachments of a multi-part message
(multiple parts to multiple files to zip) for its zipped equivalent. If not multiple message use any zipping API to zip the multiple
files to zip file and send the zipped file in send port.
BizTalk Pipeline Custom Component Message Unzippper
Zip Files in a Custom Pipeline Component
Multi-Part Message Attachments Zipper Pipeline Component
BizTalk Multipart Message Attachments Zipper is a pipeline component
List of custom Pipeline component you can use
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
How to send the data from mac pc to External drive
how to send the data from mac pc to External HDD
or Pen Drive but with out deleting the preview as dataYou can use "Finder", which is in your dock, to copy files from your iMac folders over to the external hard drive.
Hope this helps -
Execution of a batch file fails if the batch file has a date
Hi All,
I have a batch file which copies files from one folder to another based on the date condition( if the files are modified or created today copy them). Below is my code
set curr_date=%DATE:~4,2%/%DATE:~7,2%/%DATE:~10,4% & XCOPY \\cambosnapp01\FileTransfers\InboundToHomesite\NICB\Entities \\cambosnapp01\Claims\Analytics\NICB\CurrentAlerts/d:%curr_date%
This batch file runs fine if i run it manually, but i want to run this in an ssis package, i am using an execute process task and in the executable i gave the location of this batch file, and if i run the package it fails.However if i just exclude the last
date thing from the batch file and run the below one it runs fine.
set curr_date=%DATE:~4,2%/%DATE:~7,2%/%DATE:~10,4% & XCOPY \\cambosnapp01\FileTransfers\InboundToHomesite\NICB\Entities \\cambosnapp01\Claims\Analytics\NICB\CurrentAlerts/d
But this batch file would copy all the files which i dont need. I only want to copy the new files and thats the reason i use the date in the end but for some reason it fails.
Can someone please help me with any suggestions on this?
Please let me know if you have any questions or if i am still unclear.
ThanksWhat is the error you are getting?
Why don't you want to use the FileSystem task that is parameter driven?
Running the bat file manually vs as a package has a difference.
Do you run it while the package is in development (via SSDT)?
You only gave the bat file, but how did you set your task in SSIS not.
Arthur
MyBlog
Twitter -
Use batch file to determine if computer is a terminal server
Hello experts,
I am trying to create a batch file that I can use to install MS Office 2013 and another software on Windows Server 2003 R2,
Windows Server 2008 R2, and Windows Server 2012 terminal servers (Remote Desktop Services) via GPO. The installation files are NOT
"msi" files. Can you please tell me how I can use command line in a batch or script file to determine if a machine is a terminal server or not? I tried the Change user /query command on a Windows Server 2008 R2
terminal server and a Windows 7 machine and both machines returned the following status
Application EXECUTE mode is enabled.
which will be a problem because the installation batch file would treat the Windows 7 machines as a terminal server when it's not really a terminal server.
Basically, I want the batch file to check to determine if the machine is a terminal server. If it is a terminal server, then it would run change user /install, install the software, reboot server, then run change user
/ execute. Your help will be greatly appreciated.Hi,
For Office 2013 there should not be any concerns since it is windows installer based and things will be handled automatically. For the other software you could simply put the session in install mode in every case. For the servers/workstations
where install mode doesn't apply the change user /install and change user /execute will simply fail without any harmful effects.
You may check whether or not the machine is a terminal server using WMI, for example:
wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting Get TerminalServerMode
0 = Remote Administration mode (not a RDSH/TS)
1 = Application Server mode (aka RDSH/Terminal server)
-TP
When I run the command from the command line, it works, but when I try it in a "IF" statement, nothing happens. I am I doing something wrong using the wmic code in the IF statement? -
How to use batch processing with jpg pictures taken with iphone cameras?
How to use batch processing with jpg pictures taken with iphone cameras?
Open the editor . Go to file>process multiple files
Sent from my iPad -
How to run batch file from oracle forms 9i
Hi everyone.
i have a data in csv file. i want to upload it to my database. i am using sql loader for it.
i have made a batch file which run the sql loader and transfer my data to database.
How to run batch file from oracle forms 9i.
when i press the button, nothing uploads in my database. (when i simply run the batch file it works).
here is my code
Begin
HOST('C:\temp\batchfile.bat');
message('done');
end;
Thanks in advance
regards
sajidthis is my log file, when i run manually.
SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jul 1 23:27:53 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: file_to_upload.ctl
There are 2 data files:
Data File: sk.csv
Bad File: sk.bad
Discard File: none specified
(Allow all discards)
Data File: sk1.csv
Bad File: sk1.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table KHAN, loaded from every logical record.
Insert option in effect for this table: APPEND
Column Name Position Len Term Encl Datatype
SR FIRST * , O(") CHARACTER
DATES NEXT * , O(") CHARACTER
AGENT NEXT * , O(") CHARACTER
COUNTRY NEXT * , O(") CHARACTER
TRANSACTIONS NEXT * , O(") CHARACTER
PKR NEXT * , O(") CHARACTER
USD NEXT * , O(") CHARACTER
BANK NEXT * , O(") CHARACTER
Table KHAN:
11088 Rows successfully loaded.
0 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 132096 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 11088
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Thu Jul 01 23:27:53 2010
Run ended on Thu Jul 01 23:27:54 2010
Elapsed time was: 00:00:00.63
CPU time was: 00:00:00.17 -
Publish Job using batch File..
Hi All,
How to publish a .bqy file using batch script..? Is anybody have a sample of batch script..?? I'm using Hyperion 11.1.1.1 and I've heard that there is some difference of API between Hyperion 9 and Hyperion 11..
Thanks.
regards,
VieNi forget to say that am using Developer 10g R2 ...
another question is what should i start when using the batch file other than the
OC4J instance ..... -
How to execute batch file from JSP
hi frens !
i wanna know how to execute batch file from my JSP.i am using exec() method to get call the batch file. but its not working ....plz help
here mine code:-
File F = new File("C:/var.bat");
try{
if (F.exists())
Runtime rt = Runtime.getRuntime();
String url=F.getAbsolutePath();
Process proc = rt.exec(url);
proc.waitFor();
proc.destroy();
catch(Exception IOEx){
System.out.println(IOEx);
}Thanks and Regards
AllwynYou might improve your chances of getting help if you do two things:
1) Explain what "not working" means.
2) ChangeSystem.out.println(IOEx); to IOEx.printStackTrace(); (in the eventhat is in fact related to "not working").
Maybe you are looking for
-
Customer Creation - Want to pass custom field data to KNA1(Customer Master)
Hi, I have created BAPI for customer creation which uses standard program RFBIDE00 for customer creation. I have appended new custom field(ZZATTR1) in the table KNA1 and its currosponding stucture used in the standard program BKNA1. Import parameters
-
Hi All, I am using Oracle 10g. I created one Public database link as : i created this database link by connecting ora1. CREATE PUBLIC DATABASE LINK "ora2_1" CONNECT TO CURRENT_USER USING 'ora2'; When i run the select query i am getting error. as: i r
-
What is process name "68 Dispacth Unit" on 515e 7.22?
One of my firewalls 515e on 7.22 has a very busy process named "68 Dispacth Unit" Does anyone recognize this process name? I can't tell what it is and why it has so much more CPU time than other legitimate processes. Thanks in advance for your though
-
Speaker and headphones stop working on mac book pro?
Why does my speaker and headphones randomly stop working on my mac book pro? It wont work again until I restart my computer.
-
E4200 - constantly getting drop wireless connection
First, if you only plan on using the ports on the back for network connections, I have had no problems. My issues are all deal with the wireless connections. I am constantly getting dropped and when I called Cisco/Linksys support, I was told that I n