Home | Oracle ECM Home Page  | Oracle ECM Documentation  | Oracle ECM Downloads  | Oracle ECM Forums  | Yahoo Intradoc Users Group Feed your aggregator (RSS 2.0)  
  Oracle Fusion ECM Blog. Are you "kuh n-tent" with your "kon-tent"?
 
 
# Wednesday, September 10, 2008

Oracle announced an update for the Blogs and Wikis sample components on the quarterly call today.  It was also covered along with some additional thoughts on Bex Huff's blog here.  Bex has some nice advice that may help when trying to pick between the blog/wiki paradigms supplied by Oracle UCM versus Oracle WebCenter.  Unfortunately, many of us will not have the luxury of being able to select from both options which makes this recent update a fantastic announcement.  If WebCenter has the better UI and I can store my content in UCM that’s great if I can afford those products.

For those of us that cannot and only have UCM at our disposal the update to these components not only in functionality and UI but also from a support perspective is wonderful.

 

            
Wednesday, September 10, 2008 12:39:19 PM (Central Daylight Time, UTC-05:00)  #    Comments [0]   Oracle WCM  | 
# Monday, September 08, 2008

It’s early in the project and you create a nifty Java application to access content server.  It executes a few services and generally accomplishes some black wizardry that people “oh” and “ah” over.  Everything is going well.  You are just about to board the corporate jet for that all expense paid developer retreat in Hawaii when they call you back with a problem.

Customer xyz decided they wanted to use the active directory integration everywhere in the content server and now Nify App does not work.  WHAT COULD IT BE?  After some truly Sherlock-like investigation work you find out they have switched the Default Authentication mechanism from Basic to NTLM.  You quickly dial, “HOLD the plane, I can fix this and still make it!”

Within a minute you have your code open and spot the problem, yes, yes, of course, you will need to set a request property.  Your fingers fly across the keys pouring out something akin to these pearls of wisdom:

URL url = new URL(URL);
HttpURLConnection urlConn = (HttpURLConnection)url.openConnection();
urlConn.setRequestProperty ("Cookie", "IntradocAuth=basic");

You casually remark on the way out the door to your stunned co-worker that this enhancement will allow your code to continue connecting with Idc Security, thereby working just fine.

Reality:  While the context of this story may be a bit far-fetched the code is not.  Thanks Matt Pelham for this tidbit.

 

Monday, September 08, 2008 9:10:21 PM (Central Daylight Time, UTC-05:00)  #    Comments [0]   Oracle UCM  | 
# Wednesday, September 03, 2008
In the oracle forums today a question came up about how to add custom actions to the menus in the actions drop downs for the Content Information page (sometimes called the Doc Info page). I wanted to dive into this a little more because in 10gR3 the way the developers crafted the menus is much more extensible. It is very nice. Somebody should get a raise.
Wednesday, September 03, 2008 9:02:45 PM (Central Daylight Time, UTC-05:00)  #    Comments [0]   Oracle UCM  | 
# Thursday, August 28, 2008

There are at least two possibilities for increasing metadata field sizes. The request most often heard inquires about increasing the default memo field size (which is originally 255 characters). The second avenue is to increase the size for a single one-off metadata field.

Expanding Default Memo Field Size

We can use a configuration variable within Content Server named "MemoFieldSize" to increase the default size of new memo fields beyond the original limit of 255 characters. Keep in mind this affects memo fields that you create AFTER you add this configuration and restart content server. For fields that have already been created you will also need to go into the database and directly increase the column size for that individual metadata field within the DocMeata table.

If you operate in a database with UTF8 encoding you should keep in mind that this can affect that actual number of characters your users will be able to input. Oracle has a 4000 byte per column limit for varchar2/nvarchar2 data types. Hence, if you set the column to the 4,000 byte maximum and each character takes 3 bytes of space you get roughly 1,333 characters to work with.

So, what to do where, when and how. Log into your content server with administrative privileges and select Admin Server from the Administration menu. Click the button for the instance you will be working with and then select General Configuration from the left hand menu. Add MemoFieldSize=1024 as a new line in the variables list and click save. Restart. Similarly you could go directly to the file system and add this configuration setting to the config.cfg file. Oh, and don’t forget to get out your favorite database manipulation device and increase those columns sizes.

Expanding a Single Field

Great, right, so that’s all nice and what not but I don’t want to increase ALL my memo fields. I only want to increase the size of a single field. Well sure you do, who wouldn’t? In this case you can again use config.cfg or go through the admin server to add xMyMetadatafield:maxLength=1024 or whatever your new field size is meant to be. Again, change the table definition in the database and restart your content server.

First Note: increasing field sizes also more than likely will increase indexing and searching time. More stuff equals more time. Pretty simple, but a reminder of that fact is relevant.

Second Note: I performed these actions on a 10gR3 content server and 11g database with existing content. The field widening did NOT erase my data. Obviously if I were to restrict down the field size instead of widen the field my data would have been truncated.

Thursday, August 28, 2008 10:28:23 AM (Central Daylight Time, UTC-05:00)  #    Comments [0]   Oracle UCM  | 

I have not frequented the forums at Oracle nearly so much as I would like in the last several weeks and after reading about the update to the forums over on John's Blog I decided last night to give it a whirl.  Overall I like it a fair amount.  There are several feature enhancements that add a nice touch.

When I first tried the forums a few days ago they would not load.  And I still think they are very slow.  Overall I give this update a B+.

Thursday, August 28, 2008 8:08:04 AM (Central Daylight Time, UTC-05:00)  #    Comments [0]   Mindlessness  | 
# Wednesday, August 27, 2008

With the culmination of several new releases and some updates the planets are finally aligning for a good experience for web developers with Site Studio. Fire Fox 3 has been available for some time. As noted on John Sim's Blog, the full release of Fire Bug 1.2.0 has also been announced. And to top it all off there has been an August Roll-up Release for Site Studio. (currently available only via MetaLink as far as I know and you can find it by searching for patches for 10.1.3.3.2 servers. You will have to log in.)

Now, when running in contributor mode in Fire Fox 3 things look pretty good. Prior to this release some of the images were off and some things did not work so hot.

Wednesday, August 27, 2008 7:27:20 AM (Central Daylight Time, UTC-05:00)  #    Comments [0]   Oracle WCM  | 
# Friday, August 22, 2008

You can search the book and read the book.  Obviously no print or copy from (which makes sense), but for a quick lookup it sure is handy.

http://books.google.com/books?id=TiUzMYbpg2MC&printsec=frontcover&dq=idocscript+trace

Friday, August 22, 2008 7:39:29 PM (Central Daylight Time, UTC-05:00)  #    Comments [0]   Oracle UCM  | 
# Thursday, August 21, 2008

I am a little late on the delivery of this notice but Oracle has placed out for download several new items. First up is an updated installer for the Content Server that reads version 10.1.3.3.3 which you can get here. Or you can visit MetaLink to get patches for you 10.1.3.3.2 and older content servers to bring them up to date here.

One of the things included in this pack is the OracleTextSearch component that can be used with Oracle 11g database. It provides snippets of the search term in context of the content as well as a kind of drill down menu system that can be based on Security Group or Document Type for example. I have not played with this as much as I would like to have at this point, but it is running (thanks Anton) and I have a quick picture here. The bold search term is a bit hard to see in my image, but it is there:

Thursday, August 21, 2008 7:27:12 AM (Central Daylight Time, UTC-05:00)  #    Comments [1]   Oracle UCM  | 
# Monday, August 18, 2008
Sometimes you have a Content ID and need to find the path to the Vault file. If you are in a JSP (Java Server Page) or in a Java Class in your backend component you can use this method. 10gR3 introduces the FileStoreProvider component that is not necessarily compatible with this method. I'll try to conjure up a FileStoreProvider compatible version in the future, someday. If you already have one and want to share please drop me a note! This is not without issue I suppose but it should get you started:
Monday, August 18, 2008 8:02:36 AM (Central Daylight Time, UTC-05:00)  #    Comments [0]   Oracle UCM  | 
# Wednesday, August 13, 2008

The other day I was trying to execute a search against content server in some JSP's (Java Server Page) and I wanted to perform a multi column sort, similar to how the old Multi-Sort component used to work. The content server in question was configured for DATABASE.FULLTEXT. Turns out, this is simple to perform. When you form your URL or binder (Local Data?) you need a variable named SortSpec and it should start with "order by" and follow the basic rules of a database query.

Example:

SortSpec=order by dDocType asc, dDocName desc

Another example:

http://yourserver/instance/idcplg?<original query>&SortSpec=order%20by%20dDocType%20desc,%20dDocName%20asc
Wednesday, August 13, 2008 6:40:02 AM (Central Daylight Time, UTC-05:00)  #    Comments [0]   Oracle UCM  | 
Copyright © 2009 Jason Stortz. All rights reserved.