Monday, October 15, 2012

Tips for OFR Configuration

         Checklist for OFR not picking up Batches
  1. Check the Import Directoryof ODC (Oracle Document Capture)while Configuring File Cabinets inside Commit Driver Configuration that ODC  Import folder path is same as OFR Import Directory
  2. ODC Import Directory in File Cabinet- 
  3. Ensure that Batch Root, Image Root and Export folder is set while configuring OFR
  4. Ensure that wait time is set
  5. Ensure that Import tab is enabled and that "Use Project File" (.sdp) has the correct path set inside OFR Import tab

  6. Ensure that Import Button is Enabled in Workflow tab

  7. Ensure that the .txt file extension is matched with the Import Mask set in the IPM Server

    • Login to IPM Server 
    • Expand Manage Inputs 
    • Select Correct Input (E.g., Invoices) 
    • Navigate to Basic Information link, ensure that correct *.txt file ix uploaded to IPM Server 
    • Select Next to complete settings 
    • Ensure that Input mask and delimiter is set 
    • Ensure that the sample data is correct according to the data set in sample. txt file
  8. Ensure that .XML file Extension is same as in .ini file


    CSV_VL_01_FormatLine1=/oracle/middleware/user_projects/domains/ipm_domain/IPM/InputAgent/Input/<%TNM>|OFR|ManualEntry|204|||<%INO>|<%TOT>
    CSV_VL_01_FormatLine2=@Support|InvoiceImport|/oracle/middleware/user_projects/domains/ipm_domain/IPM/InputAgent/Input/<%TNF>.XML

Checklist for OFR Verifier not picking up Batches


  1. Open the OFR Verifier Application
  2. Select Option --> Settings

  3. Ensure the Project File (.sdp) path, Batch Root path, and Image Root path is set correctly - These settings should be the same as the settings in the OFR Runtime service



Friday, October 12, 2012

ContentiD mobile app now available!

Hey all!

Our WebCenter Content mobile app has been released to the apps store. You can get your copy here:

https://itunes.apple.com/us/artist/id567561465


Oh, yeah, it's free :)


-ryan

Tuesday, October 9, 2012

How to get the source codes of Build-In WebCenter Spaces Task Flows


The post is originally posted here.

Since WebCenter PS5, Oracle brings lots of standard task flows inside WebCenter Spaces. Some of them are already registered within the resource catalog and ready to use, most of them are also ready but you need to add them to the resource catalog first for business users to utilize. But from a developer standpoint, you may be interested in reviewing the source codes of the standard task flow shipped with Oracle WebCenter Spaces. Today I will show you how to locate the EAR or WAR file and take the advantages of build-in task flows.
After the Oracle WebCenter Spaces is installed, go to the following directory and you will find the relevant EAR and WAR files are already installed. In my case, it’s WebCenter PS5 but it’s applicable to other 11g releases.
$FMW_HOME/<WebCenter Instance Name>/webcenter/modules/oracle.webcenter.spaces_11.1.1











The one we are interested is the one at the bottom ‘oracle.webcenter.spaces.webapp.war’ file. You can ftp the file from the server to your local directory and extract it. You will find there are two subfolders in the file – “META-INF” and “WEB-INF”. If you are familiar with WebCenter/ADF development/deployment, those two folders should not be strange. The “META-INF” folder contains configuration files for applications, extensions, class loaders and services. The “WEB-INF” contains the static content that could be referenced and defined in some configuration files in META-INF folder for libraries pre-loading. So there is a folder ‘lib’ residing in WEB-INF and contains the JAR files that is pre-loaded when the server starts and they are the libraries that contains the build-in task flows. Here is the snapshot of the lib directory:











Again, it contains several JAR files that aggregate different set of resources in terms of their modules of functionalities and scope of use. We will look at the one at the bottom “spaces-web” JAR file. In this jar file, you will find all kinds of build-in task flows that are used internally in standard WebCenter Spaces resources. For example, in WebCenter Spaces, the default page template is a template called “Top Navigation”. In the template files, there are several regions being used are those task flows, which can be found here. Take the navigation region as an example, you could find the navigation task flow in this package ‘oracle.webcenter.webcenterapp.view.taskflows.navigation’. Here is the screenshot of the directory you can find about navigation task flows:
















In the same ‘spaces-web’ jar file, you could find:
  • All the templates jspx file and their page definition files
  • Standard task flows that you can access from resource catalog
  • Java Beans that manage/support the transactions for the task flows and page fragments

If you want to learn a certain functionality that how Oracle WebCenter build or just find out the source codes that behind the scene, you can find all the relevant info by this means.



Friday, October 5, 2012

Get the Message? Make WebCenter Content 11g Display Errors Like Earlier Versions Did...


One of the most irritating things in WCC 11g is the lack of a meaningful error message when something goes wrong. 

Whenever you get this wonderful message:

“The error was caused by an internally generated issue. The error has been logged.” 

This message is followed by – NOTHING!  C’mon Oracle.  How would the user ever know what may have happened?  Worse yet, if the Content Server is fronted by Apache/OHS, you may get an ugly OHS error message that looks even worse.

I wonder how many times help desk requests are filed with this message as the only “error” noted.  (Sure, “somebody” can look at the Content Server log, but is this really necessary?)

You can actually make the Content Server behave like previous versions, where the user actually got something meatier to send back to the help desk.
In config.cfg, set the following variables and restart the managed server:

EnableDoStackTraceOverride=true
DisableErrorPageStackTrace=false

These two variables put the error trace on the error page that Content Server throws back to the user.  I didn’t say all of the messages returned are useful, but at least it’s better than nothing.

To keep from getting that ugly OHS error message for a Content Server generated issue, set the following in config.cfg and restart the managed server.  This will let OHS show the actual Content Server error page, rather than the OHS handler.

HttpSevereErrorFirstLine=HTTP/1.1 400 Bad Request 

Monday, October 1, 2012

Open World: Test our Mobile app!

Hey all,

If you're at Open World this week, hunt down Steven Sommer and he'll be able to show off our new app: ContentiD!

Leave a comment here or get in touch with Steve at Steven<dot>Sommer<at>aurionProSENA.com

If you want to get notified when the app goes public, register here:
http://t.co/ItKw4Ojq

Enjoy!
-ryan