HOW TO: do external db lookups with AJAX on UCM checkin pages

Several folks have been asking how to use ajax in UCM and how to do external data source lookups.
So we posted the step by step for you on our C4 blog:
http://bit.ly/bgOfm2
The post is full of code-goodness and addresses
* Custom Components
* Custom Services
* Database Providers
* Custom Query Resources
* Custom Java Service Handlers
* MergeInclude
* Resource Includes
it assumes you are familiar with:
* basic UCM component architecture
* creating components using the Component Wizard
* creating a database provider in the UCM interface
* how to create a custom class and include it in a component.
* how to take sample code and make it your own
If you are not familiar with those things or if you want supported components that work on 10 and 11g then reach out to us directly and we will help
Warmly,
Billy Cripe
Fishbowl Solutions

Several folks have been asking how to use ajax in UCM and how to do external data source lookups.
So we posted the step by step for you on our C4 blog:
http://bit.ly/bgOfm2
The post is full of code-goodness and addresses
* Custom Components
* Custom Services
* Database Providers
* Custom Query Resources
* Custom Java Service Handlers
* MergeInclude
* Resource Includes
it assumes you are familiar with:
* basic UCM component architecture
* creating components using the Component Wizard
* creating a database provider in the UCM interface
* how to create a custom class and include it in a component.
* how to take sample code and make it your own
If you are not familiar with those things or if you want supported components that work on 10 and 11g then reach out to us directly and we will help
Warmly,
Billy Cripe
Fishbowl Solutions

Similar Messages

  • How to reject external table rows with some blank columns

    How to reject external table rows with some blank columns
    I have an external table and I would like to reject rows when a number of fields are empty. Here are the details.
    CREATE TABLE EXTTAB (
    ID NUMBER(10),
    TSTAMP DATE,
    C1 NUMBER(5,0),
    C2 DATE,
    C3 FLOAT(126)
    ORGANIZATION EXTERNAL (
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY EXT_DAT_DIR
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY NEWLINE
    LOAD WHEN (NOT (c1 = BLANKS AND c2 = BLANKS AND c3 = BLANKS))
    LOGFILE EXT_LOG_DIR:'exttab.log'
    BADFILE EXT_BAD_DIR:'exttab.bad'
    DISCARDFILE EXT_BAD_DIR:'exttab.dsc'
    FIELDS TERMINATED BY "|"
    LRTRIM
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL
    FIELDS (
    ID,
    TSTAMP DATE 'YYYYMMDDHH24MISS',
    C1,
    C2 DATE 'YYYYMMDDHH24MISS',
    C3
    ) LOCATION ('dummy.dat')
    REJECT LIMIT UNLIMITED
    So, as you can see from the LOAD WHEN clause, I'd like to reject rows when C1, C2 and C3 are empty.
    The above statement works fine and creates the table. However when I am trying to load data using it, the following error is produced:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "not": expecting one of: "double-quoted-string, identifier, (, number, single-quoted-string"
    KUP-01007: at line 1 column 41
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    It seems that external tables driver does not understand the "NOT (...)" condition. Could anyone suggest how I can achieve what I want in a different way?
    Thank you.
    Denis

    Another method would be to simply remove the "LOAD WHEN condition" and create a view on the external table which filters the data.
    CREATE EXTTAB_VIEW AS
    SELECT * FROM EXTTAB
    WHERE not (c1 is null and c2 is null and c3 is null);

  • How can I use mail merge with numbers in the new pages version?

    I am trying to use mail merge with the new version of pages and can not seem to be able to figure it out. PLEASE HELP!!!

    Nope. Version 5 is a fashion accessory: it looks like software, but it doesn;t actually do anything. Sort of like a sports car with a lawn-mower engine. Looks snzzy. Doesn't really work. (And given how buggy it is, I should further specifiy that the lawn-mower engine comes with a blade: it chews up your old templates, produces files that cannot be sent as email attahcments [yes, really], and—this just in—doesn;t play well with the new SMB facility of Mavericks. In short, as one reviewer put it, "un unmitigated disaster."

  • How to merge external RAW-files with iPhoto library?

    Hi,
    I have several (Aperture-) modified photos in iPhoto. When I click on any one of those photos in iPhoto (9.5.1) and then click on File -> Reveal in Finder -> Modified File – it reveals the location of a jpg-file inside my iPhoto Library. So far, so good.
    However, when I choose File -> Reveal in Finder -> Original File it takes me to an external folder (located in my Home Picture library) and reveals the original RAW-file. I don't know why they are in a folder outside the iPhoto library but I suppose it has something to do with me editing them outside of iPhoto. And this is not a library but just a regular folder containing RAW-files.
    How can I merge all my RAW-files so that they are, neat and tidy, all inside my iPhoto library?

    I am glad you found the answer useful
    What probably happened, was that you imported your original files as referenced. This feature is not recommended in iPhoto, since iPhoto does not support it well - or not at all. I did not want to point that out in the iPhoto forum. In Aperture it is very useful, however, if your library is so large, that it will not fit on one drive. Then you can store the originals on a different drive. Aperture handles referenced images very well.
    For some background reading you may want to have a look at this manual page, just in case you may want to use this feature one day:
    Aperture 3 User Manual: Working with Referenced Images
    -- Léonie

  • How to do external media linkage with ac3 ?

    HI  ALL
    Because I'm not familiar with coding , so some easy problems I don't know about action script on implementing the external media by ac3.
    My question is :
    How to let my flash(finally make it to swf file) have a button, then when user click this button, the action scripts  on this button will do connection with a media file such like mpeg ,mp4, or others with correct path (ex: c:/mydocuments/medisLIB/samples.....) and play it successfully ?
    Is it different on making it for flash player and flash lite ? How does flash decode external media files ?
    If someone know it , please give me some advice or what's the source page or  tutorial site I could  reference , thanks a lot ! ~
    Winster99
    B.R.
    2009-04-21  from Taiwan

    Hi , Kglad
    Thanks for your answer, and I got some directions. But not only play sounds also video.
    I have got a success on creating a  new (mobile device ) file and added  vidoe display object ( named:myVideo )  to play external  *.3gp and mp4 videos.
    The script I wrote as following :
    Play_Button :
    on(press) {
    myVideo.play("DisneyLand.flv") ;
    Stop_Button :
    on(press) {
    myVideo.stop ;
    I can ran and play this swf on Adobe device Central simulator, but worked on my machine( already embeded with appropriate flash lite) got fail.
    I suggested the flash lite not support Video.play() and Video.stop() method. Is there any other ways to play my video ?
    Thanks a lot .
    Winster
    2009-04-22

  • How to apply external CSS file with MyFaces Trinidad?

    In my original JSF page, I used to have
    <head>
        <link href="css/app.css" rel="stylesheet" type="text/css" />
    </head>However, after I switched to MyFaces Trinidad and used <tr:document> tag, the external stylesheet could not be applied.
    <tr:document inlineStyle="css/app.css">I wonder the external stylesheet is not applied in this way with the inlineStyle attribute. So what is the correct way of applying an external stylesheet for the whole page? Thanks.

    ...and which kind of files can be included under
    resources: [] ??
    I have a .json file that I need to be included in a template (and also included in projects created from that template).
    The only way I found to do this is to add it as a script. The problem then is that all included "scripts" will be evaluated when the page is loaded, which will fail since it's a json file. External dependencies makes it impossible for me to change the format of the json file...

  • How to drop external table together with the linked file

    Hi,
    I am running 10g and using the external table feature to move data between two databases. Now the procedure I am using has to make sure, that on the target db the external tables created on the previous run are not existing.
    As far I know the statement
    DROP TABLE <EXTERNAL TABLE NAME>; does not remove the file.
    How to achieve the goal?
    Thanks!

    Can you use the UTL_FILE.FRemove function to delete the underlying file? That seems like the simplest solution. Assuming, of course, that you have the appropriate privileges to do so.
    Justin
    Of course, I'd generally question why you're using external tables and flat files to move data between databases rather than database links, but I assume you have valid reasons for that...
    Message was edited by:
    Justin Cave

  • How to use External DVM Lookup files in BPEL

    Hi,,
    I am using DVM in transformation.
    I want to keep DVM files outside the project directory and use it in my transformation.
    like
    <xsl:value-of select='dvm:lookupValue("file:/C:/dvm/CheckLOV.dvm","CSID",/client:process/client:input,"CSName","1")'/>
    I want to keep DVM file outside project so that I don't need to redeploy whenever there is changes in DVM file.
    But i am getting run time error.
    <bpelFault>
    <faultType>0</faultType>
    <subLanguageExecutionFault>
    <part name="summary">
    <summary>An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload).</summary>
    </part>
    <part name="detail">
    <detail>XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/AbhiPartition/TestLov_rev1.0/xsl/Transformation_1.xsl<Line 6, Column 171>: XML-22044: (Error) Extension function error: Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMValidationException: Unable to locate DVM "file:/C:/dvm/CheckLOV.dvm" The Exception is "MDS-01160: Expecting absolute document reference. Reference ":/dvm/CheckLOV.dvm" is a relative reference to the document." Please ensure the DVM exists at the location specified.'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </detail>
    </part>
    <part name="code">
    <code>XPath expression failed to execute</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>
    Can someone solve this issue.
    Thanks.....

    Hi Yatan,
    I tried using "file:///dvm/CheckLOV.dvm"
    <xsl:value-of select='dvm:lookupValue("file:///dvm/CheckLOV.dvm","CSID",/client:process/client:input,"CSName","1")'/>
    In this case i am getting these errors--
    <bpelFault>
    <faultType>0</faultType>
    <subLanguageExecutionFault>
    <part name="summary">
    <summary>An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload).</summary>
    </part>
    <part name="detail">
    <detail>XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/AbhiPartition/TestLov_rev1.0/xsl/Transformation_1.xsl<Line 6, Column 170>: XML-22044: (Error) Extension function error: Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMValidationException: Unable to locate DVM "file:/dvm/CheckLOV.dvm" The Exception is "MDS-01160: Expecting absolute document reference. Reference "vm/CheckLOV.dvm" is a relative reference to the document." Please ensure the DVM exists at the location specified.'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </detail>
    </part>
    <part name="code">
    <code>XPath expression failed to execute</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>
    I got one doubt while using file:///dvm/CheckLOV.dvm".
    How server will know that we are refering to C drive...
    Because there can be many othe drives also.
    In which drive it will try to locate "CheckLOV.dvm" file,since it is not present with Project directories.
    Abhishek

  • How to use external .tld files with uix

    Hey,
    I have a set of custom .tld files and that i was to use in my UIX pages. I got them to work correctly if I am using jsp files but for some reason it doesn't recognize the tags when they are in uix pages
    I far as I can tell, UIX actually requires xml schema definition of the tags and the just the .tld file is not sufficient.
    My question is, is this the correct conclusion?
    if so is there a easy way to either convert my tld file or create this xml schema file so that my tags will be visible to uix.
    or am I totally off the mark here...

    there is one utility in j2se jar and check the option also
    put that jar file in lib folder of yr application folder
    [email protected]

  • How to adjust margins to print with Adobe Acrobat pdf web page?

    when I print to PDF with Acrobat or with the printer margins and the information in the top and bottom defaults (URL, page number ...) do not satisfy me. the possibility exists of being able to reset? How? do you have any suggestions?

    I would define how to position Title, URL, number of page and date also margin left, right, top and bottom. This element in other browser Mozzilla, Explorer is defined in "Page Preview".
    Acrobat don't have possibility to set this parameter..

  • How do I move a table with radio buttons to another page?

    I created a document in Word, converted to PDF, added a page (which was created in Adobe Forms Central, only way to get a table with radio buttons - see below for example).
    The issue I have is whilst using the Trial of Adobe XI Pro I was able to move this table up a page and place it under the header.  Now that the trial has run out I cannot complete this task with other documents.
    I started to edit using LiveCycle but it won't let me move the table.
    We have Acrobat X Pro but when I go to edit, it directs me to edit in LiveCycle.  I have tried moving the table using all of these programs.  Can anyone help/guide please? 

    Thank you for your reply.  I am new to editing a pdf and using these programs. I have subscribed to Acrobat XI Pro.  When I try to edit the document it directs me to LiveCycle.  I cannot move the table in LiveCycle.  It won't let me, and I cannot make changes in XI Pro as I did in the trial as it directs me to edit in LiveCycle.  Am going in circles.

  • How to display the variable screen with report in the same page together

    our customers want to design a web application use BEx
    they want the variable screen can be displayed with the report result in the same web page together
    so they can modify the variable filters any time and refresh the report with new variable filter
    i have tried the navigation area,but it seems only use new filter to the data athough get,we can't change the filter we input in the variable screen.
    is there any way to display these together?
    even I can use BSP.

    I think to display var screen with the report is not possible.(At least it will not be static). You need to refresh the report and choose the varibale at that time.
    Other option could be to bring all the possible value in the report and provide your user with the filter value. But this will make your report slow as you may have to bring more data in the filter.
    Thanks...
    Shambhu

  • How to print the swing frame with muliple panel into 2 pages

    Hi all,
    I want your help, I have one problem in printing swing component. I can print the swing component from the screen.
    my problem is in my page have textboxes, and jtable. jtable display data from the database, i want to proceed the jtable to next page until the last row printed and visible . after that i want to print the text component and other component can anybody help me please.

    hello everyone i'm new to this forum..how are you all...
    Jack Brosnan
    [mobile phone|http://www.mobilephonesforsale.net.au/apple-iphone-f-2.html]

  • I made a bootable disc on an external hard drive, with Yosemite on it.  I am running Snow Leopard on my iMac.  How can I open the Yosemite disc from the desktop on my iMac?  Does the external hard drive need to be connected to my iMac by firewire to

    I made a bootable disc on an external hard drive, with Yosemite on it.  I am running Snow Leopard on my iMac.  How can I open the Yosemite disc from the desktop on my iMac?  Does the external hard drive need to be connected to my iMac by firewire to do that?

    kahjot wrote:
    Snow Leopard's Startup Disk pref can’t see Yosemite volumes. So the only way to switch from Snow Leopard to Yosemite is to do what Niel mentioned. Doesn't matter whether it's connected by USB or Firewire, although performance via FW would be faster.
    Are you saying that Yos/10.10, as a volume located in a mounted external drive won't appear as an option in Snow Leopard's Startup Disc, in Sys Prefs? I've never heard this one before. AFAIK any mounted volume, regardless of OS, should appear there. I would think that, if it appears in the Boot Picker/Startup Manager it would also appear and could be booted to from Snow's Startup Disk. I can't test this myself, since I don't have Yos. Is what you are saying documented somewhere?

  • My laptop died so I've installed itunes onto another PC and my music is all on an external hardive which is connected to the new PC. How can I sync my ipod with the new itunes and get all the music onto itunes?

    My laptop died so I've installed itunes onto another PC and my music is all on an external hardive which is connected to the new PC. How can I sync my ipod with the new itunes and get all the music onto itunes?

    You might consider itunes match for moving CDs you've copied into your itunes library if you dont have a way to use home sharing.
    iTunes match is an optional service offered by apple that costs about $25 a year.  It scans your music library and if it finds music that is already in apple's itunes catalog it'll automatically "unlock"/"store" these in the cloud for you.  Items that it does not find in the catalog it'll upload and store these in the cloud for you and you can download them on your devices.  See http://www.apple.com/itunes/itunes-match/

Maybe you are looking for